mirror of
https://github.com/linux-msm/qmic.git
synced 2024-11-23 09:44:06 +08:00
72d1687658
Check each constant as it is recognized to ensure its name does not duplicate an already-defined constant. Check each message member as it is recognized to ensure its name does not duplicate an already-defined member. Also check its id value to ensure the same value isn't used more than once. Check each struct member as it is recognized to ensure its name does not duplicate an already-defined member. Signed-off-by: Alex Elder <elder@linaro.org> Message-Id: <20211001232338.769309-27-elder@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
23 lines
356 B
Plaintext
23 lines
356 B
Plaintext
package test;
|
|
|
|
const TEST_REQUEST_RESPONSE = 35;
|
|
const TEST_INDICATION = 07;
|
|
|
|
struct qmi_result {
|
|
u16 result;
|
|
u16 error;
|
|
};
|
|
|
|
request test_request {
|
|
required u8 test_number = 0x1;
|
|
optional u16 test_number2 = 0x1;
|
|
} = 0x23;
|
|
|
|
response test_response {
|
|
required qmi_result r = 2;
|
|
} = 043;
|
|
|
|
indication test_indication {
|
|
optional u64 value = 0x99;
|
|
} = 0x7;
|