Bluetooth: ISO: Store SDU and PHY for peripheral

When an CIS is connected, the peripheral did not have
any information about the QoS settings. This commit
adds information about the PHY and SDU. For some reason
the peripheral won't ever have information about the RTN.

The remaining values in the event (interval, delay and
latency) are still not exposed, nor is framing or
packing, the latter of which are not part of the event.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2021-10-20 14:48:58 +02:00 committed by Christopher Friedt
commit 69f1236657
2 changed files with 26 additions and 0 deletions

View file

@ -405,6 +405,10 @@ struct bt_iso_chan_ops {
* If this callback is provided it will be called whenever the
* connection completes.
*
* For a peripheral, the QoS values (see @ref bt_iso_chan_io_qos)
* are set when this is called. The peripheral does not have any
* information about the RTN though.
*
* @param chan The channel that has been connected
*/
void (*connected)(struct bt_iso_chan *chan);