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