xref: /btstack/test/btstack_memory/config_single/btstack_config.h (revision 71d52576632fe7d9f24dc827de54333b4a282b5a)
1*6d34f98eSMatthias Ringwald //
2*6d34f98eSMatthias Ringwald // btstack_config.h for most tests
3*6d34f98eSMatthias Ringwald //
4*6d34f98eSMatthias Ringwald 
5*6d34f98eSMatthias Ringwald #ifndef BTSTACK_CONFIG_H
6*6d34f98eSMatthias Ringwald #define BTSTACK_CONFIG_H
7*6d34f98eSMatthias Ringwald 
8*6d34f98eSMatthias Ringwald // Port related features
9*6d34f98eSMatthias Ringwald #define HAVE_BTSTACK_STDIN
10*6d34f98eSMatthias Ringwald #define HAVE_POSIX_FILE_IO
11*6d34f98eSMatthias Ringwald #define HAVE_POSIX_TIME
12*6d34f98eSMatthias Ringwald 
13*6d34f98eSMatthias Ringwald // BTstack features that can be enabled
14*6d34f98eSMatthias Ringwald #define ENABLE_BLE
15*6d34f98eSMatthias Ringwald #define ENABLE_CLASSIC
16*6d34f98eSMatthias Ringwald #define ENABLE_LOG_ERROR
17*6d34f98eSMatthias Ringwald #define ENABLE_LOG_INFO
18*6d34f98eSMatthias Ringwald #define ENABLE_PRINTF_HEXDUMP
19*6d34f98eSMatthias Ringwald 
20*6d34f98eSMatthias Ringwald // BTstack configuration. buffers, sizes, ...
21*6d34f98eSMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 1024
22*6d34f98eSMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 6
23*6d34f98eSMatthias Ringwald 
24*6d34f98eSMatthias Ringwald #define MAX_NR_AVDTP_CONNECTIONS 1
25*6d34f98eSMatthias Ringwald #define MAX_NR_AVDTP_STREAM_ENDPOINTS 1
26*6d34f98eSMatthias Ringwald #define MAX_NR_AVRCP_BROWSING_CONNECTIONS 1
27*6d34f98eSMatthias Ringwald #define MAX_NR_AVRCP_CONNECTIONS 1
28*6d34f98eSMatthias Ringwald #define MAX_NR_BNEP_CHANNELS 1
29*6d34f98eSMatthias Ringwald #define MAX_NR_BNEP_SERVICES 1
30*6d34f98eSMatthias Ringwald #define MAX_NR_BTSTACK_LINK_KEY_DB_MEMORY_ENTRIES 1
31*6d34f98eSMatthias Ringwald #define MAX_NR_GATT_CLIENTS 1
32*6d34f98eSMatthias Ringwald #define MAX_NR_HCI_CONNECTIONS 1
33*6d34f98eSMatthias Ringwald #define MAX_NR_HFP_CONNECTIONS 1
34*6d34f98eSMatthias Ringwald #define MAX_NR_L2CAP_CHANNELS 1
35*6d34f98eSMatthias Ringwald #define MAX_NR_L2CAP_SERVICES 1
36*6d34f98eSMatthias Ringwald #define MAX_NR_MESH_NETWORK_KEYS 1
37*6d34f98eSMatthias Ringwald #define MAX_NR_MESH_NETWORK_PDUS 1
38*6d34f98eSMatthias Ringwald #define MAX_NR_MESH_SEGMENTED_PDUS 1
39*6d34f98eSMatthias Ringwald #define MAX_NR_MESH_SUBNETS 1
40*6d34f98eSMatthias Ringwald #define MAX_NR_MESH_TRANSPORT_KEYS 1
41*6d34f98eSMatthias Ringwald #define MAX_NR_MESH_UPPER_TRANSPORT_PDUS 1
42*6d34f98eSMatthias Ringwald #define MAX_NR_MESH_VIRTUAL_ADDRESSS 1
43*6d34f98eSMatthias Ringwald #define MAX_NR_RFCOMM_CHANNELS 1
44*6d34f98eSMatthias Ringwald #define MAX_NR_RFCOMM_MULTIPLEXERS 1
45*6d34f98eSMatthias Ringwald #define MAX_NR_RFCOMM_SERVICES 1
46*6d34f98eSMatthias Ringwald #define MAX_NR_SERVICE_RECORD_ITEMS 1
47*6d34f98eSMatthias Ringwald #define MAX_NR_SM_LOOKUP_ENTRIES 1
48*6d34f98eSMatthias Ringwald #define MAX_NR_WHITELIST_ENTRIES 1
49*6d34f98eSMatthias Ringwald 
50*6d34f98eSMatthias Ringwald #endif
51