I’m working with the Audio Application (from the Nordic sample program) on an nRF5340 Audio DK as a gateway, and a custom board with an nRF5340 as a headset. The custom headset board has two audio channels, and my goal is to transmit the stereo audio from the single headset to the gateway in the bidirectional mode.
I’ve made modifications to the Audio Application to enable the gateway device to decode two audio channels and the headset device to encode two channels. However, I'm currently facing an issue with the following error message on the headset device: “<err> bt_le_audio_tx: The encoded data size does not match the SDU size”.
My question is: Is it possible to achieve this stereo audio transmission setup by only configuring Kconfig and making minor changes to the code, or do I need to make more substantial modifications?
Any insights or suggestions would be greatly appreciated!
Thanks in advance!
NCS version: 2.6.1