1e1f90704SMatthias Ringwald // 2e1f90704SMatthias Ringwald // btstack_config.h for most tests 3e1f90704SMatthias Ringwald // 4e1f90704SMatthias Ringwald 5e1f90704SMatthias Ringwald #ifndef __BTSTACK_CONFIG 6e1f90704SMatthias Ringwald #define __BTSTACK_CONFIG 7e1f90704SMatthias Ringwald 8e1f90704SMatthias Ringwald // Port related features 9e1f90704SMatthias Ringwald #define HAVE_MALLOC 1090fe6d5fSMatthias Ringwald #define HAVE_EMBEDDED_TIME_MS 11e1f90704SMatthias Ringwald #define HAVE_POSIX_FILE_IO 12e1f90704SMatthias Ringwald #define HAVE_BTSTACK_STDIN 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*ecbd4bc0SMatthias Ringwald //#define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS 19*ecbd4bc0SMatthias Ringwald #define ENABLE_LE_SECURE_CONNECTIONS 20e1f90704SMatthias Ringwald #define ENABLE_LE_SIGNED_WRITE 21e1f90704SMatthias Ringwald #define ENABLE_LE_PERIPHERAL 22e1f90704SMatthias Ringwald #define ENABLE_LE_CENTRAL 23e1f90704SMatthias Ringwald #define ENABLE_SDP_EXTRA_QUERIES 24e1f90704SMatthias Ringwald #define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE 25e1f90704SMatthias Ringwald 26e1f90704SMatthias Ringwald // BTstack configuration. buffers, sizes, ... 27*ecbd4bc0SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 69 28e1f90704SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 4 29e1f90704SMatthias Ringwald 30e1f90704SMatthias Ringwald #define MAX_NR_LE_DEVICE_DB_ENTRIES 4 31e1f90704SMatthias Ringwald 32e1f90704SMatthias Ringwald #define NVM_NUM_LINK_KEYS 2 33e1f90704SMatthias Ringwald 34e1f90704SMatthias Ringwald #endif 35