Skip to content

Commit bcfb148

Browse files
Thalleykartben
authored andcommitted
doc: migration guide: Bluetooth: Add guide for target latency and PHY
Some applications may need to modify their code to account for the changes to struct bt_audio_codec_cfg. Signed-off-by: Emil Gydesen <[email protected]>
1 parent ef60501 commit bcfb148

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/releases/migration-guide-4.3.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,17 @@ Bluetooth
5454

5555
.. zephyr-keep-sorted-start re(^\w)
5656
57+
Bluetooth Audio
58+
===============
59+
60+
* :c:struct:`bt_audio_codec_cfg` now requires setting the target latency and target PHY explicitly,
61+
rather than always setting the target latency to "Balanced" and the target PHY to LE 2M.
62+
To keep current functionality, set the ``target_latency`` to
63+
:c:enumerator:`BT_AUDIO_CODEC_CFG_TARGET_LATENCY_BALANCED` and ``target_phy`` to
64+
:c:enumerator:`BT_AUDIO_CODEC_CFG_TARGET_PHY_2M`.
65+
The :c:macro:`BT_AUDIO_CODEC_CFG` macro defaults to these values.
66+
(:github:`93825``)
67+
5768
.. zephyr-keep-sorted-stop
5869
5970
Ethernet

0 commit comments

Comments
 (0)