xref: /btstack/port/posix-h4/btstack_config.h (revision eb443d3d86c07c2f7d7973304b0b4dac8f914382)
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_BZERO
100d529a9fSMatthias Ringwald #define HAVE_MALLOC
11*eb443d3dSMatthias Ringwald #define HAVE_POSIX_FILE_IO
120d529a9fSMatthias Ringwald // #define HAVE_SCO
130d529a9fSMatthias Ringwald // #define HAVE_SCO_OVER_HCI
147907f069SMatthias Ringwald #define HAVE_SO_NOSIGPIPE
157907f069SMatthias Ringwald #define HAVE_TIME
160d529a9fSMatthias Ringwald 
170d529a9fSMatthias Ringwald // BTstack features that can be enabled
180d529a9fSMatthias Ringwald #define ENABLE_BLE
197907f069SMatthias Ringwald #define ENABLE_LOG_ERROR
200d529a9fSMatthias Ringwald #define ENABLE_LOG_INFO
212539bee6SMatthias Ringwald #define ENABLE_LOG_INTO_HCI_DUMP
227907f069SMatthias Ringwald #define ENABLE_SDP_DES_DUMP
237907f069SMatthias Ringwald 
240d529a9fSMatthias Ringwald // BTstack configuration. buffers, sizes, ...
250d529a9fSMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof benep heade, avoid memcpy
260d529a9fSMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
270d529a9fSMatthias Ringwald 
287907f069SMatthias Ringwald #endif
290d529a9fSMatthias Ringwald 
30