btstack_event: update AICS Server event names

This commit is contained in:
Milanka Ringwald 2023-01-27 10:08:04 +01:00 committed by Matthias Ringwald
parent 1a5802cf2e
commit b070e5805e
2 changed files with 44 additions and 0 deletions

View File

@ -4538,6 +4538,21 @@ typedef uint8_t sm_key_t[16];
*/
#define GATTSERVICE_SUBEVENT_AICS_SERVER_DISCONNECTED 0x69u
/**
* @format 1H1
* @param subevent_code
* @param con_handle
* @param status
*/
#define GATTSERVICE_SUBEVENT_AICS_SERVER_CONNECTED 0x68u
/**
* @format 1H
* @param subevent_code
* @param con_handle
*/
#define GATTSERVICE_SUBEVENT_AICS_SERVER_DISCONNECTED 0x69u
// MAP Meta Event Group
/**

View File

@ -14852,6 +14852,35 @@ static inline hci_con_handle_t gattservice_subevent_aics_server_disconnected_get
return little_endian_read_16(event, 3);
}
/**
* @brief Get field con_handle from event GATTSERVICE_SUBEVENT_AICS_SERVER_CONNECTED
* @param event packet
* @return con_handle
* @note: btstack_type H
*/
static inline hci_con_handle_t gattservice_subevent_aics_server_connected_get_con_handle(const uint8_t * event){
return little_endian_read_16(event, 3);
}
/**
* @brief Get field status from event GATTSERVICE_SUBEVENT_AICS_SERVER_CONNECTED
* @param event packet
* @return status
* @note: btstack_type 1
*/
static inline uint8_t gattservice_subevent_aics_server_connected_get_status(const uint8_t * event){
return event[5];
}
/**
* @brief Get field con_handle from event GATTSERVICE_SUBEVENT_AICS_SERVER_DISCONNECTED
* @param event packet
* @return con_handle
* @note: btstack_type H
*/
static inline hci_con_handle_t gattservice_subevent_aics_server_disconnected_get_con_handle(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