1e1f90704SMatthias Ringwald // 2e1f90704SMatthias Ringwald // btstack_config.h for most tests 3e1f90704SMatthias Ringwald // 4e1f90704SMatthias Ringwald 502a3cd7fSMilanka Ringwald #ifndef BTSTACK_CONFIG_H 602a3cd7fSMilanka Ringwald #define BTSTACK_CONFIG_H 7e1f90704SMatthias Ringwald 8e1f90704SMatthias Ringwald // Port related features 9e1f90704SMatthias Ringwald #define HAVE_BTSTACK_STDIN 1002a3cd7fSMilanka Ringwald #define HAVE_EMBEDDED_TIME_MS 1102a3cd7fSMilanka Ringwald #define HAVE_MALLOC 1202a3cd7fSMilanka Ringwald #define HAVE_POSIX_FILE_IO 13e1f90704SMatthias Ringwald 14e1f90704SMatthias Ringwald // BTstack features that can be enabled 15e1f90704SMatthias Ringwald #define ENABLE_BLE 16e1f90704SMatthias Ringwald #define ENABLE_LOG_ERROR 17e1f90704SMatthias Ringwald #define ENABLE_LOG_INFO 18*39426e8aSMilanka Ringwald #define ENABLE_PRINTF_HEXDUMP 1902a3cd7fSMilanka Ringwald 20ecbd4bc0SMatthias Ringwald //#define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS 2102a3cd7fSMilanka Ringwald #define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE 2202a3cd7fSMilanka Ringwald #define ENABLE_LE_CENTRAL 2302a3cd7fSMilanka Ringwald #define ENABLE_LE_PERIPHERAL 24ecbd4bc0SMatthias Ringwald #define ENABLE_LE_SECURE_CONNECTIONS 25e1f90704SMatthias Ringwald #define ENABLE_LE_SIGNED_WRITE 26e1f90704SMatthias Ringwald #define ENABLE_SDP_EXTRA_QUERIES 27e1f90704SMatthias Ringwald 28e1f90704SMatthias Ringwald // BTstack configuration. buffers, sizes, ... 29ecbd4bc0SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 69 30e1f90704SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 4 31e1f90704SMatthias Ringwald 32e1f90704SMatthias Ringwald #define MAX_NR_LE_DEVICE_DB_ENTRIES 4 33e1f90704SMatthias Ringwald 34e1f90704SMatthias Ringwald #define NVM_NUM_LINK_KEYS 2 35e1f90704SMatthias Ringwald 36e1f90704SMatthias Ringwald #endif 37