mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-30 06:32:43 +00:00
btstack_defines: fix BTSTACK_EVENT_SCAN_MODE_CHANGED
This commit is contained in:
parent
71fd255d61
commit
4321a5df56
@ -1002,7 +1002,7 @@ typedef uint8_t sm_key_t[16];
|
||||
#define BTSTACK_EVENT_POWERON_FAILED 0x62u
|
||||
|
||||
/**
|
||||
* @format 1
|
||||
* @format 11
|
||||
* @param discoverable
|
||||
* @param connectable
|
||||
*/
|
||||
|
@ -1467,6 +1467,15 @@ static inline uint8_t btstack_event_nr_connections_changed_get_number_connection
|
||||
static inline uint8_t btstack_event_scan_mode_changed_get_discoverable(const uint8_t * event){
|
||||
return event[2];
|
||||
}
|
||||
/**
|
||||
* @brief Get field connectable from event BTSTACK_EVENT_SCAN_MODE_CHANGED
|
||||
* @param event packet
|
||||
* @return connectable
|
||||
* @note: btstack_type 1
|
||||
*/
|
||||
static inline uint8_t btstack_event_scan_mode_changed_get_connectable(const uint8_t * event){
|
||||
return event[3];
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get field active from event HCI_EVENT_TRANSPORT_SLEEP_MODE
|
||||
|
Loading…
x
Reference in New Issue
Block a user