xref: /btstack/port/max32630-fthr/src/btstack_config.h (revision 84e268121e3291011fbf494555463107e98a092a)
1c894dca1SMatthias Ringwald // Maxim Max32630FTHR Port
2c894dca1SMatthias Ringwald //
3c894dca1SMatthias Ringwald #ifndef __BTSTACK_CONFIG
4c894dca1SMatthias Ringwald #define __BTSTACK_CONFIG
5c894dca1SMatthias Ringwald #include <stdint.h>
65efdcd7dSMatthias Ringwald 
7c894dca1SMatthias Ringwald // Port related features
8c894dca1SMatthias Ringwald #define HAVE_INIT_SCRIPT
9c894dca1SMatthias Ringwald #define HAVE_EMBEDDED_TIME_MS
10*84e26812SMatthias Ringwald #define HAVE_BTSTACK_STDIN
11c894dca1SMatthias Ringwald 
12*84e26812SMatthias Ringwald // BTstack features that can be enabled
13c894dca1SMatthias Ringwald #define ENABLE_BLE
14c894dca1SMatthias Ringwald #define ENABLE_CLASSIC
15c894dca1SMatthias Ringwald #define ENABLE_LE_PERIPHERAL
16c894dca1SMatthias Ringwald #define ENABLE_LE_CENTRAL
17c894dca1SMatthias Ringwald #define ENABLE_LOG_ERROR
185efdcd7dSMatthias Ringwald #define ENABLE_LOG_INFO
19*84e26812SMatthias Ringwald #define ENABLE_LE_SECURE_CONNECTIONS
20*84e26812SMatthias Ringwald //#define ENABLE_LOG_DEBUG
21c894dca1SMatthias Ringwald 
22c894dca1SMatthias Ringwald // BTstack configuration. buffers, sizes, ...
23c894dca1SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 1021
245efdcd7dSMatthias Ringwald #define MAX_NR_GATT_CLIENTS 1
255efdcd7dSMatthias Ringwald #define MAX_NR_HCI_CONNECTIONS 1
265efdcd7dSMatthias Ringwald #define MAX_NR_L2CAP_SERVICES  3
275efdcd7dSMatthias Ringwald #define MAX_NR_L2CAP_CHANNELS  3
285efdcd7dSMatthias Ringwald #define MAX_NR_RFCOMM_MULTIPLEXERS 1
29c894dca1SMatthias Ringwald #define MAX_NR_RFCOMM_SERVICES 1
305efdcd7dSMatthias Ringwald #define MAX_NR_RFCOMM_CHANNELS 1
31c894dca1SMatthias Ringwald #define MAX_NR_BTSTACK_LINK_KEY_DB_MEMORY_ENTRIES  2
325efdcd7dSMatthias Ringwald #define MAX_NR_BNEP_SERVICES 1
335efdcd7dSMatthias Ringwald #define MAX_NR_BNEP_CHANNELS 1
345efdcd7dSMatthias 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
385efdcd7dSMatthias Ringwald #define MAX_NR_AVDTP_STREAM_ENDPOINTS 1
395efdcd7dSMatthias Ringwald #define MAX_NR_AVDTP_CONNECTIONS 1
405efdcd7dSMatthias Ringwald #define MAX_NR_AVRCP_CONNECTIONS 1
41c894dca1SMatthias Ringwald 
425efdcd7dSMatthias Ringwald // Link Key DB and LE Device DB using TLV on top of Flash Sector interface
435efdcd7dSMatthias Ringwald #define NVM_NUM_LINK_KEYS 16
445efdcd7dSMatthias Ringwald #define NVM_NUM_DEVICE_DB_ENTRIES 16
45c894dca1SMatthias Ringwald 
46c894dca1SMatthias Ringwald #endif
47