2016-01-21 20:56:56 +00:00
|
|
|
//
|
|
|
|
// btstack_config.h for Android mtk port
|
|
|
|
//
|
2015-02-06 09:40:12 +00:00
|
|
|
|
|
|
|
#ifndef __BTSTACK_CONFIG
|
|
|
|
#define __BTSTACK_CONFIG
|
|
|
|
|
2016-01-21 20:56:56 +00:00
|
|
|
// Port related features
|
|
|
|
#define HAVE_MALLOC
|
2016-01-21 21:09:01 +00:00
|
|
|
#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
|
2017-01-14 16:47:16 +00:00
|
|
|
#define ENABLE_LE_PERIPHERAL
|
|
|
|
#define ENABLE_LE_CENTRAL
|
2015-02-06 09:40:12 +00:00
|
|
|
#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
|
2015-02-06 09:40:12 +00:00
|
|
|
|
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
|
2016-01-21 21:09:01 +00:00
|
|
|
#define HAVE_TRANSPORT_H4
|
2015-02-06 09:40:12 +00:00
|
|
|
#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
|
2015-02-06 09:40:12 +00:00
|
|
|
|
|
|
|
#endif
|