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