Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
|
QoS configuration structure. More...
#include <bap.h>
Data Fields | ||
uint32_t | pd | |
Presentation Delay in microseconds. | ||
struct { | ||
enum bt_bap_qos_cfg_framing framing | ||
QoS Framing. More... | ||
uint8_t phy | ||
PHY. More... | ||
uint8_t rtn | ||
Retransmission Number. More... | ||
uint16_t sdu | ||
Maximum SDU size. More... | ||
uint16_t latency | ||
Maximum Transport Latency. More... | ||
uint32_t interval | ||
SDU Interval. More... | ||
uint16_t max_pdu | ||
Maximum PDU size. More... | ||
uint8_t burst_number | ||
Burst number. More... | ||
uint8_t num_subevents | ||
Number of subevents. More... | ||
}; | ||
Connected Isochronous Group (CIG) parameters. | ||
QoS configuration structure.
struct { ... } bt_bap_qos_cfg |
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.
uint8_t bt_bap_qos_cfg::burst_number |
Burst number.
Value range BT_ISO_BN_MIN to BT_ISO_BN_MAX.
enum bt_bap_qos_cfg_framing bt_bap_qos_cfg::framing |
QoS Framing.
uint32_t bt_bap_qos_cfg::interval |
SDU Interval.
Value range BT_ISO_SDU_INTERVAL_MIN to BT_ISO_SDU_INTERVAL_MAX
uint16_t bt_bap_qos_cfg::latency |
Maximum Transport Latency.
Not used for the
CONFIG_BT_BAP_BROADCAST_SINK
role.
uint16_t bt_bap_qos_cfg::max_pdu |
Maximum PDU size.
Maximum size, in octets, of the payload from link layer to link layer.
Value range BT_ISO_CONNECTED_PDU_MIN to BT_ISO_PDU_MAX for connected ISO.
Value range BT_ISO_BROADCAST_PDU_MIN to BT_ISO_PDU_MAX for broadcast ISO.
uint8_t bt_bap_qos_cfg::num_subevents |
Number of subevents.
Maximum number of subevents in each CIS or BIS event.
Value range BT_ISO_NSE_MIN to BT_ISO_NSE_MAX.
uint32_t bt_bap_qos_cfg::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_bap_qos_cfg::phy |
PHY.
Allowed values are BT_BAP_QOS_CFG_1M, BT_BAP_QOS_CFG_2M and BT_BAP_QOS_CFG_CODED.
uint8_t bt_bap_qos_cfg::rtn |
Retransmission Number.
This a recommendation to the controller, and the actual retransmission number may be different than this.
uint16_t bt_bap_qos_cfg::sdu |
Maximum SDU size.
Value range BT_ISO_MIN_SDU to BT_ISO_MAX_SDU.