xref: /btstack/test/security_manager_sc/btstack_config.h (revision b28dc8004dd8d4fb9020a6dcd2bc81f05d36a008)
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
17*b28dc800SMatthias 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
27a921db49SMatthias Ringwald 
28a921db49SMatthias Ringwald // BTstack configuration. buffers, sizes, ...
29a921db49SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
30a921db49SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof BNEP header, avoid memcpy
31a921db49SMatthias Ringwald 
32a921db49SMatthias Ringwald #define NVM_NUM_DEVICE_DB_ENTRIES      16
33a921db49SMatthias Ringwald 
34a921db49SMatthias Ringwald // allow for one NetKey update
35a921db49SMatthias Ringwald #define MAX_NR_MESH_NETWORK_KEYS      (MAX_NR_MESH_SUBNETS+1)
36a921db49SMatthias Ringwald 
37a921db49SMatthias Ringwald #endif
38a921db49SMatthias Ringwald 
39