1*eddcc851SMatthias Ringwald // 2*eddcc851SMatthias Ringwald // btstack_config.h for libusb port 3*eddcc851SMatthias Ringwald // 4*eddcc851SMatthias Ringwald 5*eddcc851SMatthias Ringwald #ifndef __BTSTACK_CONFIG 6*eddcc851SMatthias Ringwald #define __BTSTACK_CONFIG 7*eddcc851SMatthias Ringwald 8*eddcc851SMatthias Ringwald // Port related features 9*eddcc851SMatthias Ringwald #define HAVE_MALLOC 10*eddcc851SMatthias Ringwald #define HAVE_POSIX_FILE_IO 11*eddcc851SMatthias Ringwald #define HAVE_POSIX_STDIN 12*eddcc851SMatthias Ringwald #define HAVE_POSIX_TIME 13*eddcc851SMatthias Ringwald 14*eddcc851SMatthias Ringwald // BTstack features that can be enabled 15*eddcc851SMatthias Ringwald #define ENABLE_BLE 16*eddcc851SMatthias Ringwald #define ENABLE_CLASSIC 17*eddcc851SMatthias Ringwald #define ENABLE_LE_SECURE_CONNECTIONS 18*eddcc851SMatthias Ringwald #define ENABLE_LOG_ERROR 19*eddcc851SMatthias Ringwald #define ENABLE_LOG_INFO 20*eddcc851SMatthias Ringwald #define ENABLE_LOG_INTO_HCI_DUMP 21*eddcc851SMatthias Ringwald #define ENABLE_SCO_OVER_HCI 22*eddcc851SMatthias Ringwald #define ENABLE_SDP_DES_DUMP 23*eddcc851SMatthias Ringwald 24*eddcc851SMatthias Ringwald // BTstack configuration. buffers, sizes, ... 25*eddcc851SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4) 26*eddcc851SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof BNEP header, avoid memcpy 27*eddcc851SMatthias Ringwald 28*eddcc851SMatthias Ringwald #endif 29