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