xref: /btstack/test/gatt_client/btstack_config.h (revision 392ab97ecb7e01e46dc7f5056f7600ba33e4ca9f)
1*392ab97eSMatthias Ringwald //
2*392ab97eSMatthias Ringwald // btstack_config.h for most tests
3*392ab97eSMatthias Ringwald //
4*392ab97eSMatthias Ringwald 
5*392ab97eSMatthias Ringwald #ifndef __BTSTACK_CONFIG
6*392ab97eSMatthias Ringwald #define __BTSTACK_CONFIG
7*392ab97eSMatthias Ringwald 
8*392ab97eSMatthias Ringwald // Port related features
9*392ab97eSMatthias Ringwald #define HAVE_MALLOC
10*392ab97eSMatthias Ringwald #define HAVE_POSIX_TIME
11*392ab97eSMatthias Ringwald #define HAVE_POSIX_FILE_IO
12*392ab97eSMatthias Ringwald #define HAVE_BTSTACK_STDIN
13*392ab97eSMatthias Ringwald 
14*392ab97eSMatthias Ringwald // BTstack features that can be enabled
15*392ab97eSMatthias Ringwald #define ENABLE_BLE
16*392ab97eSMatthias Ringwald #define ENABLE_CLASSIC
17*392ab97eSMatthias Ringwald // #define ENABLE_LOG_DEBUG
18*392ab97eSMatthias Ringwald #define ENABLE_LOG_ERROR
19*392ab97eSMatthias Ringwald #define ENABLE_LOG_INFO
20*392ab97eSMatthias Ringwald #define ENABLE_SDP_DES_DUMP
21*392ab97eSMatthias Ringwald #define ENABLE_SDP_EXTRA_QUERIES
22*392ab97eSMatthias Ringwald // #define ENABLE_LE_SECURE_CONNECTIONS
23*392ab97eSMatthias Ringwald #define ENABLE_LE_SIGNED_WRITE
24*392ab97eSMatthias Ringwald #define ENABLE_LE_PERIPHERAL
25*392ab97eSMatthias Ringwald #define ENABLE_LE_CENTRAL
26*392ab97eSMatthias Ringwald #define ENABLE_SDP_EXTRA_QUERIES
27*392ab97eSMatthias Ringwald #define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
28*392ab97eSMatthias Ringwald 
29*392ab97eSMatthias Ringwald // BTstack configuration. buffers, sizes, ...
30*392ab97eSMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 52
31*392ab97eSMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 4
32*392ab97eSMatthias Ringwald 
33*392ab97eSMatthias Ringwald #define MAX_NR_LE_DEVICE_DB_ENTRIES 4
34*392ab97eSMatthias Ringwald 
35*392ab97eSMatthias Ringwald #define NVM_NUM_LINK_KEYS 2
36*392ab97eSMatthias Ringwald 
37*392ab97eSMatthias Ringwald #endif
38