Skip to content

Commit

Permalink
Bluetooth: Host: Remove deprecated HCI driver API
Browse files Browse the repository at this point in the history
Remove the deprecated HCI driver API which was provided by the hci_driver.h
header file. The deprecation happened in Zephyr 3.7, so the API can now be
removed for Zephyr 4.1.

Signed-off-by: Johan Hedberg <[email protected]>
  • Loading branch information
jhedberg authored and aescolar committed Nov 22, 2024
1 parent 3063f18 commit 30d1d0e
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 429 deletions.
2 changes: 1 addition & 1 deletion doc/connectivity/bluetooth/api/hci_drivers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ HCI Drivers
API Reference
*************

.. doxygengroup:: bt_hci_driver
.. doxygengroup:: bt_hci_api
242 changes: 0 additions & 242 deletions include/zephyr/drivers/bluetooth/hci_driver.h

This file was deleted.

2 changes: 1 addition & 1 deletion subsys/bluetooth/controller/hci/hci.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <zephyr/sys/byteorder.h>
#include <zephyr/sys/atomic.h>

#include <zephyr/drivers/bluetooth/hci_driver.h>
#include <zephyr/drivers/bluetooth.h>

#include <zephyr/bluetooth/hci_types.h>
#include <zephyr/bluetooth/hci_vs.h>
Expand Down
2 changes: 1 addition & 1 deletion subsys/bluetooth/host/conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/direction.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/drivers/bluetooth/hci_driver.h>
#include <zephyr/bluetooth/hci_vs.h>
#include <zephyr/bluetooth/att.h>

#include "common/assert.h"
Expand Down
2 changes: 1 addition & 1 deletion subsys/bluetooth/host/hci_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include <stdint.h>
#include <zephyr/sys/byteorder.h>
#include <zephyr/drivers/bluetooth/hci_driver.h>
#include <zephyr/drivers/bluetooth.h>
#include "common/assert.h"

struct net_buf *bt_hci_evt_create(uint8_t evt, uint8_t len)
Expand Down
Loading

0 comments on commit 30d1d0e

Please sign in to comment.