194a5538cSMatthias Ringwald // 294a5538cSMatthias Ringwald // btstack_config.h for generic POSIX H4 port 394a5538cSMatthias Ringwald // 494a5538cSMatthias Ringwald 594a5538cSMatthias Ringwald #ifndef __BTSTACK_CONFIG 694a5538cSMatthias Ringwald #define __BTSTACK_CONFIG 794a5538cSMatthias Ringwald 894a5538cSMatthias Ringwald // Port related features 994a5538cSMatthias Ringwald #define HAVE_MALLOC 1094a5538cSMatthias Ringwald #define HAVE_POSIX_FILE_IO 117ea7688aSMatthias Ringwald #define HAVE_BTSTACK_STDIN 1294a5538cSMatthias Ringwald #define HAVE_POSIX_TIME 1394a5538cSMatthias Ringwald 1494a5538cSMatthias Ringwald // BTstack features that can be enabled 1594a5538cSMatthias Ringwald #define ENABLE_BLE 1694a5538cSMatthias Ringwald #define ENABLE_CLASSIC 171bbecc2bSMatthias Ringwald #define ENABLE_HFP_WIDE_BAND_SPEECH 18e5b6c4e9SMatthias Ringwald #define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE 191a682202SMatthias Ringwald #define ENABLE_LE_CENTRAL 201bbecc2bSMatthias Ringwald #define ENABLE_LE_PERIPHERAL 216df11ce0SMatthias Ringwald #define ENABLE_LE_SECURE_CONNECTIONS 22fcae305fSMatthias Ringwald #define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS 23ff01079bSMatthias Ringwald #define ENABLE_LE_DATA_CHANNELS 24b435e062SMatthias Ringwald #define ENABLE_LE_DATA_LENGTH_EXTENSION 2594a5538cSMatthias Ringwald #define ENABLE_LOG_ERROR 2694a5538cSMatthias Ringwald #define ENABLE_LOG_INFO 2794a5538cSMatthias Ringwald #define ENABLE_SCO_OVER_HCI 2894a5538cSMatthias Ringwald #define ENABLE_SDP_DES_DUMP 2994a5538cSMatthias Ringwald 3094a5538cSMatthias Ringwald // BTstack configuration. buffers, sizes, ... 3194a5538cSMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof benep heade, avoid memcpy 3294a5538cSMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4) 3394a5538cSMatthias Ringwald 34*e514a7f5SMatthias Ringwald 35*e514a7f5SMatthias Ringwald // Mesh Configuration 36*e514a7f5SMatthias Ringwald #define ENABLE_MESH 37*e514a7f5SMatthias Ringwald #define ENABLE_MESH_ADV_BEARER 38*e514a7f5SMatthias Ringwald #define ENABLE_MESH_GATT_BEARER 39*e514a7f5SMatthias Ringwald #define ENABLE_MESH_PB_ADV 40*e514a7f5SMatthias Ringwald #define ENABLE_MESH_PB_GATT 41*e514a7f5SMatthias Ringwald #define ENABLE_MESH_PROXY_SERVER 42*e514a7f5SMatthias Ringwald #define ENABLE_MESH_PROVISIONER 43*e514a7f5SMatthias Ringwald 44*e514a7f5SMatthias Ringwald #define MAX_NR_MESH_TRANSPORT_KEYS 16 45*e514a7f5SMatthias Ringwald #define MAX_NR_MESH_VIRTUAL_ADDRESSES 16 46*e514a7f5SMatthias Ringwald #define MAX_NR_MESH_SUBNETS 2 47*e514a7f5SMatthias Ringwald 48*e514a7f5SMatthias Ringwald // allow for one NetKey update 49*e514a7f5SMatthias Ringwald #define MAX_NR_MESH_NETWORK_KEYS (MAX_NR_MESH_SUBNETS+1) 50*e514a7f5SMatthias Ringwald 5194a5538cSMatthias Ringwald #endif 5294a5538cSMatthias Ringwald 53