2021-08-06 08:07:17 +00:00
|
|
|
//
|
|
|
|
// btstack_config.h for most tests
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef BTSTACK_CONFIG_H
|
|
|
|
#define BTSTACK_CONFIG_H
|
|
|
|
|
|
|
|
// Port related features
|
|
|
|
#define HAVE_BTSTACK_STDIN
|
|
|
|
#define HAVE_MALLOC
|
|
|
|
#define HAVE_POSIX_FILE_IO
|
|
|
|
#define HAVE_POSIX_TIME
|
|
|
|
|
2021-11-18 14:52:45 +00:00
|
|
|
|
2021-08-06 08:07:17 +00:00
|
|
|
// BTstack features that can be enabled
|
2021-11-18 14:52:45 +00:00
|
|
|
#define ENABLE_CLASSIC
|
2021-08-06 08:07:17 +00:00
|
|
|
#define ENABLE_BLE
|
|
|
|
#define ENABLE_LOG_ERROR
|
|
|
|
#define ENABLE_LOG_INFO
|
|
|
|
#define ENABLE_PRINTF_HEXDUMP
|
|
|
|
|
|
|
|
#define ENABLE_LE_CENTRAL
|
|
|
|
#define ENABLE_LE_PERIPHERAL
|
2021-11-19 09:09:49 +00:00
|
|
|
#define ENABLE_L2CAP_LE_CREDIT_BASED_FLOW_CONTROL_MODE
|
2021-11-19 09:13:18 +00:00
|
|
|
#define ENABLE_L2CAP_ENHANCED_CREDIT_BASED_FLOW_CONTROL_MODE
|
2021-08-06 08:07:17 +00:00
|
|
|
|
|
|
|
// for ready-to-use hci channels
|
|
|
|
#define FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
|
|
|
|
|
|
|
|
// BTstack configuration. buffers, sizes, ...
|
|
|
|
#define HCI_ACL_PAYLOAD_SIZE 52
|
|
|
|
#define HCI_INCOMING_PRE_BUFFER_SIZE 4
|
|
|
|
|
|
|
|
#endif
|