Skip to content

Commit 54fac03

Browse files
Thalleycarlescufi
authored andcommitted
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 <[email protected]>
1 parent 2660c17 commit 54fac03

File tree

1 file changed

+13
-2
lines changed
  • include/zephyr/bluetooth

1 file changed

+13
-2
lines changed

include/zephyr/bluetooth/iso.h

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -703,9 +703,20 @@ struct bt_iso_info {
703703
/** The maximum number of subevents in each ISO event */
704704
uint8_t max_subevent;
705705

706-
/** True if the channel can transmit ISO data */
706+
/**
707+
* @brief True if the channel is able to send data
708+
*
709+
* This is always true when @p type is BT_ISO_CHAN_TYPE_BROADCASTER,
710+
* and never true when @p type is BT_ISO_CHAN_TYPE_SYNC_RECEIVER.
711+
*/
707712
bool can_send;
708-
/** True if the channel can receive ISO data */
713+
714+
/**
715+
* @brief True if the channel is able to recv data
716+
*
717+
* This is always true when @p type is BT_ISO_CHAN_TYPE_SYNC_RECEIVER,
718+
* and never true when @p type is BT_ISO_CHAN_TYPE_BROADCASTER.
719+
*/
709720
bool can_recv;
710721

711722
/** Connection Type specific Info.*/

0 commit comments

Comments
 (0)