windows-h4-zephyr: configure for LE only, remove link key db

This commit is contained in:
Matthias Ringwald 2019-10-22 09:45:41 +02:00
parent 67f8f607ac
commit abf8a71a50
3 changed files with 0 additions and 7 deletions

View File

@ -5,7 +5,6 @@ CORE += main.c btstack_stdin_windows.c
COMMON += \
btstack_chipset_zephyr.c \
btstack_link_key_db_fs.c \
btstack_run_loop_windows.c \
btstack_uart_block_windows.c \
hci_transport_h4.c \

View File

@ -13,8 +13,6 @@
// BTstack features that can be enabled
#define ENABLE_BLE
#define ENABLE_CLASSIC
#define ENABLE_HFP_WIDE_BAND_SPEECH
#define ENABLE_LE_CENTRAL
#define ENABLE_LE_PERIPHERAL
#define ENABLE_LE_SECURE_CONNECTIONS
@ -23,8 +21,6 @@
#define ENABLE_LE_DATA_LENGTH_EXTENSION
#define ENABLE_LOG_ERROR
#define ENABLE_LOG_INFO
#define ENABLE_SCO_OVER_HCI
#define ENABLE_SDP_DES_DUMP
// BTstack configuration. buffers, sizes, ...
#define HCI_ACL_PAYLOAD_SIZE (1691 + 4)

View File

@ -145,9 +145,7 @@ int main(int argc, const char * argv[]){
// init HCI
const btstack_uart_block_t * uart_driver = btstack_uart_block_windows_instance();
const hci_transport_t * transport = hci_transport_h4_instance(uart_driver);
const btstack_link_key_db_t * link_key_db = btstack_link_key_db_fs_instance();
hci_init(transport, (void*) &config);
hci_set_link_key_db(link_key_db);
hci_set_chipset(btstack_chipset_zephyr_instance());
// inform about BTstack state