xref: /btstack/port/wiced-h4/btstack_config.h (revision 13e71c7bf4add8658fe552e6cfc1367552eefac9)
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
1886a86a65SMatthias Ringwald #define ENABLE_LOG_ERROR
19*13e71c7bSMatthias Ringwald #define ENABLE_LOG_INFO
2086a86a65SMatthias Ringwald 
2186a86a65SMatthias Ringwald // BTstack configuration. buffers, sizes, ...
2286a86a65SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 100
2386a86a65SMatthias Ringwald #define MAX_SPP_CONNECTIONS 1
2486a86a65SMatthias Ringwald #define MAX_NR_GATT_CLIENTS 1
2586a86a65SMatthias Ringwald #define MAX_NR_HCI_CONNECTIONS MAX_SPP_CONNECTIONS
2686a86a65SMatthias Ringwald #define MAX_NR_L2CAP_SERVICES  2
2786a86a65SMatthias Ringwald #define MAX_NR_L2CAP_CHANNELS  (1+MAX_SPP_CONNECTIONS)
2886a86a65SMatthias Ringwald #define MAX_NR_RFCOMM_MULTIPLEXERS MAX_SPP_CONNECTIONS
2986a86a65SMatthias Ringwald #define MAX_NR_RFCOMM_SERVICES 1
3086a86a65SMatthias Ringwald #define MAX_NR_RFCOMM_CHANNELS MAX_SPP_CONNECTIONS
3186a86a65SMatthias Ringwald #define MAX_NR_BTSTACK_LINK_KEY_DB_MEMORY_ENTRIES 2
3286a86a65SMatthias Ringwald #define MAX_NR_BNEP_SERVICES 0
3386a86a65SMatthias Ringwald #define MAX_NR_BNEP_CHANNELS 0
3486a86a65SMatthias Ringwald #define MAX_NR_HFP_CONNECTIONS 0
3586a86a65SMatthias Ringwald #define MAX_NR_WHITELIST_ENTRIES 1
3686a86a65SMatthias Ringwald #define MAX_NR_SM_LOOKUP_ENTRIES 3
3786a86a65SMatthias Ringwald #define MAX_NR_SERVICE_RECORD_ITEMS 1
3886a86a65SMatthias Ringwald #define MAX_NR_LE_DEVICE_DB_ENTRIES 1
3986a86a65SMatthias Ringwald 
40*13e71c7bSMatthias Ringwald // WICED DCT used to store:
41*13e71c7bSMatthias Ringwald // - Num Classic Link Keys
4286a86a65SMatthias Ringwald #define NVM_NUM_LINK_KEYS 10
43*13e71c7bSMatthias Ringwald // - Num LE Device entries
44*13e71c7bSMatthias Ringwald #define NVM_NUM_LE_DEVICES 10
4586a86a65SMatthias Ringwald 
4686a86a65SMatthias Ringwald #endif