xref: /btstack/port/posix-h4/btstack_config.h (revision 1a6822024624aab466a9aff5f67325f81ed6d5e2)
10d529a9fSMatthias Ringwald //
20d529a9fSMatthias Ringwald // btstack_config.h for generic POSIX H4 port
30d529a9fSMatthias Ringwald //
47907f069SMatthias Ringwald 
57907f069SMatthias Ringwald #ifndef __BTSTACK_CONFIG
67907f069SMatthias Ringwald #define __BTSTACK_CONFIG
77907f069SMatthias Ringwald 
80d529a9fSMatthias Ringwald // Port related features
90d529a9fSMatthias Ringwald #define HAVE_MALLOC
10eb443d3dSMatthias Ringwald #define HAVE_POSIX_FILE_IO
11d0755cd6SMatthias Ringwald #define HAVE_POSIX_STDIN
12d0755cd6SMatthias Ringwald #define HAVE_POSIX_TIME
130d529a9fSMatthias Ringwald 
140d529a9fSMatthias Ringwald // BTstack features that can be enabled
150d529a9fSMatthias Ringwald #define ENABLE_BLE
1680b9a8caSMatthias Ringwald #define ENABLE_CLASSIC
17*1a682202SMatthias Ringwald #define ENABLE_LE_PERIPHERAL
18*1a682202SMatthias Ringwald #define ENABLE_LE_CENTRAL
196df11ce0SMatthias Ringwald #define ENABLE_LE_SECURE_CONNECTIONS
207907f069SMatthias Ringwald #define ENABLE_LOG_ERROR
210d529a9fSMatthias Ringwald #define ENABLE_LOG_INFO
222539bee6SMatthias Ringwald #define ENABLE_LOG_INTO_HCI_DUMP
2371c4de7aSMatthias Ringwald #define ENABLE_SCO_OVER_HCI
247907f069SMatthias Ringwald #define ENABLE_SDP_DES_DUMP
2547c58a2aSMatthias Ringwald // #define ENABLE_EHCILL
267907f069SMatthias Ringwald 
270d529a9fSMatthias Ringwald // BTstack configuration. buffers, sizes, ...
280d529a9fSMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof benep heade, avoid memcpy
290d529a9fSMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
300d529a9fSMatthias Ringwald 
317907f069SMatthias Ringwald #endif
320d529a9fSMatthias Ringwald 
33