Skip to content

Commit 36e8144

Browse files
jfischer-nofabiobaltieri
authored andcommitted
usb: device: remove USB H4 Bluetooth function and sample
The Bluetooth HCI USB transport layer implementation is provided by "subsys/usb/device/class/bluetooth.c". The USB H4 Bluetooth function implements a non-standard transport layer. There is no known host-side equivalent that uses this protocol. Note that the H4 protocol functionality is also provided by the "subsys/usb/device/class/bluetooth.c". Since that there are no real USB H4 Bluetooth users, remove the implementation and sample without deprecation. Signed-off-by: Johann Fischer <[email protected]>
1 parent 733241d commit 36e8144

File tree

9 files changed

+1
-355
lines changed

9 files changed

+1
-355
lines changed

doc/connectivity/usb/device/usb_device.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ The following Product IDs are currently used:
596596
+----------------------------------------------------+--------+
597597
| :zephyr:code-sample:`bluetooth_hci_usb` | 0x000B |
598598
+----------------------------------------------------+--------+
599-
| :zephyr:code-sample:`bluetooth_hci_usb_h4` | 0x000C |
599+
| Reserved (previously: bluetooth_hci_usb_h4) | 0x000C |
600600
+----------------------------------------------------+--------+
601601
| Reserved (previously: wpan-usb) | 0x000D |
602602
+----------------------------------------------------+--------+

samples/bluetooth/hci_usb_h4/CMakeLists.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

samples/bluetooth/hci_usb_h4/README.rst

Lines changed: 0 additions & 25 deletions
This file was deleted.

samples/bluetooth/hci_usb_h4/prj.conf

Lines changed: 0 additions & 13 deletions
This file was deleted.

samples/bluetooth/hci_usb_h4/sample.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

samples/bluetooth/hci_usb_h4/src/main.c

Lines changed: 0 additions & 23 deletions
This file was deleted.

subsys/usb/device/class/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
zephyr_sources_ifdef(CONFIG_USB_CDC_ACM cdc_acm.c)
44
zephyr_sources_ifdef(CONFIG_USB_MASS_STORAGE msc.c)
55
zephyr_sources_ifdef(CONFIG_USB_DEVICE_BLUETOOTH bluetooth.c)
6-
zephyr_sources_ifdef(CONFIG_USB_DEVICE_BT_H4 bt_h4.c)
76
zephyr_sources_ifdef(CONFIG_USB_DEVICE_LOOPBACK loopback.c)
87

98
add_subdirectory_ifdef(CONFIG_USB_DEVICE_AUDIO audio)

subsys/usb/device/class/Kconfig.bt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,3 @@ config USB_DEVICE_BLUETOOTH_VS_H4
1616
help
1717
Enables vendor command to switch to H:4 transport using the bulk
1818
endpoint.
19-
20-
config USB_DEVICE_BT_H4
21-
bool "USB Bluetooth H4 Device Class support"
22-
select BT
23-
select BT_HCI_RAW
24-
select BT_HCI_RAW_H4
25-
select BT_HCI_RAW_H4_ENABLE
26-
help
27-
USB Bluetooth H4 device class support

subsys/usb/device/class/bt_h4.c

Lines changed: 0 additions & 261 deletions
This file was deleted.

0 commit comments

Comments
 (0)