12539bee6SMatthias Ringwald // 22539bee6SMatthias Ringwald // btstack_config.h for Arduino port 32539bee6SMatthias Ringwald // 42539bee6SMatthias Ringwald 57907f069SMatthias Ringwald #ifndef __BTSTACK_CONFIG 67907f069SMatthias Ringwald #define __BTSTACK_CONFIG 77907f069SMatthias Ringwald 82539bee6SMatthias Ringwald // Port related features 9aec7654dSMatthias Ringwald #define HAVE_EMBEDDED_TIME_MS 107907f069SMatthias Ringwald 110d529a9fSMatthias Ringwald // BTstack features that can be enabled 127907f069SMatthias Ringwald #define ENABLE_BLE 137907f069SMatthias Ringwald #define ENABLE_LOG_INFO 147907f069SMatthias Ringwald #define ENABLE_LOG_ERROR 151a682202SMatthias Ringwald #define ENABLE_LE_PERIPHERAL 161a682202SMatthias Ringwald #define ENABLE_LE_CENTRAL 177907f069SMatthias Ringwald 180d529a9fSMatthias Ringwald // BTstack configuration. buffers, sizes, ... 197907f069SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 200 20a265b909SMatthias Ringwald #define MAX_NR_BNEP_SERVICES 0 21a265b909SMatthias Ringwald #define MAX_NR_BNEP_CHANNELS 0 22a265b909SMatthias Ringwald #define MAX_NR_HCI_CONNECTIONS 1 23a265b909SMatthias Ringwald #define MAX_NR_L2CAP_SERVICES 0 24a265b909SMatthias Ringwald #define MAX_NR_L2CAP_CHANNELS 0 25a265b909SMatthias Ringwald #define MAX_NR_RFCOMM_MULTIPLEXERS 0 26a265b909SMatthias Ringwald #define MAX_NR_RFCOMM_SERVICES 0 27a265b909SMatthias Ringwald #define MAX_NR_RFCOMM_CHANNELS 0 28a265b909SMatthias Ringwald #define MAX_NR_BTSTACK_LINK_KEY_DB_MEMORY_ENTRIES 0 29a265b909SMatthias Ringwald #define MAX_NR_GATT_CLIENTS 1 307907f069SMatthias Ringwald #define MAX_ATT_DB_SIZE 200 31a265b909SMatthias Ringwald #define MAX_NR_HFP_CONNECTIONS 0 32a265b909SMatthias Ringwald #define MAX_NR_WHITELIST_ENTRIES 1 33a265b909SMatthias Ringwald #define MAX_NR_SM_LOOKUP_ENTRIES 3 34a265b909SMatthias Ringwald #define MAX_NR_SERVICE_RECORD_ITEMS 1 35*22aa1512SMatthias Ringwald #define MAX_NR_LE_DEVICE_DB_ENTRIES 1 367907f069SMatthias Ringwald #endif