The stack will no longer implicitly set the data path for ISO channel, and the responsibility for doing that is now for the upper layers/applications. This provides additional flexibility for the higher layers as they can better control the values and timing of the data path, as well as support removing and even reconfiguring the data path at will. This also removes some complexity from the stack. This commit also fixed a inconsistency in the disconnected handler. CIS for centrals as well as BIS were still valid bt_iso_chan channels in the disconnected callback, but CIS for peripherals were completely cleaned up at this point. This issue is fixed by moving the disconnected callback handling to before the code to cleanup the channel for peripherals. Since there is a difference in how you remove data paths depending on the GAP role (central/peripheral), the iso_info struct type has been expanded to be more concise of which type of CIS it is. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| src | ||
| CMakeLists.txt | ||
| Kconfig | ||
| overlay-bt_ll_sw_split.conf | ||
| prj.conf | ||
| README.rst | ||
| sample.yaml | ||
.. zephyr:code-sample:: bluetooth_isochronous_receiver :name: Synchronized Receiver :relevant-api: bt_iso bluetooth Use Bluetooth LE Synchronized Receiver functionality. Overview ******** A simple application demonstrating the Bluetooth Low Energy Synchronized Receiver functionality. Requirements ************ * BlueZ running on the host, or * A board with Bluetooth Low Energy 5.2 support * A Bluetooth Controller and board that supports setting CONFIG_BT_CTLR_SYNC_ISO=y Building and Running ******************** This sample can be found under :zephyr_file:`samples/bluetooth/iso_receive` in the Zephyr tree. Use ``-DEXTRA_CONF_FILE=overlay-bt_ll_sw_split.conf`` to enable required ISO feature support in Zephyr Bluetooth Controller on supported boards. Use the sample found under :zephyr_file:`samples/bluetooth/iso_broadcast` on another board that will start periodic advertising, create BIG to which this sample will establish periodic advertising synchronization and synchronize to the Broadcast Isochronous Stream. See :zephyr:code-sample-category:`bluetooth` samples for details.