Skip to content

Commit

Permalink
Increase meta data size and do more printout
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Rehhoff Thomsen <jthm@demant.com>
  • Loading branch information
jthm-ot authored and larsgk committed Sep 5, 2024
1 parent 74c34e3 commit e72e594
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,7 @@ CONFIG_BT_BAP_BROADCAST_ASSISTANT_LOG_LEVEL_DBG=y
CONFIG_BT_BAP_SCAN_DELEGATOR_LOG_LEVEL_INF=y
CONFIG_BT_SMP_LOG_LEVEL_DBG=n
CONFIG_BT_CONN_LOG_LEVEL_DBG=n
CONFIG_BT_AUDIO_CODEC_CFG_MAX_METADATA_SIZE=9
CONFIG_BT_AUDIO_CODEC_CFG_MAX_METADATA_SIZE=64
CONFIG_BT_AUDIO_CODEC_CFG_MAX_DATA_SIZE=64
CONFIG_BT_AUDIO_CODEC_CAP_MAX_METADATA_SIZE=64
CONFIG_BT_AUDIO_CODEC_CAP_MAX_DATA_SIZE=64
4 changes: 4 additions & 0 deletions app/src/broadcast_assistant.c
Original file line number Diff line number Diff line change
Expand Up @@ -1163,6 +1163,10 @@ int add_source(uint8_t sid, uint16_t pa_interval, uint32_t broadcast_id, bt_addr
ba_num_subgroups = 1;
subgroup[0].bis_sync = BT_BAP_BIS_SYNC_NO_PREF;
LOG_WRN("ba_num_subgroups argument is 0. Change to 1 and set bis sync no pref");
} else {
for (int i = 0; i < ba_num_subgroups; i++) {
LOG_INF("bis_sync[%d]: %x", i, subgroup[i].bis_sync);
}
}

bt_addr_le_copy(&param.addr, addr);
Expand Down

0 comments on commit e72e594

Please sign in to comment.