xref: /btstack/test/btstack_config.h (revision f2466b5e43c2c83076c219dee60bf1bfd86544b7)
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
1073843592SMatthias Ringwald #define HAVE_ASSERT
1158e7732aSMatthias Ringwald #define HAVE_POSIX_TIME
1258e7732aSMatthias Ringwald #define HAVE_POSIX_FILE_IO
1356b31fadSMatthias Ringwald #define HAVE_BTSTACK_STDIN
140ec8b674SMatthias Ringwald #define HAVE_ASSERT
152539bee6SMatthias Ringwald 
16*f2466b5eSMatthias Ringwald 
172539bee6SMatthias Ringwald // BTstack features that can be enabled
187907f069SMatthias Ringwald #define ENABLE_BLE
19532bc034SMatthias Ringwald #define ENABLE_CLASSIC
20df642728SMilanka Ringwald // #define ENABLE_LOG_DEBUG
217907f069SMatthias Ringwald #define ENABLE_LOG_ERROR
222539bee6SMatthias Ringwald #define ENABLE_LOG_INFO
232539bee6SMatthias Ringwald #define ENABLE_SDP_DES_DUMP
247907f069SMatthias Ringwald #define ENABLE_SDP_EXTRA_QUERIES
25bba2e72aSMatthias Ringwald // #define ENABLE_LE_SECURE_CONNECTIONS
2602b78fc8SMatthias Ringwald #define ENABLE_LE_SIGNED_WRITE
277353fdb4SMatthias Ringwald #define ENABLE_LE_PERIPHERAL
287353fdb4SMatthias Ringwald #define ENABLE_LE_CENTRAL
29df642728SMilanka Ringwald #define ENABLE_SDP_EXTRA_QUERIES
3005fa60dbSMatthias Ringwald #define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
31*f2466b5eSMatthias Ringwald #define ENABLE_BTP
327907f069SMatthias Ringwald 
332539bee6SMatthias Ringwald // BTstack configuration. buffers, sizes, ...
342ee0e329SMilanka Ringwald #define HCI_ACL_PAYLOAD_SIZE 1024
35a4f7d0a0SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 6
3625023b00SMatthias Ringwald #define NVM_NUM_LINK_KEYS 2
37ee329653SMatthias Ringwald #define NVM_NUM_DEVICE_DB_ENTRIES 4
3825023b00SMatthias Ringwald 
397907f069SMatthias Ringwald #endif
40