mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-01 10:13:29 +00:00
btstack_defines: complete HCI_EVENT_FLUSH_OCCURRED
This commit is contained in:
parent
b96d60a610
commit
f9b19c4c3e
@ -377,6 +377,10 @@ typedef uint8_t sm_key_t[16];
|
||||
*/
|
||||
#define HCI_EVENT_HARDWARE_ERROR 0x10u
|
||||
|
||||
/**
|
||||
* @format 1H
|
||||
* @param handle
|
||||
*/
|
||||
#define HCI_EVENT_FLUSH_OCCURRED 0x11u
|
||||
|
||||
/**
|
||||
|
@ -598,6 +598,16 @@ static inline uint8_t hci_event_hardware_error_get_hardware_code(const uint8_t *
|
||||
return event[2];
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get field handle from event HCI_EVENT_FLUSH_OCCURRED
|
||||
* @param event packet
|
||||
* @return handle
|
||||
* @note: btstack_type 1
|
||||
*/
|
||||
static inline uint8_t hci_event_flush_occurred_get_handle(const uint8_t * event){
|
||||
return event[2];
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get field status from event HCI_EVENT_ROLE_CHANGE
|
||||
* @param event packet
|
||||
|
Loading…
x
Reference in New Issue
Block a user