Zephyr Project API 3.7.0-rc1
A Scalable Open Source RTOS
|
Codec QoS structure. More...
#include <audio.h>
Data Fields | ||
uint32_t | pd | |
Presentation Delay in microseconds. | ||
struct { | ||
enum bt_audio_codec_qos_framing framing | ||
QoS Framing. More... | ||
uint8_t phy | ||
PHY. More... | ||
uint8_t rtn | ||
Retransmission Number. More... | ||
uint16_t sdu | ||
Maximum SDU size. More... | ||
uint32_t interval | ||
SDU Interval. More... | ||
}; | ||
Connected Isochronous Group (CIG) parameters. | ||
Codec QoS structure.
struct { ... } bt_audio_codec_qos |
Connected Isochronous Group (CIG) parameters.
The fields in this struct affect the value sent to the controller via HCI when creating the CIG. Once the group has been created with bt_bap_unicast_group_create(), modifying these fields will not affect the group.
enum bt_audio_codec_qos_framing bt_audio_codec_qos::framing |
QoS Framing.
uint32_t bt_audio_codec_qos::interval |
SDU Interval.
Value range BT_ISO_SDU_INTERVAL_MIN to BT_ISO_SDU_INTERVAL_MAX
uint32_t bt_audio_codec_qos::pd |
Presentation Delay in microseconds.
This value can be changed up and until bt_bap_stream_qos() has been called. Once a stream has been QoS configured, modifying this field does not modify the value. It is however possible to modify this field and call bt_bap_stream_qos() again to update the value, assuming that the stream is in the correct state.
Value range 0 to BT_AUDIO_PD_MAX.
uint8_t bt_audio_codec_qos::phy |
PHY.
Allowed values are BT_AUDIO_CODEC_QOS_1M, BT_AUDIO_CODEC_QOS_2M and BT_AUDIO_CODEC_QOS_CODED.
uint8_t bt_audio_codec_qos::rtn |
Retransmission Number.
This a recommendation to the controller, and the actual retransmission number may be different than this.
uint16_t bt_audio_codec_qos::sdu |
Maximum SDU size.
Value range BT_ISO_MIN_SDU to BT_ISO_MAX_SDU.