xref: /btstack/port/mtk/btstack_config.h (revision 077fecbb6ed539507f37505ebd8a5b00e01c55e9)
1 //
2 // btstack_config.h for Android mtk port
3 //
4 // Documentation: https://bluekitchen-gmbh.com/btstack/#how_to/
5 //
6 
7 #ifndef BTSTACK_CONFIG_H
8 #define BTSTACK_CONFIG_H
9 
10 // Port related features
11 #define HAVE_MALLOC
12 #define HAVE_POSIX_FILE_IO
13 #define HAVE_POSIX_TIME
14 #define HAVE_UNIX_SOCKETS
15 
16 // BTstack features that can be enabled
17 #define ENABLE_BLE
18 #define ENABLE_CLASSIC
19 #define ENABLE_LE_CENTRAL
20 #define ENABLE_LE_PERIPHERAL
21 #define ENABLE_LOG_ERROR
22 #define ENABLE_LOG_INFO
23 #define ENABLE_PRINTF_HEXDUMP
24 #define ENABLE_SDP_DES_DUMP
25 
26 // BTstack configuration. buffers, sizes, ...
27 #define HCI_ACL_PAYLOAD_SIZE 1021
28 #define MAX_NR_LE_DEVICE_DB_ENTRIES 1
29 
30 #define NVM_NUM_DEVICE_DB_ENTRIES      16
31 #define NVM_NUM_LINK_KEYS              16
32 
33 // Daemon configuration
34 #define BTSTACK_LOG_FILE "/data/btstack/hci_dump.pklg"
35 #define BTSTACK_UNIX "/data/btstack/BTstack"
36 #define ENABLE_RFCOMM
37 #define ENABLE_SDP
38 #define HAVE_TRANSPORT_H4
39 #define REMOTE_DEVICE_DB remote_device_db_memory
40 #define UART_DEVICE "/dev/ttyS0"
41 #define UART_SPEED 115200
42 
43 #endif
44