xref: /btstack/test/btstack_config.h (revision 73843592cef87e0341f73e59d25b500c18c39ab6)
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
10*73843592SMatthias Ringwald #define HAVE_ASSERT
1158e7732aSMatthias Ringwald #define HAVE_POSIX_TIME
1258e7732aSMatthias Ringwald #define HAVE_POSIX_FILE_IO
1356b31fadSMatthias Ringwald #define HAVE_BTSTACK_STDIN
142539bee6SMatthias Ringwald 
152539bee6SMatthias Ringwald // BTstack features that can be enabled
167907f069SMatthias Ringwald #define ENABLE_BLE
17532bc034SMatthias Ringwald #define ENABLE_CLASSIC
18df642728SMilanka Ringwald // #define ENABLE_LOG_DEBUG
197907f069SMatthias Ringwald #define ENABLE_LOG_ERROR
202539bee6SMatthias Ringwald #define ENABLE_LOG_INFO
212539bee6SMatthias Ringwald #define ENABLE_SDP_DES_DUMP
227907f069SMatthias Ringwald #define ENABLE_SDP_EXTRA_QUERIES
23bba2e72aSMatthias Ringwald // #define ENABLE_LE_SECURE_CONNECTIONS
2402b78fc8SMatthias Ringwald #define ENABLE_LE_SIGNED_WRITE
257353fdb4SMatthias Ringwald #define ENABLE_LE_PERIPHERAL
267353fdb4SMatthias Ringwald #define ENABLE_LE_CENTRAL
27df642728SMilanka Ringwald #define ENABLE_SDP_EXTRA_QUERIES
2805fa60dbSMatthias Ringwald #define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
297907f069SMatthias Ringwald 
302539bee6SMatthias Ringwald // BTstack configuration. buffers, sizes, ...
312ee0e329SMilanka Ringwald #define HCI_ACL_PAYLOAD_SIZE 1024
32a4f7d0a0SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 6
3325023b00SMatthias Ringwald #define NVM_NUM_LINK_KEYS 2
34ee329653SMatthias Ringwald #define NVM_NUM_DEVICE_DB_ENTRIES 4
3525023b00SMatthias Ringwald 
367907f069SMatthias Ringwald #endif
37