1f9739491SMatthias Ringwald // 2f9739491SMatthias Ringwald // btstack_config.h for most tests 3f9739491SMatthias Ringwald // 4f9739491SMatthias Ringwald 502a3cd7fSMilanka Ringwald #ifndef BTSTACK_CONFIG_H 602a3cd7fSMilanka Ringwald #define BTSTACK_CONFIG_H 7f9739491SMatthias Ringwald 8f9739491SMatthias Ringwald // Port related features 902a3cd7fSMilanka Ringwald #define HAVE_BTSTACK_STDIN 1002a3cd7fSMilanka Ringwald #define HAVE_MALLOC 1102a3cd7fSMilanka Ringwald #define HAVE_POSIX_FILE_IO 1202a3cd7fSMilanka Ringwald #define HAVE_POSIX_TIME 13f9739491SMatthias Ringwald 14f9739491SMatthias Ringwald // BTstack features that can be enabled 1539426e8aSMilanka Ringwald #define ENABLE_ATT_DELAYED_RESPONSE 16f9739491SMatthias Ringwald #define ENABLE_BLE 17f9739491SMatthias Ringwald #define ENABLE_CLASSIC 18*e2c00bfeSMatthias Ringwald #define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS 1902a3cd7fSMilanka Ringwald #define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE 2002a3cd7fSMilanka Ringwald #define ENABLE_LE_CENTRAL 2102a3cd7fSMilanka Ringwald #define ENABLE_LE_PERIPHERAL 2202a3cd7fSMilanka Ringwald #define ENABLE_LE_SECURE_CONNECTIONS 2302a3cd7fSMilanka Ringwald #define ENABLE_LE_SIGNED_WRITE 24f9739491SMatthias Ringwald #define ENABLE_LOG_ERROR 25f9739491SMatthias Ringwald #define ENABLE_LOG_INFO 2639426e8aSMilanka Ringwald #define ENABLE_PRINTF_HEXDUMP 27f9739491SMatthias Ringwald #define ENABLE_SDP_DES_DUMP 28f9739491SMatthias Ringwald #define ENABLE_SDP_EXTRA_QUERIES 29ae970bb9SMilanka Ringwald #define ENABLE_SOFTWARE_AES128 30f9739491SMatthias Ringwald 31f9739491SMatthias Ringwald // BTstack configuration. buffers, sizes, ... 32f9739491SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 52 33f9739491SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 4 34f9739491SMatthias Ringwald 35f9739491SMatthias Ringwald #define MAX_NR_LE_DEVICE_DB_ENTRIES 4 36f9739491SMatthias Ringwald 37f9739491SMatthias Ringwald #define NVM_NUM_LINK_KEYS 2 38f9739491SMatthias Ringwald 39f9739491SMatthias Ringwald #endif 40