Setting sequence number of LE Audio broadcast stream

Hello, 
when sending audio packets using a broadcast stream one can provide the seq_num of the packet (using the function `int bt_bap_stream_send(struct bt_bap_stream *stream, struct net_buf *buf, uint16_t seq_num)`.
I am trying to relay a broadcast (with only 1 BIS), where also the sequence number should be the same. However, when the relayed stream is started, the sequence lways begins at 0. When following the code execution the sn is set in the ```bt_iso_chan_send``` function, so I assume the controller actually sets the sn to 0 for a new stream.

I am using a nrf5340-dk with the nordic softdevice-controller on the network core. 
Is there a way to actually set the seq_nr of the stream?

Parents Reply
  • I understand. The clear recommendation from our SoftDevice Team (the Bluetooth stack) is:

    Sequence numbers (in ISO, and thus also LE audio when using ISO over HCI) shall be initialized to 0 when the CIS or BIS is created. There is no way for 2 broadcast sources (device A and device B) to reliably coordinate sequence numbers or use that to identity or determine payloads

    So this is not possible, unfortunately.

    Best regards,

    Edvin

Children
Related