mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-07-29 22:27:52 +00:00
nimble/iso: Fix missing events in LE event mask
This fixes missing events: * LE Create BIG Complete event * LE Terminate BIG Complete event in LE event mask.
This commit is contained in:
committed by
Łukasz Rymanowski
parent
faaa8e821a
commit
41af6edec8
@@ -292,6 +292,17 @@ ble_hs_startup_le_set_evmask_tx(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if MYNEWT_VAL(BLE_ISO_BROADCAST_SOURCE)
|
||||
if (version >= BLE_HCI_VER_BCS_5_2) {
|
||||
/**
|
||||
* Enable the following LE events:
|
||||
* 0x0000000004000000 LE Create BIG Complete event
|
||||
* 0x0000000008000000 LE Terminate BIG Complete event
|
||||
*/
|
||||
mask |= 0x000000000C000000;
|
||||
}
|
||||
#endif
|
||||
|
||||
cmd.event_mask = htole64(mask);
|
||||
|
||||
rc = ble_hs_hci_cmd_tx(BLE_HCI_OP(BLE_HCI_OGF_LE,
|
||||
|
||||
Reference in New Issue
Block a user