14e630824SMatthias Ringwald // 24e630824SMatthias Ringwald // btstack_config.h for libusb port 34e630824SMatthias Ringwald // 44e630824SMatthias Ringwald 54e630824SMatthias Ringwald #ifndef __BTSTACK_CONFIG 64e630824SMatthias Ringwald #define __BTSTACK_CONFIG 74e630824SMatthias Ringwald 84e630824SMatthias Ringwald // Port related features 94e630824SMatthias Ringwald #define HAVE_MALLOC 104e630824SMatthias Ringwald #define HAVE_POSIX_FILE_IO 114e630824SMatthias Ringwald #define HAVE_POSIX_STDIN 124e630824SMatthias Ringwald #define HAVE_POSIX_TIME 134e630824SMatthias Ringwald 144e630824SMatthias Ringwald // BTstack features that can be enabled 154e630824SMatthias Ringwald #define ENABLE_BLE 164e630824SMatthias Ringwald #define ENABLE_CLASSIC 17*1bbecc2bSMatthias Ringwald #define ENABLE_HFP_WIDE_BAND_SPEECH 1873d0f5e5SMatthias Ringwald #define ENABLE_LE_CENTRAL 19*1bbecc2bSMatthias Ringwald #define ENABLE_LE_PERIPHERAL 204e630824SMatthias Ringwald #define ENABLE_LE_SECURE_CONNECTIONS 214e630824SMatthias Ringwald #define ENABLE_LOG_ERROR 224e630824SMatthias Ringwald #define ENABLE_LOG_INFO 234e630824SMatthias Ringwald #define ENABLE_SCO_OVER_HCI 244e630824SMatthias Ringwald #define ENABLE_SDP_DES_DUMP 254e630824SMatthias Ringwald 264e630824SMatthias Ringwald // BTstack configuration. buffers, sizes, ... 274e630824SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4) 284e630824SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof BNEP header, avoid memcpy 294e630824SMatthias Ringwald 304e630824SMatthias Ringwald #endif 31