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
|
|
|
|
2016-01-21 20:27:06 +00:00
|
|
|
#ifndef __BTSTACK_CONFIG
|
|
|
|
#define __BTSTACK_CONFIG
|
|
|
|
|
|
|
|
// Port related features
|
|
|
|
#define HAVE_MALLOC
|
2016-10-03 09:26:44 +00:00
|
|
|
#define HAVE_POSIX_TIME
|
|
|
|
#define HAVE_POSIX_FILE_IO
|
2017-06-14 13:47:43 +00:00
|
|
|
#define HAVE_BTSTACK_STDIN
|
2012-01-20 22:53:32 +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
|
2017-07-05 14:46:12 +00:00
|
|
|
// #define ENABLE_LOG_DEBUG
|
2015-07-10 15:01:51 +00:00
|
|
|
#define ENABLE_LOG_ERROR
|
2016-01-21 20:27:06 +00:00
|
|
|
#define ENABLE_LOG_INFO
|
|
|
|
#define ENABLE_SDP_DES_DUMP
|
2016-01-21 14:33:36 +00:00
|
|
|
#define ENABLE_SDP_EXTRA_QUERIES
|
2016-06-10 11:47:11 +00:00
|
|
|
// #define ENABLE_LE_SECURE_CONNECTIONS
|
2017-01-13 18:30:00 +00:00
|
|
|
#define ENABLE_LE_SIGNED_WRITE
|
2017-01-14 21:24:22 +00:00
|
|
|
#define ENABLE_LE_PERIPHERAL
|
|
|
|
#define ENABLE_LE_CENTRAL
|
2017-07-05 14:46:12 +00:00
|
|
|
#define ENABLE_SDP_EXTRA_QUERIES
|
2017-07-10 18:44:55 +00:00
|
|
|
#define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
|
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-06-04 21:09:58 +00:00
|
|
|
#define NVM_NUM_LINK_KEYS 2
|
2017-08-14 14:45:48 +00:00
|
|
|
#define NVM_NUM_DEVICE_DB_ENTRIES 4
|
2017-06-04 21:09:58 +00:00
|
|
|
|
2015-08-20 15:23:36 +00:00
|
|
|
#endif
|