1 | #ifndef __BTSTACK_CONFIG
|
---|
2 | #define __BTSTACK_CONFIG
|
---|
3 |
|
---|
4 | #define EMBEDDED
|
---|
5 | #define HAVE_MALLOC
|
---|
6 |
|
---|
7 | //#define HAVE_BLE
|
---|
8 | #define HAVE_BNEP
|
---|
9 |
|
---|
10 | #define HAVE_INIT_SCRIPT
|
---|
11 | #define HAVE_BZERO
|
---|
12 | #define HAVE_TICK
|
---|
13 |
|
---|
14 | #define HAVE_EHCILL
|
---|
15 | #define HAVE_SDP_EXTRA_QUERIES
|
---|
16 |
|
---|
17 | //#define ENABLE_LOG_DEBUG
|
---|
18 | //#define ENABLE_LOG_INFO
|
---|
19 | #define ENABLE_LOG_ERROR
|
---|
20 | //#define SDP_DES_DUMP
|
---|
21 | //#define PRIx32 "lx"
|
---|
22 |
|
---|
23 | #define HCI_ACL_PAYLOAD_SIZE 1710
|
---|
24 |
|
---|
25 | #if 1
|
---|
26 | #define MAX_SPP_CONNECTIONS 1
|
---|
27 | #define MAX_PAN_CONNECTIONS 4
|
---|
28 | #define MAX_NO_GATT_CLIENTS 0
|
---|
29 | #define MAX_NO_GATT_SUBCLIENTS 0
|
---|
30 | #define MAX_NO_HCI_CONNECTIONS (1 + MAX_SPP_CONNECTIONS + MAX_PAN_CONNECTIONS)
|
---|
31 | #define MAX_NO_L2CAP_SERVICES 3//SDP+RFCOMM+BNEP
|
---|
32 | #define MAX_NO_L2CAP_CHANNELS (1 + MAX_SPP_CONNECTIONS + MAX_PAN_CONNECTIONS)
|
---|
33 | #define MAX_NO_RFCOMM_MULTIPLEXERS MAX_SPP_CONNECTIONS
|
---|
34 | #define MAX_NO_RFCOMM_SERVICES 1
|
---|
35 | #define MAX_NO_RFCOMM_CHANNELS MAX_SPP_CONNECTIONS
|
---|
36 | #define MAX_NO_DB_MEM_DEVICE_LINK_KEYS 4
|
---|
37 | #define MAX_NO_DB_MEM_DEVICE_NAMES 4
|
---|
38 | #define MAX_NO_DB_MEM_SERVICES 4
|
---|
39 | #define MAX_NO_BNEP_SERVICES 1
|
---|
40 | #define MAX_NO_BNEP_CHANNELS MAX_PAN_CONNECTIONS
|
---|
41 | #else
|
---|
42 | #define MAX_SPP_CONNECTIONS 3
|
---|
43 | #define MAX_NO_HCI_CONNECTIONS MAX_SPP_CONNECTIONS
|
---|
44 | #define MAX_NO_GATT_CLIENTS 0
|
---|
45 | #define MAX_NO_GATT_SUBCLIENTS 0
|
---|
46 | #define MAX_NO_L2CAP_SERVICES 2
|
---|
47 | #define MAX_NO_L2CAP_CHANNELS (1+MAX_SPP_CONNECTIONS)
|
---|
48 | #define MAX_NO_RFCOMM_MULTIPLEXERS MAX_SPP_CONNECTIONS
|
---|
49 | #define MAX_NO_RFCOMM_SERVICES 1
|
---|
50 | #define MAX_NO_RFCOMM_CHANNELS MAX_SPP_CONNECTIONS
|
---|
51 | #define MAX_NO_BNEP_SERVICES 1
|
---|
52 | #define MAX_NO_BNEP_CHANNELS MAX_SPP_CONNECTIONS
|
---|
53 | #define MAX_NO_DB_MEM_DEVICE_LINK_KEYS 2
|
---|
54 | #define MAX_NO_DB_MEM_DEVICE_NAMES 0
|
---|
55 | #define MAX_NO_DB_MEM_SERVICES 1
|
---|
56 | #endif
|
---|
57 |
|
---|
58 | #endif
|
---|