![]() |
nRF Connect SDK API 3.3.99
|
Helper functions to manage LE Audio TX functionality. More...
Data Structures | |
| struct | le_audio_tx_info |
| struct | tx_inf |
| struct | bt_le_audio_tx_ctx |
Macros | |
| #define | HCI_ISO_BUF_PER_CHAN 2 |
| #define | SUBGROUP_MAX 1 |
| #define | TX_STREAMS_MAX CONFIG_BT_ISO_MAX_CHAN |
| #define | TX_BUF_NUM (GROUP_MAX * SUBGROUP_MAX * TX_STREAMS_MAX * HCI_ISO_BUF_PER_CHAN) |
| #define | BT_LE_AUDIO_TX_DEFINE(name) |
Enumerations | |
| enum | bt_le_audio_tx_last_data_status { STATUS_NOT_SET = 0 , STATUS_SENT_WITH_TS , STATUS_SENT_WITHOUT_TS , STATUS_OVERRUN_FLUSHED , STATUS_UNDERRUN_EMPTY_SDU_ON_AIR } |
Functions | |
| int | bt_le_audio_tx_send (struct bt_le_audio_tx_ctx *ctx, struct net_buf const *const audio_frame, struct le_audio_tx_info *tx, uint8_t num_tx) |
| Allocates buffers and sends data to the controller. | |
| int | bt_le_audio_tx_stream_started (struct bt_le_audio_tx_ctx *ctx, struct stream_index stream_idx) |
| Initializes a stream. Must be called when a TX stream is started. | |
| int | bt_le_audio_tx_stream_sent (struct bt_le_audio_tx_ctx *ctx, struct stream_index stream_idx) |
| Frees a TX buffer. Must be called when a TX stream has been sent. | |
| int | bt_le_audio_tx_init (struct bt_le_audio_tx_ctx *ctx, bool is_clock_master) |
| Initializes the TX path for ISO transmission. | |
Helper functions to manage LE Audio TX functionality.