xref: /btstack/test/btstack_config.h (revision df642728409348459951fd6c70661261eed66ffd)
12539bee6SMatthias Ringwald //
27353fdb4SMatthias Ringwald // btstack_config.h for most tests
32539bee6SMatthias Ringwald //
47907f069SMatthias Ringwald 
52539bee6SMatthias Ringwald #ifndef __BTSTACK_CONFIG
62539bee6SMatthias Ringwald #define __BTSTACK_CONFIG
72539bee6SMatthias Ringwald 
82539bee6SMatthias Ringwald // Port related features
92539bee6SMatthias Ringwald #define HAVE_MALLOC
1058e7732aSMatthias Ringwald #define HAVE_POSIX_TIME
1158e7732aSMatthias Ringwald #define HAVE_POSIX_FILE_IO
1256b31fadSMatthias Ringwald #define HAVE_BTSTACK_STDIN
132539bee6SMatthias Ringwald 
142539bee6SMatthias Ringwald // BTstack features that can be enabled
157907f069SMatthias Ringwald #define ENABLE_BLE
16532bc034SMatthias Ringwald #define ENABLE_CLASSIC
17*df642728SMilanka Ringwald // #define ENABLE_LOG_DEBUG
187907f069SMatthias Ringwald #define ENABLE_LOG_ERROR
192539bee6SMatthias Ringwald #define ENABLE_LOG_INFO
202539bee6SMatthias Ringwald #define ENABLE_SDP_DES_DUMP
217907f069SMatthias Ringwald #define ENABLE_SDP_EXTRA_QUERIES
22bba2e72aSMatthias Ringwald // #define ENABLE_LE_SECURE_CONNECTIONS
2302b78fc8SMatthias Ringwald #define ENABLE_LE_SIGNED_WRITE
247353fdb4SMatthias Ringwald #define ENABLE_LE_PERIPHERAL
257353fdb4SMatthias Ringwald #define ENABLE_LE_CENTRAL
26*df642728SMilanka Ringwald #define ENABLE_SDP_EXTRA_QUERIES
277907f069SMatthias Ringwald 
282539bee6SMatthias Ringwald // BTstack configuration. buffers, sizes, ...
297907f069SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 52
307907f069SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 4
31a713a5a8SMatthias Ringwald #define MAX_NR_LE_DEVICE_DB_ENTRIES 4
327907f069SMatthias Ringwald 
3325023b00SMatthias Ringwald #define NVM_NUM_LINK_KEYS 2
3425023b00SMatthias Ringwald 
357907f069SMatthias Ringwald #endif
36