diff --git a/src/hci.h b/src/hci.h index f1125e235..b52d94fb3 100644 --- a/src/hci.h +++ b/src/hci.h @@ -55,6 +55,7 @@ #include "hci_cmd.h" #include "gap.h" #include "hci_transport.h" +#include "btstack_run_loop.h" #ifdef ENABLE_BLE #include "ble/att_db.h" diff --git a/src/hci_transport.h b/src/hci_transport.h index 2a6e93b85..8767e124a 100644 --- a/src/hci_transport.h +++ b/src/hci_transport.h @@ -49,19 +49,12 @@ #include #include "btstack_uart_block.h" #include "btstack_em9304_spi.h" -#include "btstack_run_loop.h" +#include "btstack_defines.h" #if defined __cplusplus extern "C" { #endif -/** - * packet types - used in BTstack and over the H4 UART interface - */ -#define HCI_COMMAND_DATA_PACKET 0x01 -#define HCI_ACL_DATA_PACKET 0x02 -#define HCI_SCO_DATA_PACKET 0x03 -#define HCI_EVENT_PACKET 0x04 /* API_START */