From bcd15caf656b730545ba1594e5ad3d69aa5e170d Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 25 Apr 2025 11:19:14 +0300 Subject: [PATCH] doc: migration-guide-4.2: Add note about Bluetooth HCI changes Mention the changes that have happened to the Bluetooth HCI driver interface regarding packet type encoding. Signed-off-by: Johan Hedberg --- doc/releases/migration-guide-4.2.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/releases/migration-guide-4.2.rst b/doc/releases/migration-guide-4.2.rst index 8ef5726d065..c50064190e7 100644 --- a/doc/releases/migration-guide-4.2.rst +++ b/doc/releases/migration-guide-4.2.rst @@ -272,6 +272,14 @@ Bluetooth Audio * ``CONFIG_BT_CSIP_SET_MEMBER_NOTIFIABLE`` has been renamed to :kconfig:option:`CONFIG_BT_CSIP_SET_MEMBER_SIRK_NOTIFIABLE``. (:github:`86763``) +Bluetooth HCI +============= + +* The buffer types passing through the HCI driver interface are now indicated as H:4 encoded prefix + bytes as part of the buffer payload itself. The bt_buf_set_type() and bt_buf_get_type() functions + have been deprecated, but are still usable, with the exception that they can only be + called once per buffer. + Bluetooth Host ==============