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
|
|
|
|
2020-11-06 14:03:27 +01:00
|
|
|
#ifndef BTSTACK_CONFIG_H
|
|
|
|
#define BTSTACK_CONFIG_H
|
2016-01-21 21:27:06 +01:00
|
|
|
|
|
|
|
// Port related features
|
2020-11-06 14:03:27 +01: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 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
|
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
|
2020-11-06 14:03:27 +01:00
|
|
|
#define ENABLE_LOG_INFO
|
2020-11-06 14:06:41 +01:00
|
|
|
#define ENABLE_PRINTF_HEXDUMP
|
2016-01-21 21:27:06 +01:00
|
|
|
#define ENABLE_SDP_DES_DUMP
|
2016-01-21 15:33:36 +01:00
|
|
|
#define ENABLE_SDP_EXTRA_QUERIES
|
2020-11-06 14:03:27 +01:00
|
|
|
|
2016-06-10 13:47:11 +02:00
|
|
|
// #define ENABLE_LE_SECURE_CONNECTIONS
|
2020-11-06 14:03:27 +01:00
|
|
|
#define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
|
2017-01-14 22:24:22 +01:00
|
|
|
#define ENABLE_LE_CENTRAL
|
2020-11-06 14:03:27 +01:00
|
|
|
#define ENABLE_LE_PERIPHERAL
|
|
|
|
#define ENABLE_LE_SIGNED_WRITE
|
2017-07-05 16:46:12 +02:00
|
|
|
#define ENABLE_SDP_EXTRA_QUERIES
|
2021-05-21 14:05:15 +02:00
|
|
|
#define ENABLE_AVCTP_FRAGMENTATION
|
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-08-14 16:45:48 +02:00
|
|
|
#define NVM_NUM_DEVICE_DB_ENTRIES 4
|
2020-11-06 14:03:27 +01:00
|
|
|
#define NVM_NUM_LINK_KEYS 2
|
2017-06-04 23:09:58 +02:00
|
|
|
|
2015-08-20 17:23:36 +02:00
|
|
|
#endif
|