2016-01-21 21:56:56 +01: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 21:56:56 +01:00
|
|
|
// Port related features
|
|
|
|
#define HAVE_MALLOC
|
2016-01-21 22:09:01 +01:00
|
|
|
#define HAVE_POSIX_FILE_IO
|
2016-03-30 10:59:47 +02:00
|
|
|
#define HAVE_POSIX_TIME
|
2018-08-14 20:53:46 +02:00
|
|
|
#define HAVE_UNIX_SOCKETS
|
2016-01-21 21:56:56 +01:00
|
|
|
// BTstack features that can be enabled
|
|
|
|
#define ENABLE_BLE
|
2016-01-24 18:09:29 +01:00
|
|
|
#define ENABLE_CLASSIC
|
2017-01-14 17:47:16 +01:00
|
|
|
#define ENABLE_LE_PERIPHERAL
|
|
|
|
#define ENABLE_LE_CENTRAL
|
2015-02-06 09:40:12 +00:00
|
|
|
#define ENABLE_LOG_ERROR
|
2016-01-21 21:56:56 +01:00
|
|
|
#define ENABLE_LOG_INFO
|
2016-01-21 15:33:36 +01:00
|
|
|
#define ENABLE_SDP_DES_DUMP
|
2015-02-06 09:40:12 +00:00
|
|
|
|
2016-01-21 21:56:56 +01:00
|
|
|
// BTstack configuration. buffers, sizes, ...
|
|
|
|
#define HCI_ACL_PAYLOAD_SIZE 1021
|
2017-02-11 22:44:02 +01:00
|
|
|
#define MAX_NR_LE_DEVICE_DB_ENTRIES 1
|
2016-01-21 21:56:56 +01:00
|
|
|
|
2020-07-13 18:05:30 +02:00
|
|
|
#define NVM_NUM_LINK_KEYS 16
|
|
|
|
#define NVM_NUM_DEVICE_DB_ENTRIES 16
|
2018-09-17 20:34:51 +02:00
|
|
|
|
2016-01-21 21:56:56 +01:00
|
|
|
// Daemon configuration
|
|
|
|
#define ENABLE_SDP
|
|
|
|
#define ENABLE_RFCOMM
|
2016-01-21 22:09:01 +01: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 21:56:56 +01: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
|