mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 00:28:18 +00:00
35 lines
778 B
C
35 lines
778 B
C
//
|
|
// btstack_config.h for Android mtk port
|
|
//
|
|
|
|
#ifndef __BTSTACK_CONFIG
|
|
#define __BTSTACK_CONFIG
|
|
|
|
// Port related features
|
|
#define HAVE_MALLOC
|
|
#define HAVE_POSIX_FILE_IO
|
|
#define HAVE_POSIX_TIME
|
|
|
|
// BTstack features that can be enabled
|
|
#define ENABLE_BLE
|
|
#define ENABLE_CLASSIC
|
|
#define ENABLE_LOG_ERROR
|
|
#define ENABLE_LOG_INFO
|
|
#define ENABLE_LOG_INTO_HCI_DUMP
|
|
#define ENABLE_SDP_DES_DUMP
|
|
|
|
// BTstack configuration. buffers, sizes, ...
|
|
#define HCI_ACL_PAYLOAD_SIZE 1021
|
|
|
|
// Daemon configuration
|
|
#define ENABLE_SDP
|
|
#define ENABLE_RFCOMM
|
|
#define HAVE_TRANSPORT_H4
|
|
#define BTSTACK_LOG_FILE "/data/btstack/hci_dump.pklg"
|
|
#define BTSTACK_UNIX "/data/btstack/BTstack"
|
|
#define REMOTE_DEVICE_DB remote_device_db_memory
|
|
#define UART_DEVICE "/dev/ttyS0"
|
|
#define UART_SPEED 115200
|
|
|
|
#endif
|