xref: /btstack/port/posix-h4/btstack_config.h (revision 0d529a9fd2ec5ca26e925d42131cdae3e06d4906)
1*0d529a9fSMatthias Ringwald //
2*0d529a9fSMatthias Ringwald // btstack_config.h for generic POSIX H4 port
3*0d529a9fSMatthias Ringwald //
47907f069SMatthias Ringwald 
57907f069SMatthias Ringwald #ifndef __BTSTACK_CONFIG
67907f069SMatthias Ringwald #define __BTSTACK_CONFIG
77907f069SMatthias Ringwald 
8*0d529a9fSMatthias Ringwald // Port related features
9*0d529a9fSMatthias Ringwald #define HAVE_BZERO
10*0d529a9fSMatthias Ringwald #define HAVE_MALLOC
11*0d529a9fSMatthias Ringwald // #define HAVE_SCO
12*0d529a9fSMatthias Ringwald // #define HAVE_SCO_OVER_HCI
137907f069SMatthias Ringwald #define HAVE_SO_NOSIGPIPE
147907f069SMatthias Ringwald #define HAVE_TIME
15*0d529a9fSMatthias Ringwald 
16*0d529a9fSMatthias Ringwald // BTstack features that can be enabled
17*0d529a9fSMatthias Ringwald #define ENABLE_BLE
187907f069SMatthias Ringwald #define ENABLE_LOG_ERROR
19*0d529a9fSMatthias Ringwald #define ENABLE_LOG_INFO
202539bee6SMatthias Ringwald #define ENABLE_LOG_INTO_HCI_DUMP
217907f069SMatthias Ringwald #define ENABLE_SDP_DES_DUMP
227907f069SMatthias Ringwald 
23*0d529a9fSMatthias Ringwald // BTstack configuration. buffers, sizes, ...
24*0d529a9fSMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof benep heade, avoid memcpy
25*0d529a9fSMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
26*0d529a9fSMatthias Ringwald 
277907f069SMatthias Ringwald #endif
28*0d529a9fSMatthias Ringwald 
29