Skip to content

Commit 0cc97a8

Browse files
jhedbergolivier-le-sage
authored andcommitted
[nrf fromtree] 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 <johan.hedberg@silabs.com> (cherry picked from commit 607ff85)
1 parent 36c86cc commit 0cc97a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/releases/migration-guide-4.2.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,10 @@ Bluetooth HCI
410410
have been deprecated, but are still usable, with the exception that they can only be
411411
called once per buffer.
412412

413+
* The :c:func:`bt_hci_cmd_create` function has been depracated and the new :c:func:`bt_hci_cmd_alloc`
414+
function should be used instead. The new function takes no parameters because the command
415+
sending functions have been updated to do the command header encoding.
416+
413417
Bluetooth Host
414418
==============
415419

0 commit comments

Comments
 (0)