mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-04 15:39:59 +00:00
mesh: add mesh event for message sent
This commit is contained in:
parent
d935ec8147
commit
1d2d76de00
@ -2484,4 +2484,11 @@ typedef uint8_t sm_key_t[16];
|
||||
*/
|
||||
#define MESH_PROXY_DISCONNECTED 0x22
|
||||
|
||||
/**
|
||||
* @format 1H
|
||||
* @param subevent_code
|
||||
* @param con_handle
|
||||
*/
|
||||
#define MESH_SUBEVENT_MESSAGE_SENT 0x23
|
||||
|
||||
#endif
|
||||
|
@ -7543,6 +7543,16 @@ static inline uint16_t map_subevent_parsing_done_get_map_cid(const uint8_t * eve
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief Get field con_handle from event MESH_SUBEVENT_MESSAGE_SENT
|
||||
* @param event packet
|
||||
* @return con_handle
|
||||
* @note: btstack_type H
|
||||
*/
|
||||
static inline hci_con_handle_t mesh_subevent_message_sent_get_con_handle(const uint8_t * event){
|
||||
return little_endian_read_16(event, 3);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* API_END */
|
||||
|
Loading…
x
Reference in New Issue
Block a user