2017-12-19 23:21:14 +01:00
|
|
|
//
|
|
|
|
// btstack_config.h for EM9304 DVK
|
|
|
|
//
|
|
|
|
|
2020-11-06 12:01:26 +01:00
|
|
|
#ifndef BTSTACK_CONFIG_H
|
|
|
|
#define BTSTACK_CONFIG_H
|
2017-12-19 23:21:14 +01: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 16:32:28 +01:00
|
|
|
#define ENABLE_LE_DATA_CHANNELS
|
2017-12-19 23:21:14 +01:00
|
|
|
#define ENABLE_LE_DATA_LENGTH_EXTENSION
|
2020-11-06 12:01:26 +01:00
|
|
|
#define ENABLE_LE_PERIPHERAL
|
2017-12-19 23:21:14 +01:00
|
|
|
#define ENABLE_LOG_ERROR
|
2020-11-06 12:06:11 +01:00
|
|
|
#define ENABLE_PRINTF_HEXDUMP
|
2017-12-19 23:21:14 +01:00
|
|
|
|
|
|
|
// BTstack configuration. buffers, sizes, ...
|
2017-12-20 23:03:34 +01:00
|
|
|
#define HCI_ACL_PAYLOAD_SIZE 200
|
2020-11-06 12:01:26 +01:00
|
|
|
#define MAX_NR_GATT_CLIENTS 1
|
2017-12-19 23:21:14 +01:00
|
|
|
#define MAX_NR_HCI_CONNECTIONS 1
|
|
|
|
#define MAX_NR_SM_LOOKUP_ENTRIES 3
|
2020-11-06 12:01:26 +01:00
|
|
|
#define MAX_NR_WHITELIST_ENTRIES 1
|
2017-12-19 23:21:14 +01:00
|
|
|
|
|
|
|
#define MAX_NR_LE_DEVICE_DB_ENTRIES 1
|
|
|
|
|
2017-12-20 23:02:17 +01:00
|
|
|
#endif
|