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 1084e26812SMatthias Ringwald #define HAVE_BTSTACK_STDIN 11c894dca1SMatthias Ringwald 1284e26812SMatthias 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 1984e26812SMatthias Ringwald //#define ENABLE_LOG_DEBUG 20*fcae305fSMatthias Ringwald #define ENABLE_LE_SECURE_CONNECTIONS 21*fcae305fSMatthias Ringwald #define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS 22c894dca1SMatthias Ringwald 23c894dca1SMatthias Ringwald // BTstack configuration. buffers, sizes, ... 24c894dca1SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 1021 255efdcd7dSMatthias Ringwald #define MAX_NR_GATT_CLIENTS 1 265efdcd7dSMatthias Ringwald #define MAX_NR_HCI_CONNECTIONS 1 275efdcd7dSMatthias Ringwald #define MAX_NR_L2CAP_SERVICES 3 285efdcd7dSMatthias Ringwald #define MAX_NR_L2CAP_CHANNELS 3 295efdcd7dSMatthias Ringwald #define MAX_NR_RFCOMM_MULTIPLEXERS 1 30c894dca1SMatthias Ringwald #define MAX_NR_RFCOMM_SERVICES 1 315efdcd7dSMatthias Ringwald #define MAX_NR_RFCOMM_CHANNELS 1 32c894dca1SMatthias Ringwald #define MAX_NR_BTSTACK_LINK_KEY_DB_MEMORY_ENTRIES 2 335efdcd7dSMatthias Ringwald #define MAX_NR_BNEP_SERVICES 1 345efdcd7dSMatthias Ringwald #define MAX_NR_BNEP_CHANNELS 1 355efdcd7dSMatthias Ringwald #define MAX_NR_HFP_CONNECTIONS 1 36c894dca1SMatthias Ringwald #define MAX_NR_WHITELIST_ENTRIES 1 37c894dca1SMatthias Ringwald #define MAX_NR_SM_LOOKUP_ENTRIES 3 38c894dca1SMatthias Ringwald #define MAX_NR_SERVICE_RECORD_ITEMS 1 395efdcd7dSMatthias Ringwald #define MAX_NR_AVDTP_STREAM_ENDPOINTS 1 405efdcd7dSMatthias Ringwald #define MAX_NR_AVDTP_CONNECTIONS 1 415efdcd7dSMatthias Ringwald #define MAX_NR_AVRCP_CONNECTIONS 1 42c894dca1SMatthias Ringwald 435efdcd7dSMatthias Ringwald // Link Key DB and LE Device DB using TLV on top of Flash Sector interface 445efdcd7dSMatthias Ringwald #define NVM_NUM_LINK_KEYS 16 455efdcd7dSMatthias Ringwald #define NVM_NUM_DEVICE_DB_ENTRIES 16 46c894dca1SMatthias Ringwald 47c894dca1SMatthias Ringwald #endif 48