Bluetooth: ISO: Expose can_send and can_recv in bt_iso_chan_get_info
The application can get the information about can_send and can_recv in the bt_iso_chan_get_info function. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
2660c17c31
commit
54fac0323c
|
@ -703,9 +703,20 @@ struct bt_iso_info {
|
|||
/** The maximum number of subevents in each ISO event */
|
||||
uint8_t max_subevent;
|
||||
|
||||
/** True if the channel can transmit ISO data */
|
||||
/**
|
||||
* @brief True if the channel is able to send data
|
||||
*
|
||||
* This is always true when @p type is BT_ISO_CHAN_TYPE_BROADCASTER,
|
||||
* and never true when @p type is BT_ISO_CHAN_TYPE_SYNC_RECEIVER.
|
||||
*/
|
||||
bool can_send;
|
||||
/** True if the channel can receive ISO data */
|
||||
|
||||
/**
|
||||
* @brief True if the channel is able to recv data
|
||||
*
|
||||
* This is always true when @p type is BT_ISO_CHAN_TYPE_SYNC_RECEIVER,
|
||||
* and never true when @p type is BT_ISO_CHAN_TYPE_BROADCASTER.
|
||||
*/
|
||||
bool can_recv;
|
||||
|
||||
/** Connection Type specific Info.*/
|
||||
|
|
Loading…
Reference in a new issue