xref: /btstack/port/max32630-fthr/src/btstack_config.h (revision d40c3de009bce6994e726da5a427e08951b353d9)
1 // Maxim Max32630FTHR Port
2 //
3 #ifndef __BTSTACK_CONFIG
4 #define __BTSTACK_CONFIG
5 #include <stdint.h>
6 // Port related features
7 #define HAVE_INIT_SCRIPT
8 #define HAVE_EMBEDDED_TIME_MS
9 //#define HAVE_POSIX_TIME
10 //#define HAVE_MALLOC
11 // BTstack features that can be enabled
12 
13 #define ENABLE_BLE
14 #define ENABLE_CLASSIC
15 
16 #define ENABLE_LE_PERIPHERAL
17 #define ENABLE_LE_CENTRAL
18 //#define ENABLE_LOG_INTO_HCI_DUMP
19 //#define ENABLE_LOG_DEBUG
20 #define ENABLE_LOG_ERROR
21 //#define ENABLE_LOG_INFO
22 //#define ENABLE_SDP_DES_DUMP
23 //#define ENABLE_SDP_EXTRA_QUERIES
24 // #define ENABLE_LE_SECURE_CONNECTIONS
25 
26 // BTstack configuration. buffers, sizes, ...
27 
28 // BTstack configuration. buffers, sizes, ...
29 //#define HCI_INCOMING_PRE_BUFFER_SIZE 6
30 #define HCI_ACL_PAYLOAD_SIZE 1021
31 
32 #define MAX_SPP_CONNECTIONS 1
33 #define MAX_NR_HCI_CONNECTIONS MAX_SPP_CONNECTIONS
34 #define MAX_NR_GATT_CLIENTS 0
35 #define MAX_NR_GATT_SUBCLIENTS 0
36 #define MAX_NR_HFP_CONNECTIONS 0
37 #define MAX_NR_L2CAP_SERVICES  2
38 #define MAX_NR_L2CAP_CHANNELS  (1+MAX_SPP_CONNECTIONS)
39 #define MAX_NR_RFCOMM_MULTIPLEXERS MAX_SPP_CONNECTIONS
40 #define MAX_NR_RFCOMM_SERVICES 1
41 #define MAX_NR_RFCOMM_CHANNELS MAX_SPP_CONNECTIONS
42 #define MAX_NR_BNEP_SERVICES 1
43 #define MAX_NR_BNEP_CHANNELS MAX_SPP_CONNECTIONS
44 #define MAX_NR_BTSTACK_LINK_KEY_DB_MEMORY_ENTRIES  2
45 #define MAX_NR_WHITELIST_ENTRIES 1
46 #define MAX_NR_SM_LOOKUP_ENTRIES 3
47 #define MAX_NR_SERVICE_RECORD_ITEMS 1
48 
49 #define MAX_NR_LE_DEVICE_DB_ENTRIES 1
50 
51 #endif
52