xref: /btstack/port/arduino/btstack_config.h (revision 1a6822024624aab466a9aff5f67325f81ed6d5e2)
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_EMBEDDED_TIME_MS
10 
11 // BTstack features that can be enabled
12 #define ENABLE_BLE
13 #define ENABLE_LOG_INTO_HCI_DUMP
14 #define ENABLE_LOG_INFO
15 #define ENABLE_LOG_ERROR
16 #define ENABLE_LE_PERIPHERAL
17 #define ENABLE_LE_CENTRAL
18 
19 // BTstack configuration. buffers, sizes, ...
20 #define HCI_ACL_PAYLOAD_SIZE 200
21 #define MAX_NR_BNEP_SERVICES 0
22 #define MAX_NR_BNEP_CHANNELS 0
23 #define MAX_NR_GATT_SUBCLIENTS 2
24 #define MAX_NR_HCI_CONNECTIONS 1
25 #define MAX_NR_L2CAP_SERVICES  0
26 #define MAX_NR_L2CAP_CHANNELS  0
27 #define MAX_NR_RFCOMM_MULTIPLEXERS 0
28 #define MAX_NR_RFCOMM_SERVICES 0
29 #define MAX_NR_RFCOMM_CHANNELS 0
30 #define MAX_NR_BTSTACK_LINK_KEY_DB_MEMORY_ENTRIES  0
31 #define MAX_NR_GATT_CLIENTS 1
32 #define MAX_ATT_DB_SIZE 200
33 #define MAX_NR_HFP_CONNECTIONS 0
34 #define MAX_NR_WHITELIST_ENTRIES 1
35 #define MAX_NR_SM_LOOKUP_ENTRIES 3
36 #define MAX_NR_SERVICE_RECORD_ITEMS 1
37 #endif