xref: /btstack/port/max32630-fthr/src/btstack_config.h (revision c37cd8f3d1350b92a2f66c31b2a5fcd75f8c91a4)
1 // Maxim Max32630FTHR Port
2 //
3 #ifndef __BTSTACK_CONFIG
4 #define __BTSTACK_CONFIG
5 #include <stdint.h>
6 
7 // Port related features
8 #define HAVE_INIT_SCRIPT
9 #define HAVE_EMBEDDED_TIME_MS
10 #define HAVE_BTSTACK_STDIN
11 
12 // BTstack features that can be enabled
13 #define ENABLE_BLE
14 #define ENABLE_CLASSIC
15 #define ENABLE_LE_PERIPHERAL
16 #define ENABLE_LE_CENTRAL
17 #define ENABLE_LOG_ERROR
18 #define ENABLE_LOG_INFO
19 //#define ENABLE_LOG_DEBUG
20 #define ENABLE_LE_SECURE_CONNECTIONS
21 #define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS
22 
23 // BTstack configuration. buffers, sizes, ...
24 #define HCI_ACL_PAYLOAD_SIZE 1021
25 #define MAX_NR_GATT_CLIENTS 1
26 #define MAX_NR_HCI_CONNECTIONS 1
27 #define MAX_NR_L2CAP_SERVICES  3
28 #define MAX_NR_L2CAP_CHANNELS  3
29 #define MAX_NR_RFCOMM_MULTIPLEXERS 1
30 #define MAX_NR_RFCOMM_SERVICES 1
31 #define MAX_NR_RFCOMM_CHANNELS 1
32 #define MAX_NR_BTSTACK_LINK_KEY_DB_MEMORY_ENTRIES  2
33 #define MAX_NR_BNEP_SERVICES 1
34 #define MAX_NR_BNEP_CHANNELS 1
35 #define MAX_NR_HFP_CONNECTIONS 1
36 #define MAX_NR_WHITELIST_ENTRIES 1
37 #define MAX_NR_SM_LOOKUP_ENTRIES 3
38 #define MAX_NR_SERVICE_RECORD_ITEMS 1
39 #define MAX_NR_AVDTP_STREAM_ENDPOINTS 1
40 #define MAX_NR_AVDTP_CONNECTIONS 1
41 #define MAX_NR_AVRCP_CONNECTIONS 1
42 
43 // Link Key DB and LE Device DB using TLV on top of Flash Sector interface
44 #define NVM_NUM_LINK_KEYS 16
45 #define NVM_NUM_DEVICE_DB_ENTRIES 16
46 
47 #endif
48