1*af7c3ae6SMatthias Ringwald // 2*af7c3ae6SMatthias Ringwald // btstack_config.h for most tests 3*af7c3ae6SMatthias Ringwald // 4*af7c3ae6SMatthias Ringwald 5*af7c3ae6SMatthias Ringwald #ifndef BTSTACK_CONFIG_H 6*af7c3ae6SMatthias Ringwald #define BTSTACK_CONFIG_H 7*af7c3ae6SMatthias Ringwald 8*af7c3ae6SMatthias Ringwald // Port related features 9*af7c3ae6SMatthias Ringwald #define HAVE_BTSTACK_STDIN 10*af7c3ae6SMatthias Ringwald #define HAVE_MALLOC 11*af7c3ae6SMatthias Ringwald #define HAVE_POSIX_FILE_IO 12*af7c3ae6SMatthias Ringwald #define HAVE_POSIX_TIME 13*af7c3ae6SMatthias Ringwald 14*af7c3ae6SMatthias Ringwald 15*af7c3ae6SMatthias Ringwald // BTstack features that can be enabled 16*af7c3ae6SMatthias Ringwald #define ENABLE_CLASSIC 17*af7c3ae6SMatthias Ringwald #define ENABLE_BLE 18*af7c3ae6SMatthias Ringwald #define ENABLE_LOG_ERROR 19*af7c3ae6SMatthias Ringwald #define ENABLE_LOG_INFO 20*af7c3ae6SMatthias Ringwald #define ENABLE_PRINTF_HEXDUMP 21*af7c3ae6SMatthias Ringwald 22*af7c3ae6SMatthias Ringwald #define ENABLE_LE_CENTRAL 23*af7c3ae6SMatthias Ringwald #define ENABLE_LE_PERIPHERAL 24*af7c3ae6SMatthias Ringwald #define ENABLE_L2CAP_LE_CREDIT_BASED_FLOW_CONTROL_MODE 25*af7c3ae6SMatthias Ringwald #define ENABLE_L2CAP_ENHANCED_CREDIT_BASED_FLOW_CONTROL_MODE 26*af7c3ae6SMatthias Ringwald 27*af7c3ae6SMatthias Ringwald // for ready-to-use hci channels 28*af7c3ae6SMatthias Ringwald #define FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION 29*af7c3ae6SMatthias Ringwald 30*af7c3ae6SMatthias Ringwald // BTstack configuration. buffers, sizes, ... 31*af7c3ae6SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 52 32*af7c3ae6SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 4 33*af7c3ae6SMatthias Ringwald 34*af7c3ae6SMatthias Ringwald #endif 35