btstack_defines: add GATTSERVICE_SUBEVENT_PACS_DISCONNECTED

This commit is contained in:
Milanka Ringwald 2022-09-27 11:45:38 +02:00 committed by Matthias Ringwald
parent f172c4b2ae
commit c27049fbd9
2 changed files with 17 additions and 0 deletions

View File

@ -4513,6 +4513,13 @@ typedef uint8_t sm_key_t[16];
*/
#define GATTSERVICE_SUBEVENT_ASCS_CODEC_CONFIGURATION 0x59u
/**
* @format 12
* @param subevent_code
* @param pacs_cid
*/
#define GATTSERVICE_SUBEVENT_PACS_DISCONNECTED 0x5Au
// MAP Meta Event Group
/**

View File

@ -14778,6 +14778,16 @@ static inline uint8_t gattservice_subevent_ascs_codec_configuration_get_frame_bl
return event[37];
}
/**
* @brief Get field pacs_cid from event GATTSERVICE_SUBEVENT_PACS_DISCONNECTED
* @param event packet
* @return pacs_cid
* @note: btstack_type 2
*/
static inline uint16_t gattservice_subevent_pacs_disconnected_get_pacs_cid(const uint8_t * event){
return little_endian_read_16(event, 3);
}
/**
* @brief Get field map_cid from event MAP_SUBEVENT_CONNECTION_OPENED
* @param event packet