xref: /btstack/port/apollo2-em9304/btstack_config.h (revision 98f1394d9d4c33f501ec5dcff54d145a92013c5e)
1 //
2 // btstack_config.h for Apollo 2 + EM9304 port
3 //
4 // Documentation: https://bluekitchen-gmbh.com/btstack/#how_to/
5 //
6 
7 #ifndef BTSTACK_CONFIG_H
8 #define BTSTACK_CONFIG_H
9 
10 // Port related features
11 #define HAVE_EMBEDDED_TIME_MS
12 
13 // BTstack features that can be enabled
14 #define ENABLE_BLE
15 #define ENABLE_LE_CENTRAL
16 #define ENABLE_L2CAP_LE_CREDIT_BASED_FLOW_CONTROL_MODE
17 #define ENABLE_LE_DATA_LENGTH_EXTENSION
18 #define ENABLE_LE_PERIPHERAL
19 #define ENABLE_LOG_ERROR
20 #define ENABLE_PRINTF_HEXDUMP
21 
22 // BTstack configuration. buffers, sizes, ...
23 #define HCI_ACL_PAYLOAD_SIZE 200
24 #define MAX_NR_GATT_CLIENTS 1
25 #define MAX_NR_HCI_CONNECTIONS 1
26 #define MAX_NR_SM_LOOKUP_ENTRIES 3
27 #define MAX_NR_WHITELIST_ENTRIES 1
28 
29 #define MAX_NR_LE_DEVICE_DB_ENTRIES 1
30 
31 #endif
32