btstack/port/mtk/btstack_config.h

36 lines
800 B
C
Raw Normal View History

2016-01-21 20:56:56 +00:00
//
// btstack_config.h for Android mtk port
//
#ifndef __BTSTACK_CONFIG
#define __BTSTACK_CONFIG
2016-01-21 20:56:56 +00:00
// Port related features
#define HAVE_MALLOC
#define HAVE_POSIX_FILE_IO
2016-03-30 08:59:47 +00:00
#define HAVE_POSIX_TIME
2016-01-21 20:56:56 +00:00
// BTstack features that can be enabled
#define ENABLE_BLE
2016-01-24 17:09:29 +00:00
#define ENABLE_CLASSIC
#define ENABLE_LE_PERIPHERAL
#define ENABLE_LE_CENTRAL
#define ENABLE_LOG_ERROR
2016-01-21 20:56:56 +00:00
#define ENABLE_LOG_INFO
2016-01-21 14:33:36 +00:00
#define ENABLE_SDP_DES_DUMP
2016-01-21 20:56:56 +00:00
// 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"
2016-01-21 20:56:56 +00:00
#define BTSTACK_UNIX "/data/btstack/BTstack"
#define REMOTE_DEVICE_DB remote_device_db_memory
#define UART_DEVICE "/dev/ttyS0"
#define UART_SPEED 115200
#endif