Skip to content

Commit 98805a2

Browse files
Thalleyaescolar
authored andcommitted
Bluetooth: BAP: Add BT_AUDIO_RTN_PREF_NONE
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]>
1 parent 71b9d8a commit 98805a2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

include/zephyr/bluetooth/audio/audio.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ extern "C" {
4747
#define BT_AUDIO_PD_PREF_NONE 0x000000U
4848
/** Maximum presentation delay in microseconds */
4949
#define BT_AUDIO_PD_MAX 0xFFFFFFU
50+
/** Indicates that the unicast server does not have a preference for any retransmission number */
51+
#define BT_AUDIO_RTN_PREF_NONE 0xFFU
5052
/** Maximum size of the broadcast code in octets */
5153
#define BT_AUDIO_BROADCAST_CODE_SIZE 16
5254

include/zephyr/bluetooth/audio/bap.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,11 @@ struct bt_bap_qos_cfg_pref {
260260
*/
261261
uint8_t phy;
262262

263-
/** Preferred Retransmission Number */
263+
/**
264+
* @brief Preferred Retransmission Number
265+
*
266+
* @ref BT_AUDIO_RTN_PREF_NONE indicates no preference.
267+
*/
264268
uint8_t rtn;
265269

266270
/**

0 commit comments

Comments
 (0)