11f805efeSMatthias Ringwald // 21f805efeSMatthias Ringwald // btstack_config.h for test/fuzz 31f805efeSMatthias Ringwald // 41f805efeSMatthias Ringwald 502a3cd7fSMilanka Ringwald #ifndef BTSTACK_CONFIG_H 602a3cd7fSMilanka Ringwald #define BTSTACK_CONFIG_H 71f805efeSMatthias Ringwald 8eddac615SMatthias Ringwald #define FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION 9eddac615SMatthias Ringwald 101f805efeSMatthias Ringwald // Port related features 11*77ae25edSMatthias Ringwald #define HAVE_ASSERT 1202a3cd7fSMilanka Ringwald #define HAVE_BTSTACK_STDIN 131f805efeSMatthias Ringwald #define HAVE_MALLOC 141f805efeSMatthias Ringwald #define HAVE_POSIX_FILE_IO 151f805efeSMatthias Ringwald #define HAVE_POSIX_TIME 161f805efeSMatthias Ringwald 171f805efeSMatthias Ringwald // BTstack features that can be enabled 1802a3cd7fSMilanka Ringwald #define ENABLE_ATT_DELAYED_RESPONSE 191f805efeSMatthias Ringwald #define ENABLE_BLE 201f805efeSMatthias Ringwald #define ENABLE_CLASSIC 211f805efeSMatthias Ringwald #define ENABLE_HFP_WIDE_BAND_SPEECH 221f805efeSMatthias Ringwald #define ENABLE_LE_CENTRAL 23b28dc800SMatthias Ringwald #define ENABLE_L2CAP_LE_CREDIT_BASED_FLOW_CONTROL_MODE 2402a3cd7fSMilanka Ringwald #define ENABLE_LE_DATA_LENGTH_EXTENSION 251f805efeSMatthias Ringwald #define ENABLE_LE_PERIPHERAL 261f805efeSMatthias Ringwald #define ENABLE_LE_SECURE_CONNECTIONS 271f805efeSMatthias Ringwald #define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS 2839426e8aSMilanka Ringwald #define ENABLE_PRINTF_HEXDUMP 2902a3cd7fSMilanka Ringwald 301f805efeSMatthias Ringwald //#define ENABLE_LOG_ERROR 311f805efeSMatthias Ringwald //#define ENABLE_LOG_INFO 3202a3cd7fSMilanka Ringwald #define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE 331f805efeSMatthias Ringwald #define ENABLE_SCO_OVER_HCI 341f805efeSMatthias Ringwald #define ENABLE_SDP_DES_DUMP 351f805efeSMatthias Ringwald #define ENABLE_SOFTWARE_AES128 361f805efeSMatthias Ringwald 371f805efeSMatthias Ringwald // BTstack configuration. buffers, sizes, ... 381f805efeSMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4) 391f805efeSMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof BNEP header, avoid memcpy 401f805efeSMatthias Ringwald 411f805efeSMatthias Ringwald #define NVM_NUM_DEVICE_DB_ENTRIES 20 4202a3cd7fSMilanka Ringwald #define NVM_NUM_LINK_KEYS 16 431f805efeSMatthias Ringwald 441f805efeSMatthias Ringwald // Mesh Configuration 451f805efeSMatthias Ringwald #define ENABLE_MESH 461f805efeSMatthias Ringwald #define ENABLE_MESH_ADV_BEARER 471f805efeSMatthias Ringwald #define ENABLE_MESH_GATT_BEARER 481f805efeSMatthias Ringwald #define ENABLE_MESH_PB_ADV 491f805efeSMatthias Ringwald #define ENABLE_MESH_PB_GATT 501f805efeSMatthias Ringwald #define ENABLE_MESH_PROVISIONER 5102a3cd7fSMilanka Ringwald #define ENABLE_MESH_PROXY_SERVER 521f805efeSMatthias Ringwald 5302a3cd7fSMilanka Ringwald #define MAX_NR_MESH_SUBNETS 2 541f805efeSMatthias Ringwald #define MAX_NR_MESH_TRANSPORT_KEYS 16 551f805efeSMatthias Ringwald #define MAX_NR_MESH_VIRTUAL_ADDRESSES 16 561f805efeSMatthias Ringwald 571f805efeSMatthias Ringwald // allow for one NetKey update 581f805efeSMatthias Ringwald #define MAX_NR_MESH_NETWORK_KEYS (MAX_NR_MESH_SUBNETS+1) 591f805efeSMatthias Ringwald 601f805efeSMatthias Ringwald #endif 611f805efeSMatthias Ringwald 62