xref: /btstack/port/stm32-wb55xx-nucleo-freertos/port/btstack_config.h (revision c5daadda645f87ccfe1f6d1255b9a104e72285d0)
1 //
2 // btstack_config.h
3 //
4 //  Made for BlueKitchen by OneWave with <3
5 //      Author: [email protected]
6 //
7 
8 #ifndef BTSTACK_CONFIG_H
9 #define BTSTACK_CONFIG_H
10 
11 // Port related features
12 #define HAVE_EMBEDDED_TIME_MS
13 #define HAVE_FREERTOS_TASK_NOTIFICATIONS
14 
15 // BTstack features that can be enabled
16 #define ENABLE_BLE
17 #define ENABLE_LE_CENTRAL
18 #define ENABLE_LE_PERIPHERAL
19 #define ENABLE_LE_SECURE_CONNECTIONS
20 #define ENABLE_LOG_ERROR
21 #define ENABLE_LOG_INFO
22 #define ENABLE_MICRO_ECC_P256
23 #define ENABLE_PRINTF_HEXDUMP
24 #define ENABLE_SOFTWARE_AES128
25 #define ENABLE_TLV_FLASH_EXPLICIT_DELETE_FIELD
26 #define ENABLE_LE_SET_ADV_PARAMS_ON_RANDOM_ADDRESS_CHANGE
27 
28 // BTstack configuration. buffers, sizes, ...
29 #define HCI_ACL_PAYLOAD_SIZE (512 + 4) //Max official att size + l2cap header size
30 #define MAX_NR_GATT_CLIENTS 1
31 #define MAX_NR_HCI_CONNECTIONS 1
32 #define MAX_NR_HIDS_CLIENTS 1
33 #define MAX_NR_L2CAP_CHANNELS  3
34 #define MAX_NR_L2CAP_SERVICES  2
35 #define MAX_NR_LE_DEVICE_DB_ENTRIES 1
36 #define MAX_NR_SM_LOOKUP_ENTRIES 3
37 #define MAX_NR_WHITELIST_ENTRIES 1
38 
39 #define MAX_ATT_DB_SIZE 350
40 
41 // LE Device DB using TLV
42 #define NVM_NUM_DEVICE_DB_ENTRIES 16
43 
44 #endif
45