btstack/test/btstack_config.h

40 lines
912 B
C
Raw Normal View History

//
2017-01-14 21:24:22 +00:00
// btstack_config.h for most tests
//
2012-01-20 22:53:32 +00:00
#ifndef BTSTACK_CONFIG_H
#define BTSTACK_CONFIG_H
// Port related features
#define HAVE_BTSTACK_STDIN
#define HAVE_MALLOC
#define HAVE_POSIX_FILE_IO
#define HAVE_POSIX_TIME
2012-01-20 22:53:32 +00:00
// BTstack features that can be enabled
#define ENABLE_BLE
2016-03-28 10:48:00 +00:00
#define ENABLE_CLASSIC
#define ENABLE_GATT_CLIENT_PAIRING
2015-07-10 15:01:51 +00:00
#define ENABLE_LOG_ERROR
#define ENABLE_LOG_INFO
2020-11-06 13:06:41 +00:00
#define ENABLE_PRINTF_HEXDUMP
#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
#define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
2017-01-14 21:24:22 +00:00
#define ENABLE_LE_CENTRAL
#define ENABLE_LE_PERIPHERAL
#define ENABLE_LE_SIGNED_WRITE
#define ENABLE_SDP_EXTRA_QUERIES
#define ENABLE_AVCTP_FRAGMENTATION
2012-01-20 22:53:32 +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
#define NVM_NUM_LINK_KEYS 2
#endif