2017-12-19 22:21:14 +00:00
|
|
|
//
|
|
|
|
// btstack_config.h for EM9304 DVK
|
|
|
|
//
|
|
|
|
|
2020-11-06 11:01:26 +00:00
|
|
|
#ifndef BTSTACK_CONFIG_H
|
|
|
|
#define BTSTACK_CONFIG_H
|
2017-12-19 22:21:14 +00:00
|
|
|
|
|
|
|
// Port related features
|
|
|
|
#define HAVE_EMBEDDED_TIME_MS
|
|
|
|
|
|
|
|
// BTstack features that can be enabled
|
|
|
|
#define ENABLE_BLE
|
|
|
|
#define ENABLE_LE_CENTRAL
|
2018-01-19 15:32:28 +00:00
|
|
|
#define ENABLE_LE_DATA_CHANNELS
|
2017-12-19 22:21:14 +00:00
|
|
|
#define ENABLE_LE_DATA_LENGTH_EXTENSION
|
2020-11-06 11:01:26 +00:00
|
|
|
#define ENABLE_LE_PERIPHERAL
|
2017-12-19 22:21:14 +00:00
|
|
|
#define ENABLE_LOG_ERROR
|
2020-11-06 11:06:11 +00:00
|
|
|
#define ENABLE_PRINTF_HEXDUMP
|
2017-12-19 22:21:14 +00:00
|
|
|
|
|
|
|
// BTstack configuration. buffers, sizes, ...
|
2017-12-20 22:03:34 +00:00
|
|
|
#define HCI_ACL_PAYLOAD_SIZE 200
|
2020-11-06 11:01:26 +00:00
|
|
|
#define MAX_NR_GATT_CLIENTS 1
|
2017-12-19 22:21:14 +00:00
|
|
|
#define MAX_NR_HCI_CONNECTIONS 1
|
|
|
|
#define MAX_NR_SM_LOOKUP_ENTRIES 3
|
2020-11-06 11:01:26 +00:00
|
|
|
#define MAX_NR_WHITELIST_ENTRIES 1
|
2017-12-19 22:21:14 +00:00
|
|
|
|
|
|
|
#define MAX_NR_LE_DEVICE_DB_ENTRIES 1
|
|
|
|
|
2017-12-20 22:02:17 +00:00
|
|
|
#endif
|