From 607ff8520fef2ce42cdd9642e5184e40e75656f3 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 19 Jun 2025 11:10:21 +0300 Subject: [PATCH] doc: migration-guide-4.2: Add note about bt_hci_cmd_create() Add a note about bt_hci_cmd_create() deprecation and which API should be used instead. Signed-off-by: Johan Hedberg --- doc/releases/migration-guide-4.2.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/releases/migration-guide-4.2.rst b/doc/releases/migration-guide-4.2.rst index 7855d377158..a05018c8bca 100644 --- a/doc/releases/migration-guide-4.2.rst +++ b/doc/releases/migration-guide-4.2.rst @@ -432,6 +432,10 @@ Bluetooth HCI have been deprecated, but are still usable, with the exception that they can only be called once per buffer. +* The :c:func:`bt_hci_cmd_create` function has been depracated and the new :c:func:`bt_hci_cmd_alloc` + function should be used instead. The new function takes no parameters because the command + sending functions have been updated to do the command header encoding. + Bluetooth Host ==============