Set nRF5340 Audio Broadcast Stream Name

Hi,

I'm using nRF5340 Audio DK with the audio example code in BIS mode.
I would like to set the broadcast name during runtime, and not before compilation. Namely, I want to construct a string and only then run the initialization process of the stream.
I've found that CONFIG_BT_AUDIO_BROADCAST_NAME is used in the function adv_create() inside broadcast_source.c. As a simple test, I replaced it with my own string (and also updated the length parameter where needed). Surprisingly, it has no effect! Using nRF Connect for Mobile, I can verify that the broadcast name corresponds to CONFIG_BT_AUDIO_BROADCAST_NAME, although it doesn't seem to be in use.
I've searched a lot in the example code and couldn't find an explanation for that.

I would appreciate your help with acquiring the ability to set the broadcast name not through CONFIG_BT_AUDIO_BROADCAST_NAME, but through a custom string.

Thanks,
Dekel

Related