Skip to content

Commit

Permalink
samples: Bluetooth: hci_rpmsg with 2 BIS configuration
Browse files Browse the repository at this point in the history
Update the config file to support 2 Broadcast Streams in
hci_rpmsg samples for running iso_broadcast and iso_receive
samples on nRF5340 DK.

Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
  • Loading branch information
cvinayak authored and carlescufi committed Oct 10, 2022
1 parent 29eee72 commit 2d6f6a7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,17 @@ CONFIG_BT_CENTRAL=n
CONFIG_BT_EXT_ADV=y
CONFIG_BT_PER_ADV=y
CONFIG_BT_ISO_BROADCASTER=y
# CONFIG_BT_PER_ADV_SYNC=y
# CONFIG_BT_ISO_SYNC_RECEIVER=y
CONFIG_BT_ISO_MAX_CHAN=2

# ISO Broadcast Controller
CONFIG_BT_CTLR_ADV_EXT=y
CONFIG_BT_LL_SW_SPLIT=y
CONFIG_BT_CTLR_ADV_PERIODIC=y
CONFIG_BT_CTLR_ADV_DATA_LEN_MAX=191
CONFIG_BT_CTLR_ADV_ISO=y
CONFIG_BT_CTLR_ADV_ISO_PDU_LEN_MAX=251
CONFIG_BT_CTLR_ISO_TX_BUFFERS=3
CONFIG_BT_CTLR_ISO_TX_BUFFERS=16
CONFIG_BT_CTLR_ISO_TX_BUFFER_SIZE=251
CONFIG_BT_CTLR_ADV_ISO_STREAM_MAX=2

# ISO Receive Controller
# CONFIG_BT_CTLR_ADV_EXT=y
# CONFIG_BT_CTLR_SYNC_PERIODIC=y
# CONFIG_BT_CTLR_SCAN_DATA_LEN_MAX=251
# CONFIG_BT_CTLR_SYNC_ISO=y
# CONFIG_BT_CTLR_SYNC_ISO_PDU_LEN_MAX=251
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
CONFIG_BT_CTLR_ADV_RESERVE_MAX=n
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,15 @@ CONFIG_BT_PERIPHERAL=n
CONFIG_BT_OBSERVER=y
CONFIG_BT_CENTRAL=n
CONFIG_BT_EXT_ADV=y
# CONFIG_BT_PER_ADV=y
# CONFIG_BT_ISO_BROADCASTER=y
CONFIG_BT_PER_ADV_SYNC=y
CONFIG_BT_ISO_SYNC_RECEIVER=y

# ISO Broadcast Controller
# CONFIG_BT_CTLR_ADV_EXT=y
# CONFIG_BT_CTLR_ADV_PERIODIC=y
# CONFIG_BT_CTLR_ADV_DATA_LEN_MAX=191
# CONFIG_BT_CTLR_ADV_ISO=y
# CONFIG_BT_CTLR_ADV_ISO_PDU_LEN_MAX=251
# CONFIG_BT_CTLR_ISO_TX_BUFFERS=3
# CONFIG_BT_CTLR_ISO_TX_BUFFER_SIZE=251
CONFIG_BT_ISO_MAX_CHAN=2

# ISO Receive Controller
CONFIG_BT_CTLR_ADV_EXT=y
CONFIG_BT_LL_SW_SPLIT=y
CONFIG_BT_CTLR_SYNC_PERIODIC=y
CONFIG_BT_CTLR_SCAN_DATA_LEN_MAX=251
CONFIG_BT_CTLR_SCAN_DATA_LEN_MAX=191
CONFIG_BT_CTLR_SYNC_ISO=y
CONFIG_BT_CTLR_SYNC_ISO_PDU_LEN_MAX=251
CONFIG_BT_CTLR_SYNC_ISO_STREAM_MAX=2
CONFIG_BT_CTLR_ISOAL_SINKS=2
8 changes: 4 additions & 4 deletions samples/bluetooth/hci_rpmsg/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ tests:
tags: bluetooth
integration_platforms:
- nrf5340dk_nrf5340_cpunet
sample.bluetooth.hci_rpmsg.iso_broadcast:
sample.bluetooth.hci_rpmsg.iso_broadcast.bt_ll_sw_split:
harness: bluetooth
extra_args: CONF_FILE="nrf5340_cpunet_iso_broadcast.conf"
extra_args: CONF_FILE="nrf5340_cpunet_iso_broadcast-bt_ll_sw_split.conf"
platform_allow: nrf5340dk_nrf5340_cpunet
tags: bluetooth
integration_platforms:
- nrf5340dk_nrf5340_cpunet
sample.bluetooth.hci_rpmsg.iso_receive:
sample.bluetooth.hci_rpmsg.iso_receive.bt_ll_sw_split:
harness: bluetooth
extra_args: CONF_FILE="nrf5340_cpunet_iso_receive.conf"
extra_args: CONF_FILE="nrf5340_cpunet_iso_receive-bt_ll_sw_split.conf"
platform_allow: nrf5340dk_nrf5340_cpunet
tags: bluetooth
integration_platforms:
Expand Down

0 comments on commit 2d6f6a7

Please sign in to comment.