xref: /btstack/test/l2cap-ecbm/btstack_config.h (revision af7c3ae6cd1e2bcfd24e6d0654508ecf775c9e5d)
1 //
2 // btstack_config.h for most tests
3 //
4 
5 #ifndef BTSTACK_CONFIG_H
6 #define BTSTACK_CONFIG_H
7 
8 // Port related features
9 #define HAVE_BTSTACK_STDIN
10 #define HAVE_MALLOC
11 #define HAVE_POSIX_FILE_IO
12 #define HAVE_POSIX_TIME
13 
14 
15 // BTstack features that can be enabled
16 #define ENABLE_CLASSIC
17 #define ENABLE_BLE
18 #define ENABLE_LOG_ERROR
19 #define ENABLE_LOG_INFO
20 #define ENABLE_PRINTF_HEXDUMP
21 
22 #define ENABLE_LE_CENTRAL
23 #define ENABLE_LE_PERIPHERAL
24 #define ENABLE_L2CAP_LE_CREDIT_BASED_FLOW_CONTROL_MODE
25 #define ENABLE_L2CAP_ENHANCED_CREDIT_BASED_FLOW_CONTROL_MODE
26 
27 // for ready-to-use hci channels
28 #define FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
29 
30 // BTstack configuration. buffers, sizes, ...
31 #define HCI_ACL_PAYLOAD_SIZE 52
32 #define HCI_INCOMING_PRE_BUFFER_SIZE 4
33 
34 #endif
35