package test; # Request identifiers const TEST_REQUEST_RESPONSE = 35; const TEST_INDICATION = 37; # Message field identifiers const QMI_RESULT = 2; struct qmi_result { u16 result; u16 error; }; request test_request { required u8 test_number = 0x12; } = TEST_REQUEST_RESPONSE; # Value 35 gets substitued response test_response { # Value 2 gets substitued for QMI_RESULT required qmi_result r = QMI_RESULT; } = TEST_REQUEST_RESPONSE; indication test_indication { optional u64 value = 0x99; } = TEST_INDICATION; # Value 37 gets substitued