2016-01-21 20:56:56 +00:00
|
|
|
//
|
|
|
|
// btstack_config.h for Android mtk port
|
|
|
|
//
|
2021-12-09 15:42:42 +00:00
|
|
|
// Documentation: https://bluekitchen-gmbh.com/btstack/#how_to/
|
|
|
|
//
|
2015-02-06 09:40:12 +00:00
|
|
|
|
2020-11-06 11:01:26 +00:00
|
|
|
#ifndef BTSTACK_CONFIG_H
|
|
|
|
#define BTSTACK_CONFIG_H
|
2015-02-06 09:40:12 +00:00
|
|
|
|
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
|
2018-08-14 18:53:46 +00:00
|
|
|
#define HAVE_UNIX_SOCKETS
|
2020-11-06 11:01:26 +00:00
|
|
|
|
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_CENTRAL
|
2020-11-06 11:01:26 +00:00
|
|
|
#define ENABLE_LE_PERIPHERAL
|
2015-02-06 09:40:12 +00:00
|
|
|
#define ENABLE_LOG_ERROR
|
2020-11-06 11:01:26 +00:00
|
|
|
#define ENABLE_LOG_INFO
|
2020-11-06 11:06:11 +00:00
|
|
|
#define ENABLE_PRINTF_HEXDUMP
|
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
|
2017-02-11 21:44:02 +00:00
|
|
|
#define MAX_NR_LE_DEVICE_DB_ENTRIES 1
|
2016-01-21 20:56:56 +00:00
|
|
|
|
2020-07-13 16:05:30 +00:00
|
|
|
#define NVM_NUM_DEVICE_DB_ENTRIES 16
|
2020-11-06 11:01:26 +00:00
|
|
|
#define NVM_NUM_LINK_KEYS 16
|
2018-09-17 18:34:51 +00:00
|
|
|
|
2016-01-21 20:56:56 +00:00
|
|
|
// Daemon configuration
|
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"
|
2020-11-06 11:01:26 +00:00
|
|
|
#define ENABLE_RFCOMM
|
|
|
|
#define ENABLE_SDP
|
|
|
|
#define HAVE_TRANSPORT_H4
|
2016-01-21 20:56:56 +00:00
|
|
|
#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
|