xref: /btstack/test/security_manager_sc/btstack_config.h (revision c9822bc75bf4df6fff7430d2816763bdd5fa34fe)
1 //
2 // btstack_config.h for security manager sc live test based on libusb port //
3 
4 #ifndef BTSTACK_CONFIG_H
5 #define BTSTACK_CONFIG_H
6 
7 // Port related features
8 #define HAVE_BTSTACK_STDIN
9 #define HAVE_MALLOC
10 #define HAVE_POSIX_FILE_IO
11 #define HAVE_POSIX_TIME
12 
13 // BTstack features that can be enabled
14 #define ENABLE_ATT_DELAYED_RESPONSE
15 #define ENABLE_BLE
16 #define ENABLE_LE_CENTRAL
17 #define ENABLE_L2CAP_LE_CREDIT_BASED_FLOW_CONTROL_MODE
18 #define ENABLE_LE_DATA_LENGTH_EXTENSION
19 #define ENABLE_LE_PERIPHERAL
20 #define ENABLE_LE_PRIVACY_ADDRESS_RESOLUTION
21 #define ENABLE_LE_SECURE_CONNECTIONS
22 #define ENABLE_LOG_ERROR
23 #define ENABLE_LOG_INFO
24 #define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS
25 #define ENABLE_PRINTF_HEXDUMP
26 #define ENABLE_SOFTWARE_AES128
27 #define ENABLE_BTSTACK_STDIN_LOGGING
28 
29 // use legacy GATT Client behaviour for replay
30 #define ENABLE_GATT_LEGACY_CCC_DISCOVERY
31 
32 // BTstack configuration. buffers, sizes, ...
33 #define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
34 #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof BNEP header, avoid memcpy
35 
36 #define NVM_NUM_DEVICE_DB_ENTRIES      16
37 
38 // allow for one NetKey update
39 #define MAX_NR_MESH_NETWORK_KEYS      (MAX_NR_MESH_SUBNETS+1)
40 
41 #endif
42 
43