2017-12-19 22:21:14 +00:00
|
|
|
//
|
|
|
|
// btstack_config.h for EM9304 DVK
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef __BTSTACK_CONFIG
|
|
|
|
#define __BTSTACK_CONFIG
|
|
|
|
|
|
|
|
// Port related features
|
|
|
|
#define HAVE_EMBEDDED_TIME_MS
|
|
|
|
|
|
|
|
// BTstack features that can be enabled
|
|
|
|
#define ENABLE_BLE
|
|
|
|
#define ENABLE_LE_PERIPHERAL
|
|
|
|
#define ENABLE_LE_CENTRAL
|
|
|
|
#define ENABLE_LE_DATA_LENGTH_EXTENSION
|
2017-12-20 22:02:17 +00:00
|
|
|
// #define ENABLE_LOG_INFO
|
2017-12-19 22:21:14 +00:00
|
|
|
#define ENABLE_LOG_ERROR
|
|
|
|
|
|
|
|
// BTstack configuration. buffers, sizes, ...
|
2017-12-20 22:03:34 +00:00
|
|
|
#define HCI_ACL_PAYLOAD_SIZE 200
|
2017-12-19 22:21:14 +00:00
|
|
|
#define MAX_NR_WHITELIST_ENTRIES 1
|
|
|
|
#define MAX_NR_HCI_CONNECTIONS 1
|
|
|
|
#define MAX_NR_SM_LOOKUP_ENTRIES 3
|
|
|
|
#define MAX_NR_GATT_CLIENTS 1
|
|
|
|
|
|
|
|
#define MAX_NR_LE_DEVICE_DB_ENTRIES 1
|
|
|
|
|
2017-12-20 22:02:17 +00:00
|
|
|
#endif
|