2016-01-21 20:27:06 +00:00
|
|
|
//
|
2017-01-14 21:24:22 +00:00
|
|
|
// btstack_config.h for most tests
|
2016-01-21 20:27:06 +00:00
|
|
|
//
|
2012-01-20 22:53:32 +00:00
|
|
|
|
2020-11-06 13:03:27 +00:00
|
|
|
#ifndef BTSTACK_CONFIG_H
|
|
|
|
#define BTSTACK_CONFIG_H
|
2016-01-21 20:27:06 +00:00
|
|
|
|
|
|
|
// Port related features
|
2020-11-06 13:03:27 +00:00
|
|
|
#define HAVE_BTSTACK_STDIN
|
|
|
|
#define HAVE_MALLOC
|
|
|
|
#define HAVE_POSIX_FILE_IO
|
|
|
|
#define HAVE_POSIX_TIME
|
2012-01-20 22:53:32 +00:00
|
|
|
|
2019-12-18 16:44:49 +00:00
|
|
|
|
2016-01-21 20:27:06 +00:00
|
|
|
// BTstack features that can be enabled
|
|
|
|
#define ENABLE_BLE
|
2016-03-28 10:48:00 +00:00
|
|
|
#define ENABLE_CLASSIC
|
2019-12-21 21:11:04 +00:00
|
|
|
#define ENABLE_GATT_CLIENT_PAIRING
|
2015-07-10 15:01:51 +00:00
|
|
|
#define ENABLE_LOG_ERROR
|
2020-11-06 13:03:27 +00:00
|
|
|
#define ENABLE_LOG_INFO
|
2020-11-06 13:06:41 +00:00
|
|
|
#define ENABLE_PRINTF_HEXDUMP
|
2016-01-21 20:27:06 +00:00
|
|
|
#define ENABLE_SDP_DES_DUMP
|
2016-01-21 14:33:36 +00:00
|
|
|
#define ENABLE_SDP_EXTRA_QUERIES
|
2020-11-06 13:03:27 +00:00
|
|
|
|
2016-06-10 11:47:11 +00:00
|
|
|
// #define ENABLE_LE_SECURE_CONNECTIONS
|
2020-11-06 13:03:27 +00:00
|
|
|
#define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
|
2017-01-14 21:24:22 +00:00
|
|
|
#define ENABLE_LE_CENTRAL
|
2020-11-06 13:03:27 +00:00
|
|
|
#define ENABLE_LE_PERIPHERAL
|
|
|
|
#define ENABLE_LE_SIGNED_WRITE
|
2017-07-05 14:46:12 +00:00
|
|
|
#define ENABLE_SDP_EXTRA_QUERIES
|
2012-01-20 22:53:32 +00:00
|
|
|
|
2016-01-21 20:27:06 +00:00
|
|
|
// BTstack configuration. buffers, sizes, ...
|
2017-12-13 13:31:44 +00:00
|
|
|
#define HCI_ACL_PAYLOAD_SIZE 1024
|
2017-12-13 15:52:44 +00:00
|
|
|
#define HCI_INCOMING_PRE_BUFFER_SIZE 6
|
2017-08-14 14:45:48 +00:00
|
|
|
#define NVM_NUM_DEVICE_DB_ENTRIES 4
|
2020-11-06 13:03:27 +00:00
|
|
|
#define NVM_NUM_LINK_KEYS 2
|
2017-06-04 21:09:58 +00:00
|
|
|
|
2015-08-20 15:23:36 +00:00
|
|
|
#endif
|