xref: /btstack/port/posix-h5/btstack_config.h (revision 1a6822024624aab466a9aff5f67325f81ed6d5e2)
194a5538cSMatthias Ringwald //
294a5538cSMatthias Ringwald // btstack_config.h for generic POSIX H4 port
394a5538cSMatthias Ringwald //
494a5538cSMatthias Ringwald 
594a5538cSMatthias Ringwald #ifndef __BTSTACK_CONFIG
694a5538cSMatthias Ringwald #define __BTSTACK_CONFIG
794a5538cSMatthias Ringwald 
894a5538cSMatthias Ringwald // Port related features
994a5538cSMatthias Ringwald #define HAVE_MALLOC
1094a5538cSMatthias Ringwald #define HAVE_POSIX_FILE_IO
1194a5538cSMatthias Ringwald #define HAVE_POSIX_STDIN
1294a5538cSMatthias Ringwald #define HAVE_POSIX_TIME
1394a5538cSMatthias Ringwald 
1494a5538cSMatthias Ringwald // BTstack features that can be enabled
1594a5538cSMatthias Ringwald #define ENABLE_BLE
1694a5538cSMatthias 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
2094a5538cSMatthias Ringwald #define ENABLE_LOG_ERROR
2194a5538cSMatthias Ringwald #define ENABLE_LOG_INFO
2294a5538cSMatthias Ringwald #define ENABLE_LOG_INTO_HCI_DUMP
2394a5538cSMatthias Ringwald #define ENABLE_SCO_OVER_HCI
2494a5538cSMatthias Ringwald #define ENABLE_SDP_DES_DUMP
2594a5538cSMatthias Ringwald 
2694a5538cSMatthias Ringwald // BTstack configuration. buffers, sizes, ...
2794a5538cSMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof benep heade, avoid memcpy
2894a5538cSMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
2994a5538cSMatthias Ringwald 
3094a5538cSMatthias Ringwald #endif
3194a5538cSMatthias Ringwald 
32