Bluetooth: ISO: Add ISO channel type
Add a enum for the ISO channel type instead of using a boolean for just bis/cis. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
7f004f1b35
commit
c6b78b93d9
4 changed files with 48 additions and 23 deletions
|
@ -98,6 +98,14 @@ enum {
|
|||
BT_ISO_DISCONNECT,
|
||||
};
|
||||
|
||||
|
||||
enum bt_iso_chan_type {
|
||||
BT_ISO_CHAN_TYPE_NONE,
|
||||
BT_ISO_CHAN_TYPE_CONNECTED,
|
||||
BT_ISO_CHAN_TYPE_BROADCASTER,
|
||||
BT_ISO_CHAN_TYPE_SYNC_RECEIVER
|
||||
};
|
||||
|
||||
/** @brief ISO Channel structure. */
|
||||
struct bt_iso_chan {
|
||||
/** Channel connection reference */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue