1 // 2 // btstack_config.h for WICED port 3 // 4 5 #ifndef __BTSTACK_CONFIG 6 #define __BTSTACK_CONFIG 7 8 // Port related features 9 #define HAVE_BTSTACK_STDIN 10 #define HAVE_EMBEDDED_TIME_MS 11 #define WICED_BT_UART_MANUAL_CTS_RTS 12 13 // BTstack features that can be enabled 14 #define ENABLE_BLE 15 #define ENABLE_CLASSIC 16 #define ENABLE_LE_PERIPHERAL 17 #define ENABLE_LE_CENTRAL 18 #define ENABLE_LE_SECURE_CONNECTIONS 19 #define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS 20 #define ENABLE_LE_DATA_LENGTH_EXTENSION 21 #define ENABLE_LOG_ERROR 22 #define ENABLE_LOG_INFO 23 24 // BTstack configuration. buffers, sizes, ... 25 #define HCI_ACL_PAYLOAD_SIZE 100 26 #define MAX_SPP_CONNECTIONS 1 27 #define MAX_NR_GATT_CLIENTS 1 28 #define MAX_NR_HCI_CONNECTIONS MAX_SPP_CONNECTIONS 29 #define MAX_NR_L2CAP_SERVICES 2 30 #define MAX_NR_L2CAP_CHANNELS (1+MAX_SPP_CONNECTIONS) 31 #define MAX_NR_RFCOMM_MULTIPLEXERS MAX_SPP_CONNECTIONS 32 #define MAX_NR_RFCOMM_SERVICES 1 33 #define MAX_NR_RFCOMM_CHANNELS MAX_SPP_CONNECTIONS 34 #define MAX_NR_BTSTACK_LINK_KEY_DB_MEMORY_ENTRIES 2 35 #define MAX_NR_BNEP_SERVICES 0 36 #define MAX_NR_BNEP_CHANNELS 0 37 #define MAX_NR_HFP_CONNECTIONS 0 38 #define MAX_NR_WHITELIST_ENTRIES 1 39 #define MAX_NR_SM_LOOKUP_ENTRIES 3 40 #define MAX_NR_SERVICE_RECORD_ITEMS 1 41 #define MAX_NR_LE_DEVICE_DB_ENTRIES 1 42 43 // WICED DCT used to store: 44 // - Num Classic Link Keys 45 #define NVM_NUM_LINK_KEYS 10 46 // - Num LE Device entries 47 #define NVM_NUM_LE_DEVICES 10 48 49 #endif 50