xref: /btstack/test/security_manager_sc/btstack_config.h (revision 94fd3c039b168a98a6eb660aea8f697c2302549d)
1a921db49SMatthias Ringwald //
2a921db49SMatthias Ringwald // btstack_config.h for security manager sc live test based on libusb port //
3a921db49SMatthias Ringwald 
402a3cd7fSMilanka Ringwald #ifndef BTSTACK_CONFIG_H
502a3cd7fSMilanka Ringwald #define BTSTACK_CONFIG_H
6a921db49SMatthias Ringwald 
7a921db49SMatthias Ringwald // Port related features
802a3cd7fSMilanka Ringwald #define HAVE_BTSTACK_STDIN
9a921db49SMatthias Ringwald #define HAVE_MALLOC
10a921db49SMatthias Ringwald #define HAVE_POSIX_FILE_IO
11a921db49SMatthias Ringwald #define HAVE_POSIX_TIME
12a921db49SMatthias Ringwald 
13a921db49SMatthias Ringwald // BTstack features that can be enabled
1402a3cd7fSMilanka Ringwald #define ENABLE_ATT_DELAYED_RESPONSE
15a921db49SMatthias Ringwald #define ENABLE_BLE
16a921db49SMatthias Ringwald #define ENABLE_LE_CENTRAL
17b28dc800SMatthias Ringwald #define ENABLE_L2CAP_LE_CREDIT_BASED_FLOW_CONTROL_MODE
18a921db49SMatthias Ringwald #define ENABLE_LE_DATA_LENGTH_EXTENSION
1902a3cd7fSMilanka Ringwald #define ENABLE_LE_PERIPHERAL
20a921db49SMatthias Ringwald #define ENABLE_LE_PRIVACY_ADDRESS_RESOLUTION
2102a3cd7fSMilanka Ringwald #define ENABLE_LE_SECURE_CONNECTIONS
22a921db49SMatthias Ringwald #define ENABLE_LOG_ERROR
23a921db49SMatthias Ringwald #define ENABLE_LOG_INFO
2402a3cd7fSMilanka Ringwald #define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS
2539426e8aSMilanka Ringwald #define ENABLE_PRINTF_HEXDUMP
262cddd09dSMatthias Ringwald #define ENABLE_SOFTWARE_AES128
27c2833293SDirk Helbig #define ENABLE_BTSTACK_STDIN_LOGGING
28a921db49SMatthias Ringwald 
29*94fd3c03SMatthias Ringwald // use legacy GATT Client behaviour for replay
30*94fd3c03SMatthias Ringwald #define ENABLE_GATT_LEGACY_CCC_DISCOVERY
31*94fd3c03SMatthias Ringwald 
32a921db49SMatthias Ringwald // BTstack configuration. buffers, sizes, ...
33a921db49SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
34a921db49SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof BNEP header, avoid memcpy
35a921db49SMatthias Ringwald 
36a921db49SMatthias Ringwald #define NVM_NUM_DEVICE_DB_ENTRIES      16
37a921db49SMatthias Ringwald 
38a921db49SMatthias Ringwald // allow for one NetKey update
39a921db49SMatthias Ringwald #define MAX_NR_MESH_NETWORK_KEYS      (MAX_NR_MESH_SUBNETS+1)
40a921db49SMatthias Ringwald 
41a921db49SMatthias Ringwald #endif
42a921db49SMatthias Ringwald 
43