From 7353fdb4f5874b142bd1be6264eded3a3873fb0d Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Sat, 14 Jan 2017 22:24:22 +0100 Subject: [PATCH] fix compile: test + daemon --- port/daemon/configure.ac | 1 + test/btstack_config.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/port/daemon/configure.ac b/port/daemon/configure.ac index e72fcbfd1..ac99eec47 100644 --- a/port/daemon/configure.ac +++ b/port/daemon/configure.ac @@ -134,6 +134,7 @@ echo >> btstack_config.h echo "// BTstack features that can be enabled" >> btstack_config.h echo "#define ENABLE_BLE" >> btstack_config.h +echo "#define ENABLE_LE_PERIPHERAL" >> btstack_config.h echo "#define ENABLE_CLASSIC" >> btstack_config.h echo "#define ENABLE_LOG_ERROR" >> btstack_config.h echo "#define ENABLE_LOG_INFO " >> btstack_config.h diff --git a/test/btstack_config.h b/test/btstack_config.h index df1de2df1..cf937c089 100644 --- a/test/btstack_config.h +++ b/test/btstack_config.h @@ -1,5 +1,5 @@ // -// btstack_config.h for Arduino port +// btstack_config.h for most tests // #ifndef __BTSTACK_CONFIG @@ -22,6 +22,8 @@ #define ENABLE_SDP_EXTRA_QUERIES // #define ENABLE_LE_SECURE_CONNECTIONS #define ENABLE_LE_SIGNED_WRITE +#define ENABLE_LE_PERIPHERAL +#define ENABLE_LE_CENTRAL // BTstack configuration. buffers, sizes, ... #define HCI_ACL_PAYLOAD_SIZE 52