1 // 2 // btstack_config.h for WICED H4 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_BTSTACK_STDIN 12 #define HAVE_EMBEDDED_TIME_MS 13 #define WICED_BT_UART_MANUAL_CTS_RTS 14 15 // BTstack features that can be enabled 16 #define ENABLE_BLE 17 #define ENABLE_CLASSIC 18 #define ENABLE_LE_CENTRAL 19 #define ENABLE_L2CAP_LE_CREDIT_BASED_FLOW_CONTROL_MODE 20 #define ENABLE_LE_DATA_LENGTH_EXTENSION 21 #define ENABLE_LE_PERIPHERAL 22 #define ENABLE_LE_SECURE_CONNECTIONS 23 #define ENABLE_LOG_ERROR 24 #define ENABLE_LOG_INFO 25 #define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS 26 #define ENABLE_PRINTF_HEXDUMP 27 28 // BTstack configuration. buffers, sizes, ... 29 #define HCI_ACL_PAYLOAD_SIZE 100 30 #define MAX_NR_BNEP_CHANNELS 0 31 #define MAX_NR_BNEP_SERVICES 0 32 #define MAX_NR_BTSTACK_LINK_KEY_DB_MEMORY_ENTRIES 2 33 #define MAX_NR_GATT_CLIENTS 1 34 #define MAX_NR_HCI_CONNECTIONS MAX_SPP_CONNECTIONS 35 #define MAX_NR_HFP_CONNECTIONS 0 36 #define MAX_NR_L2CAP_CHANNELS (1+MAX_SPP_CONNECTIONS) 37 #define MAX_NR_L2CAP_SERVICES 2 38 #define MAX_NR_LE_DEVICE_DB_ENTRIES 1 39 #define MAX_NR_RFCOMM_CHANNELS MAX_SPP_CONNECTIONS 40 #define MAX_NR_RFCOMM_MULTIPLEXERS MAX_SPP_CONNECTIONS 41 #define MAX_NR_RFCOMM_SERVICES 1 42 #define MAX_NR_SERVICE_RECORD_ITEMS 4 43 #define MAX_NR_SM_LOOKUP_ENTRIES 3 44 #define MAX_NR_WHITELIST_ENTRIES 1 45 #define MAX_SPP_CONNECTIONS 1 46 47 #define NVM_NUM_LINK_KEYS 10 48 49 // TODO: only use NVM_NUM_LE_DEVICES 50 #define NVM_NUM_DEVICE_DB_ENTRIES 16 51 #define NVM_NUM_LE_DEVICES 16 52 53 #endif 54