xref: /btstack/test/ble_client/btstack_config.h (revision 39426e8a4416f49f9eda53e93e4bf632f2ec022d)
1f400efd4SMatthias Ringwald //
2f400efd4SMatthias Ringwald // btstack_config.h for most tests
3f400efd4SMatthias Ringwald //
4f400efd4SMatthias Ringwald 
502a3cd7fSMilanka Ringwald #ifndef BTSTACK_CONFIG_H
602a3cd7fSMilanka Ringwald #define BTSTACK_CONFIG_H
7f400efd4SMatthias Ringwald 
8f400efd4SMatthias Ringwald // Port related features
9f400efd4SMatthias Ringwald #define HAVE_ASSERT
10f400efd4SMatthias Ringwald #define HAVE_BTSTACK_STDIN
1102a3cd7fSMilanka Ringwald #define HAVE_MALLOC
1202a3cd7fSMilanka Ringwald #define HAVE_POSIX_FILE_IO
1302a3cd7fSMilanka Ringwald #define HAVE_POSIX_TIME
14f400efd4SMatthias Ringwald 
15f400efd4SMatthias Ringwald // BTstack features that can be enabled
16f400efd4SMatthias Ringwald #define ENABLE_BLE
1702a3cd7fSMilanka Ringwald #define ENABLE_LE_CENTRAL
1802a3cd7fSMilanka Ringwald #define ENABLE_LE_PERIPHERAL
1902a3cd7fSMilanka Ringwald #define ENABLE_LE_SIGNED_WRITE
20f400efd4SMatthias Ringwald #define ENABLE_LOG_ERROR
21f400efd4SMatthias Ringwald #define ENABLE_LOG_INFO
22*39426e8aSMilanka Ringwald #define ENABLE_PRINTF_HEXDUMP
23f400efd4SMatthias Ringwald #define ENABLE_SOFTWARE_AES128
24f400efd4SMatthias Ringwald 
25f400efd4SMatthias Ringwald // BTstack configuration. buffers, sizes, ...
26f400efd4SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 1024
27f400efd4SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 6
28f400efd4SMatthias Ringwald #define NVM_NUM_DEVICE_DB_ENTRIES 4
2902a3cd7fSMilanka Ringwald #define NVM_NUM_LINK_KEYS 2
30f400efd4SMatthias Ringwald 
31f400efd4SMatthias Ringwald #endif
32