mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-31 18:33:00 +00:00
btstack_defines: add GATTSERVICE_SUBEVENT_PACS_DISCONNECTED
This commit is contained in:
parent
f172c4b2ae
commit
c27049fbd9
@ -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
|
||||
|
||||
/**
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user