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 9*aec7654dSMatthias Ringwald #define HAVE_EMBEDDED_TIME_MS 107907f069SMatthias Ringwald 110d529a9fSMatthias Ringwald // BTstack features that can be enabled 127907f069SMatthias Ringwald #define ENABLE_BLE 1380b9a8caSMatthias Ringwald #define ENABLE_CLASSIC 142539bee6SMatthias Ringwald #define ENABLE_LOG_INTO_HCI_DUMP 157907f069SMatthias Ringwald #define ENABLE_LOG_INFO 167907f069SMatthias Ringwald #define ENABLE_LOG_ERROR 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_GATT_SUBCLIENTS 2 23a265b909SMatthias Ringwald #define MAX_NR_HCI_CONNECTIONS 1 24a265b909SMatthias Ringwald #define MAX_NR_L2CAP_SERVICES 0 25a265b909SMatthias Ringwald #define MAX_NR_L2CAP_CHANNELS 0 26a265b909SMatthias Ringwald #define MAX_NR_RFCOMM_MULTIPLEXERS 0 27a265b909SMatthias Ringwald #define MAX_NR_RFCOMM_SERVICES 0 28a265b909SMatthias Ringwald #define MAX_NR_RFCOMM_CHANNELS 0 29a265b909SMatthias Ringwald #define MAX_NR_BTSTACK_LINK_KEY_DB_MEMORY_ENTRIES 0 30a265b909SMatthias Ringwald #define MAX_NR_GATT_CLIENTS 1 317907f069SMatthias Ringwald #define MAX_ATT_DB_SIZE 200 32a265b909SMatthias Ringwald #define MAX_NR_HFP_CONNECTIONS 0 33a265b909SMatthias Ringwald #define MAX_NR_WHITELIST_ENTRIES 1 34a265b909SMatthias Ringwald #define MAX_NR_SM_LOOKUP_ENTRIES 3 35a265b909SMatthias Ringwald #define MAX_NR_SERVICE_RECORD_ITEMS 1 367907f069SMatthias Ringwald #endif