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