1 // 2 // btstack_config.h for Arduino port 3 // 4 5 #ifndef __BTSTACK_CONFIG 6 #define __BTSTACK_CONFIG 7 8 // Port related features 9 #define HAVE_INIT_SCRIPT 10 #define HAVE_TIME 11 12 // BTstack features that can be enabled 13 #define ENABLE_BLE 14 #define ENABLE_LOG_DEBUG 15 #define ENABLE_LOG_ERROR 16 #define ENABLE_LOG_INFO 17 #define ENABLE_LOG_INTO_HCI_DUMP 18 #define ENABLE_SDP_DES_DUMP 19 #define ENABLE_SDP_EXTRA_QUERIES 20 21 // BTstack configuration. buffers, sizes, ... 22 #define HCI_ACL_PAYLOAD_SIZE 52 23 #define HCI_INCOMING_PRE_BUFFER_SIZE 4 24 25 #define MAX_NO_HCI_CONNECTIONS 0 26 #define MAX_NO_GATT_CLIENTS 0 27 #define MAX_NO_GATT_SUBCLIENTS 0 28 #define MAX_NO_L2CAP_SERVICES 0 29 #define MAX_NO_L2CAP_CHANNELS 0 30 #define MAX_NO_RFCOMM_MULTIPLEXERS 0 31 #define MAX_NO_RFCOMM_SERVICES 0 32 #define MAX_NO_RFCOMM_CHANNELS 0 33 #define MAX_NO_BNEP_SERVICES 0 34 #define MAX_NO_BNEP_CHANNELS 0 35 #define MAX_NO_BTSTACK_LINK_KEY_DB_MEMORY_ENTRIES 2 36 #define MAX_NO_HFP_CONNECTIONS 0 37 #define MAX_NO_WHITELIST_ENTRIES 0 38 #define MAX_NO_SM_LOOKUP_ENTRIES 0 39 #define MAX_NO_SERVICE_RECORD_ITEMS 0 40 41 #endif 42