mirror of
https://github.com/linux-msm/qmic.git
synced 2026-02-25 13:11:34 -08:00
31 lines
452 B
Plaintext
31 lines
452 B
Plaintext
|
|
package test;
|
||
|
|
|
||
|
|
const TEST_REQUEST_RESPONSE = 35;
|
||
|
|
const TEST_INDICATION = 07;
|
||
|
|
|
||
|
|
struct qmi_result {
|
||
|
|
u16 result;
|
||
|
|
u16 error;
|
||
|
|
};
|
||
|
|
|
||
|
|
struct test_struct {
|
||
|
|
u8 test_u8;
|
||
|
|
u8 test_u8;
|
||
|
|
u16 test_u16;
|
||
|
|
u32 test_u32;
|
||
|
|
u64 test_u64;
|
||
|
|
};
|
||
|
|
|
||
|
|
request test_request {
|
||
|
|
optional test_struct foo = 0x1;
|
||
|
|
required u8 test_number = 0x12;
|
||
|
|
} = 0x23;
|
||
|
|
|
||
|
|
response test_response {
|
||
|
|
required qmi_result r = 2;
|
||
|
|
} = 043;
|
||
|
|
|
||
|
|
indication test_indication {
|
||
|
|
optional u64 value = 0x99;
|
||
|
|
} = 0x7;
|