1a1a85659SMatthias Ringwald // 2*077fecbbSMilanka Ringwald // btstack_config.h for Windows H4 + Zephyr HCI Controller port 3*077fecbbSMilanka Ringwald // 4*077fecbbSMilanka Ringwald // Documentation: https://bluekitchen-gmbh.com/btstack/#how_to/ 5a1a85659SMatthias Ringwald // 6a1a85659SMatthias Ringwald 736327e5aSMilanka Ringwald #ifndef BTSTACK_CONFIG_H 836327e5aSMilanka Ringwald #define BTSTACK_CONFIG_H 9a1a85659SMatthias Ringwald 10a1a85659SMatthias Ringwald // Port related features 11d20e3046SMatthias Ringwald #define HAVE_ASSERT 1236327e5aSMilanka Ringwald #define HAVE_BTSTACK_STDIN 13a1a85659SMatthias Ringwald #define HAVE_MALLOC 14a1a85659SMatthias Ringwald #define HAVE_POSIX_FILE_IO 15a1a85659SMatthias Ringwald #define HAVE_POSIX_TIME 16a1a85659SMatthias Ringwald 17a1a85659SMatthias Ringwald // BTstack features that can be enabled 18a1a85659SMatthias Ringwald #define ENABLE_BLE 19a1a85659SMatthias Ringwald #define ENABLE_LE_CENTRAL 20b28dc800SMatthias Ringwald #define ENABLE_L2CAP_LE_CREDIT_BASED_FLOW_CONTROL_MODE 21a1a85659SMatthias Ringwald #define ENABLE_LE_DATA_LENGTH_EXTENSION 2236327e5aSMilanka Ringwald #define ENABLE_LE_PERIPHERAL 23b596325dSMatthias Ringwald #define ENABLE_LE_PRIVACY_ADDRESS_RESOLUTION 2436327e5aSMilanka Ringwald #define ENABLE_LE_SECURE_CONNECTIONS 25a1a85659SMatthias Ringwald #define ENABLE_LOG_ERROR 26a1a85659SMatthias Ringwald #define ENABLE_LOG_INFO 2736327e5aSMilanka Ringwald #define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS 28606ccc9bSMilanka Ringwald #define ENABLE_PRINTF_HEXDUMP 29a1a85659SMatthias Ringwald 30a1a85659SMatthias Ringwald // BTstack configuration. buffers, sizes, ... 31a1a85659SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4) 32a1a85659SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof BNEP header, avoid memcpy 33a1a85659SMatthias Ringwald 341f2f453bSMatthias Ringwald #define NVM_NUM_DEVICE_DB_ENTRIES 20 35e514a7f5SMatthias Ringwald 36e514a7f5SMatthias Ringwald // Mesh Configuration 37e514a7f5SMatthias Ringwald #define ENABLE_MESH 38e514a7f5SMatthias Ringwald #define ENABLE_MESH_ADV_BEARER 39e514a7f5SMatthias Ringwald #define ENABLE_MESH_GATT_BEARER 40e514a7f5SMatthias Ringwald #define ENABLE_MESH_PB_ADV 41e514a7f5SMatthias Ringwald #define ENABLE_MESH_PB_GATT 42e514a7f5SMatthias Ringwald #define ENABLE_MESH_PROVISIONER 4336327e5aSMilanka Ringwald #define ENABLE_MESH_PROXY_SERVER 44e514a7f5SMatthias Ringwald 4536327e5aSMilanka Ringwald #define MAX_NR_MESH_SUBNETS 2 46e514a7f5SMatthias Ringwald #define MAX_NR_MESH_TRANSPORT_KEYS 16 47e514a7f5SMatthias Ringwald #define MAX_NR_MESH_VIRTUAL_ADDRESSES 16 48e514a7f5SMatthias Ringwald 49e514a7f5SMatthias Ringwald // allow for one NetKey update 50e514a7f5SMatthias Ringwald #define MAX_NR_MESH_NETWORK_KEYS (MAX_NR_MESH_SUBNETS+1) 51e514a7f5SMatthias Ringwald 52a1a85659SMatthias Ringwald #endif 53