10d529a9fSMatthias Ringwald // 20d529a9fSMatthias Ringwald // btstack_config.h for Android mtk port 30d529a9fSMatthias Ringwald // 47907f069SMatthias Ringwald 57907f069SMatthias Ringwald #ifndef __BTSTACK_CONFIG 67907f069SMatthias Ringwald #define __BTSTACK_CONFIG 77907f069SMatthias Ringwald 80d529a9fSMatthias Ringwald // Port related features 90d529a9fSMatthias Ringwald #define HAVE_BZERO 100d529a9fSMatthias Ringwald #define HAVE_MALLOC 11eb443d3dSMatthias Ringwald #define HAVE_POSIX_FILE_IO 127907f069SMatthias Ringwald // #define HAVE_SO_NOSIGPIPE 137907f069SMatthias Ringwald #define HAVE_TIME 140d529a9fSMatthias Ringwald 150d529a9fSMatthias Ringwald // BTstack features that can be enabled 160d529a9fSMatthias Ringwald #define ENABLE_BLE 17*80b9a8caSMatthias Ringwald #define ENABLE_CLASSIC 187907f069SMatthias Ringwald #define ENABLE_LOG_ERROR 190d529a9fSMatthias Ringwald #define ENABLE_LOG_INFO 200d529a9fSMatthias Ringwald #define ENABLE_LOG_INTO_HCI_DUMP 217907f069SMatthias Ringwald #define ENABLE_SDP_DES_DUMP 227907f069SMatthias Ringwald 230d529a9fSMatthias Ringwald // BTstack configuration. buffers, sizes, ... 240d529a9fSMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 1021 250d529a9fSMatthias Ringwald 260d529a9fSMatthias Ringwald // Daemon configuration 270d529a9fSMatthias Ringwald #define ENABLE_SDP 280d529a9fSMatthias Ringwald #define ENABLE_RFCOMM 29eb443d3dSMatthias Ringwald #define HAVE_TRANSPORT_H4 307907f069SMatthias Ringwald #define BTSTACK_LOG_FILE "/data/btstack/hci_dump.pklg" 310d529a9fSMatthias Ringwald #define BTSTACK_UNIX "/data/btstack/BTstack" 320d529a9fSMatthias Ringwald #define REMOTE_DEVICE_DB remote_device_db_memory 330d529a9fSMatthias Ringwald #define UART_DEVICE "/dev/ttyS0" 340d529a9fSMatthias Ringwald #define UART_SPEED 115200 357907f069SMatthias Ringwald 367907f069SMatthias Ringwald #endif 37