Skip to content

Commit 6ca65a3

Browse files
alexsvenanangl
authored andcommitted
tests: bsim: nrf_auraconfig: upmerge fixes
- Set missing configs to get tests running - Changed define for broadcast_code as per migration guide - OCT-3172
1 parent c4bcaf4 commit 6ca65a3

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

tests/bluetooth/bsim/nrf_auraconfig/prj.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,3 +158,5 @@ CONFIG_MODULE_SD_CARD_LOG_LEVEL_WRN=y
158158
CONFIG_BT_LE_AUDIO_TX_LOG_LEVEL_ERR=y
159159

160160
CONFIG_DRAGOON_BUILD_FROM_SOURCE_OVERRIDE=y
161+
162+
CONFIG_ENTROPY_GENERATOR=y

tests/bluetooth/bsim/nrf_auraconfig/tester/include/nac_test.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ struct nac_test_values_big {
3737
uint8_t phy;
3838
uint32_t pd_us;
3939
bool encryption;
40-
uint8_t broadcast_code[BT_AUDIO_BROADCAST_CODE_SIZE + 1];
40+
uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE + 1];
4141
uint8_t num_subgroups;
4242
bool high_quality;
4343
bool std_quality;

tests/bluetooth/bsim/nrf_auraconfig/tester/prj.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,19 @@ CONFIG_LOG=y
33
CONFIG_LOG_MODE_IMMEDIATE=y
44

55
CONFIG_DRAGOON_BUILD_FROM_SOURCE_OVERRIDE=y
6+
CONFIG_ENTROPY_GENERATOR=y
7+
CONFIG_BT_GATT_DYNAMIC_DB=y
68

79
CONFIG_BT_AUDIO=y
810
CONFIG_BT_PBP=y
911
CONFIG_BT_SMP=y
1012
CONFIG_BT_PAC_SNK=y
13+
CONFIG_BT_OBSERVER=y
1114
CONFIG_BT_PERIPHERAL=y
15+
CONFIG_BT_ISO_PERIPHERAL=y
1216
CONFIG_BT_BAP_BROADCAST_SINK=y
1317
CONFIG_BT_BAP_SCAN_DELEGATOR=y
18+
CONFIG_BT_ISO_SYNC_RECEIVER=y
1419
CONFIG_BT_ISO_MAX_CHAN=4
1520

1621
# Allocate 2 RX buffers per channel

tests/bluetooth/bsim/nrf_auraconfig/tester/src/nrf_auraconfig_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ static const struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP_LC3(
9090
static const uint32_t bis_index_mask = BIT_MASK(ARRAY_SIZE(streams) + 1U);
9191
static uint32_t requested_bis_sync;
9292
static uint32_t bis_index_bitfield;
93-
static uint8_t sink_broadcast_code[BT_AUDIO_BROADCAST_CODE_SIZE];
93+
static uint8_t sink_broadcast_code[BT_ISO_BROADCAST_CODE_SIZE];
9494

9595
static char broadcast_name_target[ADV_NAME_MAX + 1];
9696

0 commit comments

Comments
 (0)