mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-30 16:20:24 +00:00
wiced: enable LE Secure Connections
This commit is contained in:
parent
35ef865576
commit
98493a2dfb
port/wiced
@ -14,12 +14,12 @@
|
|||||||
#define ENABLE_CLASSIC
|
#define ENABLE_CLASSIC
|
||||||
#define ENABLE_LE_PERIPHERAL
|
#define ENABLE_LE_PERIPHERAL
|
||||||
#define ENABLE_LE_CENTRAL
|
#define ENABLE_LE_CENTRAL
|
||||||
// #define ENABLE_LE_SECURE_CONNECTIONS
|
#define ENABLE_LE_SECURE_CONNECTIONS
|
||||||
#define ENABLE_LOG_ERROR
|
#define ENABLE_LOG_ERROR
|
||||||
// #define ENABLE_LOG_INFO
|
// #define ENABLE_LOG_INFO
|
||||||
|
|
||||||
// BTstack configuration. buffers, sizes, ...
|
// BTstack configuration. buffers, sizes, ...
|
||||||
#define HCI_ACL_PAYLOAD_SIZE 52
|
#define HCI_ACL_PAYLOAD_SIZE 100
|
||||||
#define MAX_SPP_CONNECTIONS 1
|
#define MAX_SPP_CONNECTIONS 1
|
||||||
#define MAX_NR_GATT_CLIENTS 1
|
#define MAX_NR_GATT_CLIENTS 1
|
||||||
#define MAX_NR_HCI_CONNECTIONS MAX_SPP_CONNECTIONS
|
#define MAX_NR_HCI_CONNECTIONS MAX_SPP_CONNECTIONS
|
||||||
|
@ -8,7 +8,13 @@ endif
|
|||||||
|
|
||||||
NAME := BTstack_for_BCM$(BT_CHIP)$(BT_CHIP_REVISION)
|
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
|
# core BTstack sources
|
||||||
$(NAME)_SOURCES += \
|
$(NAME)_SOURCES += \
|
||||||
@ -43,6 +49,10 @@ $(NAME)_SOURCES += \
|
|||||||
../../src/l2cap_signaling.c \
|
../../src/l2cap_signaling.c \
|
||||||
../../example/sco_demo_util.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
|
# WICED port incl. support for Broadcom chipset
|
||||||
$(NAME)_SOURCES += \
|
$(NAME)_SOURCES += \
|
||||||
main.c \
|
main.c \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user