hci_transport: add config for linux bluetooth driver

This commit is contained in:
Matthias Ringwald 2025-02-16 14:24:05 +01:00
parent 02683cf1fc
commit 97f64e028b

View File

@ -114,7 +114,8 @@ typedef struct {
typedef enum {
HCI_TRANSPORT_CONFIG_UART,
HCI_TRANSPORT_CONFIG_USB
HCI_TRANSPORT_CONFIG_USB,
HCI_TRANSPORT_CONFIG_LINUX,
} hci_transport_config_type_t;
typedef struct {
@ -130,6 +131,11 @@ typedef struct {
int parity; // see btstack_uart.h BTSTACK_UART_PARITY
} hci_transport_config_uart_t;
typedef struct {
hci_transport_config_type_t type; // == HCI_TRANSPORT_CONFIG_LINUX
int device_id; // e.g. 0 for HCI0
} hci_transport_config_linux_t;
/* API_END */
#if defined __cplusplus