10d529a9fSMatthias Ringwald // 20d529a9fSMatthias Ringwald // btstack_config.h for libusb port 30d529a9fSMatthias Ringwald // 47907f069SMatthias Ringwald 57907f069SMatthias Ringwald #ifndef __BTSTACK_CONFIG 67907f069SMatthias Ringwald #define __BTSTACK_CONFIG 77907f069SMatthias Ringwald 80d529a9fSMatthias Ringwald // Port related features 97907f069SMatthias Ringwald #define HAVE_BZERO 107907f069SMatthias Ringwald #define HAVE_MALLOC 110d529a9fSMatthias Ringwald #define HAVE_SCO 127907f069SMatthias Ringwald #define HAVE_SCO_OVER_HCI 130d529a9fSMatthias Ringwald #define HAVE_SO_NOSIGPIPE 140d529a9fSMatthias Ringwald #define HAVE_TIME 150d529a9fSMatthias Ringwald 160d529a9fSMatthias Ringwald // BTstack features that can be enabled 170d529a9fSMatthias Ringwald #define ENABLE_BLE 18*80b9a8caSMatthias Ringwald #define ENABLE_CLASSIC 190d529a9fSMatthias Ringwald #define ENABLE_LOG_ERROR 200d529a9fSMatthias Ringwald #define ENABLE_LOG_INFO 210d529a9fSMatthias Ringwald #define ENABLE_LOG_INTO_HCI_DUMP 220d529a9fSMatthias Ringwald #define ENABLE_SDP_DES_DUMP 230d529a9fSMatthias Ringwald 240d529a9fSMatthias Ringwald // BTstack configuration. buffers, sizes, ... 257907f069SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4) 267907f069SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof BNEP header, avoid memcpy 277907f069SMatthias Ringwald #define REMOTE_DEVICE_DB remote_device_db_iphone 287907f069SMatthias Ringwald 297907f069SMatthias Ringwald #endif 30