Bluetooth: host: Add ISO disconnect reason
Adds a disconnect reason in the ISO disconnect callback. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
62ba4f325c
commit
026da2df03
5 changed files with 21 additions and 14 deletions
|
@ -238,9 +238,10 @@ struct bt_iso_chan_ops {
|
|||
* channel is disconnected, including when a connection gets
|
||||
* rejected.
|
||||
*
|
||||
* @param chan The channel that has been Disconnected
|
||||
* @param chan The channel that has been Disconnected
|
||||
* @param reason HCI reason for the disconnection.
|
||||
*/
|
||||
void (*disconnected)(struct bt_iso_chan *chan);
|
||||
void (*disconnected)(struct bt_iso_chan *chan, uint8_t reason);
|
||||
|
||||
/** @brief Channel alloc_buf callback
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue