1f7529f1dSMatthias Ringwald // 20cec242bSMatthias Ringwald // btstack_config.h for MSP432P401R + TI CC256B port 3f7529f1dSMatthias Ringwald // 4f7529f1dSMatthias Ringwald 5f7529f1dSMatthias Ringwald #ifndef __BTSTACK_CONFIG 6f7529f1dSMatthias Ringwald #define __BTSTACK_CONFIG 7f7529f1dSMatthias Ringwald 8f7529f1dSMatthias Ringwald // Port related features 9f7529f1dSMatthias Ringwald #define HAVE_EMBEDDED_TIME_MS 10f7529f1dSMatthias Ringwald 11f7529f1dSMatthias Ringwald // BTstack features that can be enabled 12f7529f1dSMatthias Ringwald #define ENABLE_BLE 130cec242bSMatthias Ringwald #define ENABLE_BTSTACK_ASSERT 140cec242bSMatthias Ringwald #define ENABLE_CC256X_BAUDRATE_CHANGE_FLOWCONTROL_BUG_WORKAROUND 150cec242bSMatthias Ringwald #define ENABLE_CLASSIC 16f7529f1dSMatthias Ringwald #define ENABLE_LE_PERIPHERAL 17f7529f1dSMatthias Ringwald #define ENABLE_LE_CENTRAL 18*b28dc800SMatthias Ringwald #define ENABLE_L2CAP_LE_CREDIT_BASED_FLOW_CONTROL_MODE 19f7529f1dSMatthias Ringwald #define ENABLE_LOG_ERROR 200cec242bSMatthias Ringwald #define ENABLE_LOG_INFO 2110457fd1SMatthias Ringwald #define ENABLE_PRINTF_HEXDUMP 22f7529f1dSMatthias Ringwald #define ENABLE_SEGGER_RTT 23f7529f1dSMatthias Ringwald 24f7529f1dSMatthias Ringwald // BTstack configuration. buffers, sizes, ... 25f7529f1dSMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 1021 26f7529f1dSMatthias Ringwald #define MAX_NR_GATT_CLIENTS 1 27f7529f1dSMatthias Ringwald #define MAX_NR_HCI_CONNECTIONS 1 28f7529f1dSMatthias Ringwald #define MAX_NR_L2CAP_SERVICES 3 29f7529f1dSMatthias Ringwald #define MAX_NR_L2CAP_CHANNELS 3 30f7529f1dSMatthias Ringwald #define MAX_NR_RFCOMM_MULTIPLEXERS 1 31f7529f1dSMatthias Ringwald #define MAX_NR_RFCOMM_SERVICES 1 32f7529f1dSMatthias Ringwald #define MAX_NR_RFCOMM_CHANNELS 1 33f7529f1dSMatthias Ringwald #define MAX_NR_BTSTACK_LINK_KEY_DB_MEMORY_ENTRIES 2 34f7529f1dSMatthias Ringwald #define MAX_NR_BNEP_SERVICES 1 35f7529f1dSMatthias Ringwald #define MAX_NR_BNEP_CHANNELS 1 36f7529f1dSMatthias Ringwald #define MAX_NR_HFP_CONNECTIONS 1 37f7529f1dSMatthias Ringwald #define MAX_NR_WHITELIST_ENTRIES 1 38f7529f1dSMatthias Ringwald #define MAX_NR_SM_LOOKUP_ENTRIES 3 39f7529f1dSMatthias Ringwald #define MAX_NR_SERVICE_RECORD_ITEMS 1 40f7529f1dSMatthias Ringwald #define MAX_NR_AVDTP_STREAM_ENDPOINTS 1 41f7529f1dSMatthias Ringwald #define MAX_NR_AVDTP_CONNECTIONS 1 42f7529f1dSMatthias Ringwald #define MAX_NR_AVRCP_CONNECTIONS 1 43f7529f1dSMatthias Ringwald 44f7529f1dSMatthias Ringwald // Link Key DB and LE Device DB using TLV on top of Flash Sector interface 45f7529f1dSMatthias Ringwald #define NVM_NUM_LINK_KEYS 16 46f7529f1dSMatthias Ringwald #define NVM_NUM_DEVICE_DB_ENTRIES 16 47f7529f1dSMatthias Ringwald 48f7529f1dSMatthias Ringwald #endif 49