1 // 2 // btstack_config.h for Arduino port 3 // 4 // Documentation: https://bluekitchen-gmbh.com/btstack/#how_to/ 5 // 6 7 #ifndef BTSTACK_CONFIG_H 8 #define BTSTACK_CONFIG_H 9 10 // Port related features 11 #define HAVE_EMBEDDED_TIME_MS 12 13 // BTstack features that can be enabled 14 #define ENABLE_BLE 15 #define ENABLE_LE_CENTRAL 16 #define ENABLE_LE_PERIPHERAL 17 #define ENABLE_LOG_ERROR 18 #define ENABLE_LOG_INFO 19 #define ENABLE_PRINTF_HEXDUMP 20 21 // BTstack configuration. buffers, sizes, ... 22 #define HCI_ACL_PAYLOAD_SIZE 200 23 #define MAX_ATT_DB_SIZE 200 24 #define MAX_NR_GATT_CLIENTS 1 25 #define MAX_NR_HCI_CONNECTIONS 1 26 #define MAX_NR_L2CAP_CHANNELS 0 27 #define MAX_NR_L2CAP_SERVICES 0 28 #define MAX_NR_LE_DEVICE_DB_ENTRIES 1 29 #define MAX_NR_SM_LOOKUP_ENTRIES 3 30 #define MAX_NR_WHITELIST_ENTRIES 1 31 32 #endif 33