M module-bluetooth/Bluetooth/interface/BluetoothDriverImpl.cpp => module-bluetooth/Bluetooth/interface/BluetoothDriverImpl.cpp +3 -1
@@ 25,6 25,8 @@ extern "C"
#else
extern "C"
{
+#include <btstack_uart.h>
+
#include <btstack_run_loop_posix.h>
#include <btstack_tlv_posix.h>
}
@@ 73,7 75,7 @@ namespace bluetooth
auto uartDriver = runLoopInitLinux(runLoop);
#endif
- const hci_transport_t *transport = hci_transport_h4_instance(uartDriver);
+ const hci_transport_t *transport = hci_transport_h4_instance_for_uart(uartDriver);
hci_init(transport, (void *)&config);
hci_set_link_key_db(bluetooth::KeyStorage::getKeyStorage());
M module-bluetooth/Bluetooth/interface/BluetoothDriverImpl.hpp => module-bluetooth/Bluetooth/interface/BluetoothDriverImpl.hpp +2 -0
@@ 8,6 8,8 @@
extern "C"
{
#include <btstack.h>
+#include <hci_transport.h>
+#include <hci_transport_h4.h>
}
#include "GAP/GAP.hpp"
M module-bluetooth/lib/btstack => module-bluetooth/lib/btstack +1 -1
@@ 1,1 1,1 @@
-Subproject commit 8ccf25d5f4657e9b6140d2ea04a023af80e42909
+Subproject commit 96a5ae5fb5a377999803460345ada731cc2767af
M module-bluetooth/lib/btstack.cmake => module-bluetooth/lib/btstack.cmake +2 -2
@@ 203,11 203,11 @@ set(BOARD_DIR_SOURCES
if(${PROJECT_TARGET} STREQUAL "TARGET_Linux")
message("Linux specyfic sources")
message("----------------------")
-# include(${CMAKE_CURRENT_SOURCE_DIR}/targets/Target_Linux.cmake)
+ include(${CMAKE_CURRENT_SOURCE_DIR}/targets/Target_Linux.cmake)
list(APPEND BOARD_DIR_SOURCES
# ${BOARD_SOURCES}
${BT_STACK_ROOT}/platform/posix/btstack_stdin_posix.c
- ${BT_STACK_ROOT}/platform/posix/btstack_uart_block_posix.c
+ ${BT_STACK_ROOT}/platform/posix/btstack_uart_posix.c
${BT_STACK_ROOT}/platform/posix/btstack_run_loop_posix.c
${BT_STACK_ROOT}/platform/posix/btstack_tlv_posix.c
)