xref: /btstack/port/wiced-h4/btstack_config.h (revision b435e06234e531c17261f382423cd8c2f23dc22d)
186a86a65SMatthias Ringwald //
286a86a65SMatthias Ringwald // btstack_config.h for WICED port
386a86a65SMatthias Ringwald //
486a86a65SMatthias Ringwald 
586a86a65SMatthias Ringwald #ifndef __BTSTACK_CONFIG
686a86a65SMatthias Ringwald #define __BTSTACK_CONFIG
786a86a65SMatthias Ringwald 
886a86a65SMatthias Ringwald // Port related features
986a86a65SMatthias Ringwald #define HAVE_EMBEDDED_TIME_MS
1086a86a65SMatthias Ringwald #define WICED_BT_UART_MANUAL_CTS_RTS
1186a86a65SMatthias Ringwald 
1286a86a65SMatthias Ringwald // BTstack features that can be enabled
1386a86a65SMatthias Ringwald #define ENABLE_BLE
1486a86a65SMatthias Ringwald #define ENABLE_CLASSIC
1586a86a65SMatthias Ringwald #define ENABLE_LE_PERIPHERAL
1686a86a65SMatthias Ringwald #define ENABLE_LE_CENTRAL
1786a86a65SMatthias Ringwald #define ENABLE_LE_SECURE_CONNECTIONS
18*b435e062SMatthias Ringwald #define ENABLE_LE_DATA_LENGTH_EXTENSION
1986a86a65SMatthias Ringwald #define ENABLE_LOG_ERROR
2013e71c7bSMatthias Ringwald #define ENABLE_LOG_INFO
2186a86a65SMatthias Ringwald 
2286a86a65SMatthias Ringwald // BTstack configuration. buffers, sizes, ...
2386a86a65SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 100
2486a86a65SMatthias Ringwald #define MAX_SPP_CONNECTIONS 1
2586a86a65SMatthias Ringwald #define MAX_NR_GATT_CLIENTS 1
2686a86a65SMatthias Ringwald #define MAX_NR_HCI_CONNECTIONS MAX_SPP_CONNECTIONS
2786a86a65SMatthias Ringwald #define MAX_NR_L2CAP_SERVICES  2
2886a86a65SMatthias Ringwald #define MAX_NR_L2CAP_CHANNELS  (1+MAX_SPP_CONNECTIONS)
2986a86a65SMatthias Ringwald #define MAX_NR_RFCOMM_MULTIPLEXERS MAX_SPP_CONNECTIONS
3086a86a65SMatthias Ringwald #define MAX_NR_RFCOMM_SERVICES 1
3186a86a65SMatthias Ringwald #define MAX_NR_RFCOMM_CHANNELS MAX_SPP_CONNECTIONS
3286a86a65SMatthias Ringwald #define MAX_NR_BTSTACK_LINK_KEY_DB_MEMORY_ENTRIES 2
3386a86a65SMatthias Ringwald #define MAX_NR_BNEP_SERVICES 0
3486a86a65SMatthias Ringwald #define MAX_NR_BNEP_CHANNELS 0
3586a86a65SMatthias Ringwald #define MAX_NR_HFP_CONNECTIONS 0
3686a86a65SMatthias Ringwald #define MAX_NR_WHITELIST_ENTRIES 1
3786a86a65SMatthias Ringwald #define MAX_NR_SM_LOOKUP_ENTRIES 3
3886a86a65SMatthias Ringwald #define MAX_NR_SERVICE_RECORD_ITEMS 1
3986a86a65SMatthias Ringwald #define MAX_NR_LE_DEVICE_DB_ENTRIES 1
4086a86a65SMatthias Ringwald 
4113e71c7bSMatthias Ringwald // WICED DCT used to store:
4213e71c7bSMatthias Ringwald // - Num Classic Link Keys
4386a86a65SMatthias Ringwald #define NVM_NUM_LINK_KEYS 10
4413e71c7bSMatthias Ringwald // - Num LE Device entries
4513e71c7bSMatthias Ringwald #define NVM_NUM_LE_DEVICES 10
4686a86a65SMatthias Ringwald 
4786a86a65SMatthias Ringwald #endif