12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- typedef enum {
- NAN_MSG_ID_ERROR_RSP = 0,
- NAN_MSG_ID_CONFIGURATION_REQ = 1,
- NAN_MSG_ID_CONFIGURATION_RSP = 2,
- NAN_MSG_ID_PUBLISH_SERVICE_REQ = 3,
- NAN_MSG_ID_PUBLISH_SERVICE_RSP = 4,
- NAN_MSG_ID_PUBLISH_SERVICE_CANCEL_REQ = 5,
- NAN_MSG_ID_PUBLISH_SERVICE_CANCEL_RSP = 6,
- NAN_MSG_ID_PUBLISH_REPLIED_IND = 7,
- NAN_MSG_ID_PUBLISH_TERMINATED_IND = 8,
- NAN_MSG_ID_SUBSCRIBE_SERVICE_REQ = 9,
- NAN_MSG_ID_SUBSCRIBE_SERVICE_RSP = 10,
- NAN_MSG_ID_SUBSCRIBE_SERVICE_CANCEL_REQ = 11,
- NAN_MSG_ID_SUBSCRIBE_SERVICE_CANCEL_RSP = 12,
- NAN_MSG_ID_MATCH_IND = 13,
- NAN_MSG_ID_UNMATCH_IND = 14,
- NAN_MSG_ID_SUBSCRIBE_TERMINATED_IND = 15,
- NAN_MSG_ID_DE_EVENT_IND = 16,
- NAN_MSG_ID_TRANSMIT_FOLLOWUP_REQ = 17,
- NAN_MSG_ID_TRANSMIT_FOLLOWUP_RSP = 18,
- NAN_MSG_ID_FOLLOWUP_IND = 19,
- NAN_MSG_ID_STATS_REQ = 20,
- NAN_MSG_ID_STATS_RSP = 21,
- NAN_MSG_ID_ENABLE_REQ = 22,
- NAN_MSG_ID_ENABLE_RSP = 23,
- NAN_MSG_ID_DISABLE_REQ = 24,
- NAN_MSG_ID_DISABLE_RSP = 25,
- NAN_MSG_ID_DISABLE_IND = 26,
- NAN_MSG_ID_TCA_REQ = 27,
- NAN_MSG_ID_TCA_RSP = 28,
- NAN_MSG_ID_TCA_IND = 29,
- NAN_MSG_ID_BEACON_SDF_REQ = 30,
- NAN_MSG_ID_BEACON_SDF_RSP = 31,
- NAN_MSG_ID_BEACON_SDF_IND = 32,
- NAN_MSG_ID_CAPABILITIES_REQ = 33,
- NAN_MSG_ID_CAPABILITIES_RSP = 34,
- NAN_MSG_ID_SELF_TRANSMIT_FOLLOWUP_IND = 35,
- NAN_MSG_ID_RANGING_REQUEST_IND = 36,
- NAN_MSG_ID_RANGING_RESULT_IND = 37,
-
- NAN_MSG_ID_TESTMODE_REQ = 1025,
- } nan_msg_id_t;
- typedef PACKED_PRE struct PACKED_POST {
- A_UINT16 msg_version:4;
- A_UINT16 msg_id:12;
- A_UINT16 msg_len;
- A_UINT16 handle;
- A_UINT16 transaction_id;
- } nan_msg_header_t, *nan_msg_header_tp;
|