diff --git a/samples/bluetooth/unicast_audio_client/README.rst b/samples/bluetooth/unicast_audio_client/README.rst index b9acf06d023..dc3b336d9a3 100644 --- a/samples/bluetooth/unicast_audio_client/README.rst +++ b/samples/bluetooth/unicast_audio_client/README.rst @@ -20,5 +20,7 @@ Building and Running ******************** This sample can be found under :zephyr_file:`samples/bluetooth/unicast_audio_client` 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. See :ref:`bluetooth samples section ` for details. diff --git a/samples/bluetooth/unicast_audio_client/overlay-bt_ll_sw_split.conf b/samples/bluetooth/unicast_audio_client/overlay-bt_ll_sw_split.conf new file mode 100644 index 00000000000..cecb923bd35 --- /dev/null +++ b/samples/bluetooth/unicast_audio_client/overlay-bt_ll_sw_split.conf @@ -0,0 +1,8 @@ +CONFIG_BT_LL_SW_SPLIT=y +CONFIG_BT_CTLR_SCAN_DATA_LEN_MAX=1650 +CONFIG_BT_CTLR_ISO_TX_BUFFERS=4 +CONFIG_BT_CTLR_ISO_TX_BUFFER_SIZE=155 +CONFIG_BT_CTLR_ISOAL_SOURCES=2 +CONFIG_BT_CTLR_ISOAL_SINKS=1 +CONFIG_BT_CTLR_ADVANCED_FEATURES=y +CONFIG_BT_CTLR_CONN_ISO_LOW_LATENCY_POLICY=y diff --git a/samples/bluetooth/unicast_audio_client/sample.yaml b/samples/bluetooth/unicast_audio_client/sample.yaml index 1e9998c9770..9ca15182f52 100644 --- a/samples/bluetooth/unicast_audio_client/sample.yaml +++ b/samples/bluetooth/unicast_audio_client/sample.yaml @@ -10,3 +10,14 @@ tests: tags: bluetooth integration_platforms: - qemu_cortex_m3 + sample.bluetooth.audio_unicast_client.bt_ll_sw_split: + harness: bluetooth + platform_allow: + - qemu_cortex_m3 + - qemu_x86 + - nrf52_bsim + - nrf52dk_nrf52832 + integration_platforms: + - nrf52dk_nrf52832 + extra_args: OVERLAY_CONFIG=overlay-bt_ll_sw_split.conf + tags: bluetooth diff --git a/samples/bluetooth/unicast_audio_server/README.rst b/samples/bluetooth/unicast_audio_server/README.rst index a94dc05f0ce..ce7151e5fb7 100644 --- a/samples/bluetooth/unicast_audio_server/README.rst +++ b/samples/bluetooth/unicast_audio_server/README.rst @@ -19,5 +19,7 @@ Building and Running ******************** This sample can be found under :zephyr_file:`samples/bluetooth/unicast_audio_server` 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. See :ref:`bluetooth samples section ` for details. diff --git a/samples/bluetooth/unicast_audio_server/overlay-bt_ll_sw_split.conf b/samples/bluetooth/unicast_audio_server/overlay-bt_ll_sw_split.conf new file mode 100644 index 00000000000..a6b48df9c79 --- /dev/null +++ b/samples/bluetooth/unicast_audio_server/overlay-bt_ll_sw_split.conf @@ -0,0 +1,6 @@ +CONFIG_BT_LL_SW_SPLIT=y +CONFIG_BT_CTLR_ADV_DATA_LEN_MAX=191 +CONFIG_BT_CTLR_ISO_TX_BUFFERS=2 +CONFIG_BT_CTLR_ISO_TX_BUFFER_SIZE=155 +CONFIG_BT_CTLR_ISOAL_SOURCES=1 +CONFIG_BT_CTLR_ISOAL_SINKS=2 diff --git a/samples/bluetooth/unicast_audio_server/prj.conf b/samples/bluetooth/unicast_audio_server/prj.conf index 37a0a5f4c6a..3aec74ddbcc 100644 --- a/samples/bluetooth/unicast_audio_server/prj.conf +++ b/samples/bluetooth/unicast_audio_server/prj.conf @@ -5,6 +5,7 @@ CONFIG_BT_AUDIO=y CONFIG_BT_BAP_UNICAST_SERVER=y CONFIG_BT_ASCS_ASE_SNK_COUNT=2 CONFIG_BT_ASCS_ASE_SRC_COUNT=1 +CONFIG_BT_ISO_TX_BUF_COUNT=2 # Support an ISO channel per ASE CONFIG_BT_ISO_MAX_CHAN=4 diff --git a/samples/bluetooth/unicast_audio_server/sample.yaml b/samples/bluetooth/unicast_audio_server/sample.yaml index 477398a93f7..afb93362d1e 100644 --- a/samples/bluetooth/unicast_audio_server/sample.yaml +++ b/samples/bluetooth/unicast_audio_server/sample.yaml @@ -10,3 +10,14 @@ tests: tags: bluetooth integration_platforms: - qemu_cortex_m3 + sample.bluetooth.audio_unicast_server.bt_ll_sw_split: + harness: bluetooth + platform_allow: + - qemu_cortex_m3 + - qemu_x86 + - nrf52_bsim + - nrf52dk_nrf52832 + integration_platforms: + - nrf52dk_nrf52832 + extra_args: OVERLAY_CONFIG=overlay-bt_ll_sw_split.conf + tags: bluetooth