wiced: enable LE Secure Connections

This commit is contained in:
Matthias Ringwald 2017-04-13 16:24:06 +02:00
parent 35ef865576
commit 98493a2dfb
2 changed files with 13 additions and 3 deletions

View File

@ -14,12 +14,12 @@
#define ENABLE_CLASSIC
#define ENABLE_LE_PERIPHERAL
#define ENABLE_LE_CENTRAL
// #define ENABLE_LE_SECURE_CONNECTIONS
#define ENABLE_LE_SECURE_CONNECTIONS
#define ENABLE_LOG_ERROR
// #define ENABLE_LOG_INFO
// BTstack configuration. buffers, sizes, ...
#define HCI_ACL_PAYLOAD_SIZE 52
#define HCI_ACL_PAYLOAD_SIZE 100
#define MAX_SPP_CONNECTIONS 1
#define MAX_NR_GATT_CLIENTS 1
#define MAX_NR_HCI_CONNECTIONS MAX_SPP_CONNECTIONS

View File

@ -8,7 +8,13 @@ endif
NAME := BTstack_for_BCM$(BT_CHIP)$(BT_CHIP_REVISION)
GLOBAL_INCLUDES += . ../../src ../../platform/embedded ../../chipset/bcm ../../../../
GLOBAL_INCLUDES += \
. \
../../src \
../../platform/embedded \
../../chipset/bcm \
../../3rd-party/micro-ecc \
../../../../
# core BTstack sources
$(NAME)_SOURCES += \
@ -43,6 +49,10 @@ $(NAME)_SOURCES += \
../../src/l2cap_signaling.c \
../../example/sco_demo_util.c \
# micro-ecc for LE Secure Connection
$(NAME)_SOURCES += \
../../3rd-party/micro-ecc/uECC.c \
# WICED port incl. support for Broadcom chipset
$(NAME)_SOURCES += \
main.c \