diff --git a/port/wiced/btstack_config.h b/port/wiced/btstack_config.h index dc612cd74..12e2fc6ed 100644 --- a/port/wiced/btstack_config.h +++ b/port/wiced/btstack_config.h @@ -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 diff --git a/port/wiced/wiced.mk b/port/wiced/wiced.mk index 2b7247307..d8578dd56 100644 --- a/port/wiced/wiced.mk +++ b/port/wiced/wiced.mk @@ -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 \