1*7eac9e22SMatthias Ringwald // 2*7eac9e22SMatthias Ringwald // btstack_config.h for libusb port 3*7eac9e22SMatthias Ringwald // 4*7eac9e22SMatthias Ringwald 5*7eac9e22SMatthias Ringwald #ifndef __BTSTACK_CONFIG 6*7eac9e22SMatthias Ringwald #define __BTSTACK_CONFIG 7*7eac9e22SMatthias Ringwald 8*7eac9e22SMatthias Ringwald // Port related features 9*7eac9e22SMatthias Ringwald #define HAVE_MALLOC 10*7eac9e22SMatthias Ringwald #define HAVE_POSIX_FILE_IO 11*7eac9e22SMatthias Ringwald #define HAVE_BTSTACK_STDIN 12*7eac9e22SMatthias Ringwald #define HAVE_POSIX_TIME 13*7eac9e22SMatthias Ringwald 14*7eac9e22SMatthias Ringwald // BTstack features that can be enabled 15*7eac9e22SMatthias Ringwald #define ENABLE_BLE 16*7eac9e22SMatthias Ringwald #define ENABLE_CLASSIC 17*7eac9e22SMatthias Ringwald #define ENABLE_HFP_WIDE_BAND_SPEECH 18*7eac9e22SMatthias Ringwald #define ENABLE_LE_CENTRAL 19*7eac9e22SMatthias Ringwald #define ENABLE_LE_PERIPHERAL 20*7eac9e22SMatthias Ringwald #define ENABLE_LE_SECURE_CONNECTIONS 21*7eac9e22SMatthias Ringwald #define ENABLE_LE_DATA_CHANNELS 22*7eac9e22SMatthias Ringwald #define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS 23*7eac9e22SMatthias Ringwald #define ENABLE_LE_DATA_LENGTH_EXTENSION 24*7eac9e22SMatthias Ringwald #define ENABLE_ATT_DELAYED_RESPONSE 25*7eac9e22SMatthias Ringwald #define ENABLE_LOG_ERROR 26*7eac9e22SMatthias Ringwald #define ENABLE_LOG_INFO 27*7eac9e22SMatthias Ringwald #define ENABLE_SCO_OVER_HCI 28*7eac9e22SMatthias Ringwald #define ENABLE_SDP_DES_DUMP 29*7eac9e22SMatthias Ringwald 30*7eac9e22SMatthias Ringwald #define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE 31*7eac9e22SMatthias Ringwald 32*7eac9e22SMatthias Ringwald // BTstack configuration. buffers, sizes, ... 33*7eac9e22SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4) 34*7eac9e22SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof BNEP header, avoid memcpy 35*7eac9e22SMatthias Ringwald 36*7eac9e22SMatthias Ringwald #endif 37