xref: /btstack/test/gap/btstack_config.h (revision 1520bf5b3f790896a1fc4ef6518db2c55f7e8032)
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_BTSTACK_STDIN
1002a3cd7fSMilanka Ringwald #define HAVE_MALLOC
1102a3cd7fSMilanka Ringwald #define HAVE_POSIX_FILE_IO
1202a3cd7fSMilanka Ringwald #define HAVE_POSIX_TIME
13f400efd4SMatthias Ringwald 
14f400efd4SMatthias Ringwald // BTstack features that can be enabled
15f400efd4SMatthias Ringwald #define ENABLE_BLE
1602a3cd7fSMilanka Ringwald #define ENABLE_LE_CENTRAL
1702a3cd7fSMilanka Ringwald #define ENABLE_LE_PERIPHERAL
1802a3cd7fSMilanka Ringwald #define ENABLE_LE_SIGNED_WRITE
19f400efd4SMatthias Ringwald #define ENABLE_LOG_ERROR
20f400efd4SMatthias Ringwald #define ENABLE_LOG_INFO
2139426e8aSMilanka Ringwald #define ENABLE_PRINTF_HEXDUMP
22f400efd4SMatthias Ringwald #define ENABLE_SOFTWARE_AES128
23*1520bf5bSMatthias Ringwald #define ENABLE_LE_DATA_LENGTH_EXTENSION
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