1*94a5538cSMatthias Ringwald // 2*94a5538cSMatthias Ringwald // btstack_config.h for generic POSIX H4 port 3*94a5538cSMatthias Ringwald // 4*94a5538cSMatthias Ringwald 5*94a5538cSMatthias Ringwald #ifndef __BTSTACK_CONFIG 6*94a5538cSMatthias Ringwald #define __BTSTACK_CONFIG 7*94a5538cSMatthias Ringwald 8*94a5538cSMatthias Ringwald // Port related features 9*94a5538cSMatthias Ringwald #define HAVE_MALLOC 10*94a5538cSMatthias Ringwald #define HAVE_POSIX_FILE_IO 11*94a5538cSMatthias Ringwald #define HAVE_POSIX_STDIN 12*94a5538cSMatthias Ringwald #define HAVE_POSIX_TIME 13*94a5538cSMatthias Ringwald 14*94a5538cSMatthias Ringwald // BTstack features that can be enabled 15*94a5538cSMatthias Ringwald #define ENABLE_BLE 16*94a5538cSMatthias Ringwald #define ENABLE_CLASSIC 17*94a5538cSMatthias Ringwald #define ENABLE_LOG_ERROR 18*94a5538cSMatthias Ringwald #define ENABLE_LOG_INFO 19*94a5538cSMatthias Ringwald #define ENABLE_LOG_INTO_HCI_DUMP 20*94a5538cSMatthias Ringwald #define ENABLE_SCO_OVER_HCI 21*94a5538cSMatthias Ringwald #define ENABLE_SDP_DES_DUMP 22*94a5538cSMatthias Ringwald 23*94a5538cSMatthias Ringwald // BTstack configuration. buffers, sizes, ... 24*94a5538cSMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof benep heade, avoid memcpy 25*94a5538cSMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4) 26*94a5538cSMatthias Ringwald 27*94a5538cSMatthias Ringwald #endif 28*94a5538cSMatthias Ringwald 29