mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-03 20:54:18 +00:00
wiced: update to SDK 3.5.2. Not working (no HCI Events yet)
This commit is contained in:
parent
7224be7e77
commit
24ca7397f7
@ -12,7 +12,7 @@
|
||||
// BTstack features that can be enabled
|
||||
#define ENABLE_BLE
|
||||
#define ENABLE_CLASSIC
|
||||
#define ENABLE_LE_SECURE_CONNECTIONS
|
||||
// #define ENABLE_LE_SECURE_CONNECTIONS
|
||||
#define ENABLE_LOG_ERROR
|
||||
#define ENABLE_LOG_INFO
|
||||
|
||||
|
@ -79,10 +79,10 @@ void application_start(void){
|
||||
btstack_run_loop_init(btstack_run_loop_wiced_get_instance());
|
||||
|
||||
// enable full log output while porting
|
||||
// hci_dump_open(NULL, HCI_DUMP_STDOUT);
|
||||
hci_dump_open(NULL, HCI_DUMP_STDOUT);
|
||||
|
||||
// init HCI
|
||||
hci_init(hci_transport_h4_instance(btstack_uart_block_embedded_instance()), (void*) &hci_transport_config_uart);
|
||||
hci_init(hci_transport_h4_instance(NULL), (void*) &hci_transport_config_uart);
|
||||
hci_set_link_key_db(btstack_link_key_db_memory_instance());
|
||||
hci_set_chipset(btstack_chipset_bcm_instance());
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
# BTstack port for WICED platform
|
||||
|
||||
To integrate BTstack into the WICED SDK, please move the BTstack project into WICED-SDK-X/libraries.
|
||||
WICED SDK 3.5.2 or higher required. With RedBear Duo, please follow their installation guide for WICED SDK first.
|
||||
|
||||
To integrate BTstack into the WICED SDK, please move the BTstack project into WICED-SDK-3.5.2/libraries.
|
||||
Then create projects for BTstack examples in WICED/apps/btstack by running:
|
||||
|
||||
./create_examples.py
|
||||
@ -21,7 +23,7 @@ The maximal baud rate is limited to 3 mbps.
|
||||
|
||||
The port uses the generated WIFI address plus 1 as Bluetooth MAC address.
|
||||
|
||||
The examples that implement a BLE Peripheral/provide a GATT Server use the GATT DB in the .gatt file.
|
||||
The examples that implement a BLE Peripheral/provide a GATT Server that uses the GATT DB in the .gatt file.
|
||||
After modifying the .gatt file, please run ./update_gatt_db.sh in the apps/btstack/$(EXAMPLE) folder.
|
||||
|
||||
|
||||
|
@ -24,6 +24,7 @@ $(NAME)_SOURCES += \
|
||||
../../src/classic/sdp_client.c \
|
||||
../../src/classic/sdp_client_rfcomm.c \
|
||||
../../src/classic/sdp_util.c \
|
||||
../../src/classic/spp_server.c \
|
||||
../../src/btstack_linked_list.c \
|
||||
../../src/btstack_memory.c \
|
||||
../../src/btstack_memory_pool.c \
|
||||
@ -39,7 +40,6 @@ $(NAME)_SOURCES += \
|
||||
$(NAME)_SOURCES += \
|
||||
main.c \
|
||||
btstack_run_loop_wiced.c \
|
||||
btstack_uart_block_embedded.c \
|
||||
hci_transport_h4_wiced.c \
|
||||
../../chipset/bcm/btstack_chipset_bcm.c \
|
||||
../../../drivers/bluetooth/firmware/$(BT_CHIP)$(BT_CHIP_REVISION)/bt_firmware_image.c \
|
||||
../../../drivers/bluetooth/firmware/$(BT_CHIP)$(BT_CHIP_REVISION)/$(BT_CHIP_XTAL_FREQUENCY)/bt_firmware_image.c \
|
||||
|
Loading…
x
Reference in New Issue
Block a user