2019-03-08 15:21:23 +01:00
|
|
|
//
|
|
|
|
// btstack_config.h for libusb port
|
|
|
|
//
|
|
|
|
|
2020-11-06 14:03:27 +01:00
|
|
|
#ifndef BTSTACK_CONFIG_H
|
|
|
|
#define BTSTACK_CONFIG_H
|
2019-03-08 15:21:23 +01:00
|
|
|
|
|
|
|
// Port related features
|
2020-11-06 14:03:27 +01:00
|
|
|
#define HAVE_BTSTACK_STDIN
|
2019-03-08 15:21:23 +01:00
|
|
|
#define HAVE_MALLOC
|
|
|
|
#define HAVE_POSIX_FILE_IO
|
|
|
|
#define HAVE_POSIX_TIME
|
|
|
|
|
|
|
|
// BTstack features that can be enabled
|
2020-11-06 14:03:27 +01:00
|
|
|
#define ENABLE_ATT_DELAYED_RESPONSE
|
2019-03-08 15:21:23 +01:00
|
|
|
#define ENABLE_BLE
|
|
|
|
#define ENABLE_CLASSIC
|
|
|
|
#define ENABLE_HFP_WIDE_BAND_SPEECH
|
|
|
|
#define ENABLE_LE_CENTRAL
|
|
|
|
#define ENABLE_LE_DATA_CHANNELS
|
|
|
|
#define ENABLE_LE_DATA_LENGTH_EXTENSION
|
2020-11-06 14:03:27 +01:00
|
|
|
#define ENABLE_LE_PERIPHERAL
|
|
|
|
#define ENABLE_LE_SECURE_CONNECTIONS
|
2019-03-08 15:21:23 +01:00
|
|
|
#define ENABLE_LOG_ERROR
|
2020-11-06 14:03:27 +01:00
|
|
|
#define ENABLE_LOG_INFO
|
|
|
|
#define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS
|
2020-11-06 14:06:41 +01:00
|
|
|
#define ENABLE_PRINTF_HEXDUMP
|
2019-03-08 15:21:23 +01:00
|
|
|
#define ENABLE_SCO_OVER_HCI
|
|
|
|
#define ENABLE_SDP_DES_DUMP
|
|
|
|
|
|
|
|
#define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
|
|
|
|
|
|
|
|
// BTstack configuration. buffers, sizes, ...
|
|
|
|
#define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
|
|
|
|
#define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof BNEP header, avoid memcpy
|
2019-10-22 14:55:07 +02:00
|
|
|
#define NVM_NUM_DEVICE_DB_ENTRIES 20
|
2020-11-30 21:35:42 +01:00
|
|
|
#define NVM_NUM_LINK_KEYS 20
|
2019-03-08 15:21:23 +01:00
|
|
|
|
|
|
|
#endif
|