mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-30 15:32:41 +00:00
hci: provide hci_is_le_connection_type
This commit is contained in:
parent
e6d334abdc
commit
8e97a820aa
@ -604,7 +604,7 @@ void gap_link_key_iterator_done(btstack_link_key_iterator_t * it){
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static bool hci_is_le_connection_type(bd_addr_type_t address_type){
|
bool hci_is_le_connection_type(bd_addr_type_t address_type){
|
||||||
switch (address_type){
|
switch (address_type){
|
||||||
case BD_ADDR_TYPE_LE_PUBLIC:
|
case BD_ADDR_TYPE_LE_PUBLIC:
|
||||||
case BD_ADDR_TYPE_LE_RANDOM:
|
case BD_ADDR_TYPE_LE_RANDOM:
|
||||||
|
@ -1562,6 +1562,12 @@ bool hci_classic_supported(void);
|
|||||||
*/
|
*/
|
||||||
bool hci_le_supported(void);
|
bool hci_le_supported(void);
|
||||||
|
|
||||||
|
/** @brief Check if address type corresponds to LE connection
|
||||||
|
* @bparam address_type
|
||||||
|
* @erturn true if LE connection
|
||||||
|
*/
|
||||||
|
bool hci_is_le_connection_type(bd_addr_type_t address_type);
|
||||||
|
|
||||||
/* API_END */
|
/* API_END */
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user