xref: /btstack/port/arduino/btstack_config.h (revision f4ab45812f54c9a2c59f22c9ccc1aaaa4576eb3f)
1 //
2 // btstack_config.h for Arduino port
3 //
4 
5 #ifndef BTSTACK_CONFIG_H
6 #define BTSTACK_CONFIG_H
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_LE_CENTRAL
14 #define ENABLE_LE_PERIPHERAL
15 #define ENABLE_LOG_ERROR
16 #define ENABLE_LOG_INFO
17 #define ENABLE_PRINTF_HEXDUMP
18 
19 // BTstack configuration. buffers, sizes, ...
20 #define HCI_ACL_PAYLOAD_SIZE 200
21 #define MAX_ATT_DB_SIZE 200
22 #define MAX_NR_GATT_CLIENTS 1
23 #define MAX_NR_HCI_CONNECTIONS 1
24 #define MAX_NR_L2CAP_CHANNELS  0
25 #define MAX_NR_L2CAP_SERVICES  0
26 #define MAX_NR_LE_DEVICE_DB_ENTRIES 1
27 #define MAX_NR_SM_LOOKUP_ENTRIES 3
28 #define MAX_NR_WHITELIST_ENTRIES 1
29 
30 #endif
31