mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-17 02:42:33 +00:00
hci: enable le enhanced connection complete event
This commit is contained in:
parent
e4def79770
commit
920a6ac515
@ -2273,9 +2273,9 @@ static void hci_initializing_run(void){
|
||||
if (hci_le_supported()){
|
||||
hci_stack->substate = HCI_INIT_W4_LE_SET_EVENT_MASK;
|
||||
#ifdef ENABLE_LE_ENHANCED_CONNECTION_COMPLETE_EVENT
|
||||
hci_send_cmd(&hci_le_set_event_mask, 0xffffffff, 0x07); // all events from core v5.3
|
||||
hci_send_cmd(&hci_le_set_event_mask, 0xffffffff, 0x0107); // all events from core v5.3
|
||||
#else
|
||||
hci_send_cmd(&hci_le_set_event_mask, 0xfffffdff, 0x07); // all events from core v5.3 without LE Enhanced Connection Complete
|
||||
hci_send_cmd(&hci_le_set_event_mask, 0xfffffdff, 0x0007); // all events from core v5.3 without LE Enhanced Connection Complete
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user