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