Skip to content

Commit

Permalink
nimble/iso: Fix missing events in LE event mask
Browse files Browse the repository at this point in the history
This fixes missing events:
* LE Create BIG Complete event
* LE Terminate BIG Complete event
in LE event mask.
  • Loading branch information
MariuszSkamra committed Feb 26, 2024
1 parent 14b367a commit bb93cc5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions nimble/host/src/ble_hs_startup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bb93cc5

Please sign in to comment.