Skip to content

Commit

Permalink
Bluetooth: BAP: Add BT_AUDIO_RTN_PREF_NONE
Browse files Browse the repository at this point in the history
Add BT_AUDIO_RTN_PREF_NONE which indicates no preference from
the server for number of retransmissions chosen by the client.

Signed-off-by: Emil Gydesen <[email protected]>
  • Loading branch information
Thalley authored and aescolar committed Oct 25, 2024
1 parent 71b9d8a commit 98805a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions include/zephyr/bluetooth/audio/audio.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ extern "C" {
#define BT_AUDIO_PD_PREF_NONE 0x000000U
/** Maximum presentation delay in microseconds */
#define BT_AUDIO_PD_MAX 0xFFFFFFU
/** Indicates that the unicast server does not have a preference for any retransmission number */
#define BT_AUDIO_RTN_PREF_NONE 0xFFU
/** Maximum size of the broadcast code in octets */
#define BT_AUDIO_BROADCAST_CODE_SIZE 16

Expand Down
6 changes: 5 additions & 1 deletion include/zephyr/bluetooth/audio/bap.h
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,11 @@ struct bt_bap_qos_cfg_pref {
*/
uint8_t phy;

/** Preferred Retransmission Number */
/**
* @brief Preferred Retransmission Number
*
* @ref BT_AUDIO_RTN_PREF_NONE indicates no preference.
*/
uint8_t rtn;

/**
Expand Down

0 comments on commit 98805a2

Please sign in to comment.