2016-11-27 20:26:32 +00:00
|
|
|
//
|
|
|
|
// btstack_config.h for libusb port
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef __BTSTACK_CONFIG
|
|
|
|
#define __BTSTACK_CONFIG
|
|
|
|
|
|
|
|
// Port related features
|
|
|
|
#define HAVE_MALLOC
|
|
|
|
#define HAVE_POSIX_FILE_IO
|
2017-05-25 20:26:15 +00:00
|
|
|
#define HAVE_BTSTACK_STDIN
|
2016-11-27 20:26:32 +00:00
|
|
|
#define HAVE_POSIX_TIME
|
|
|
|
|
|
|
|
// BTstack features that can be enabled
|
|
|
|
#define ENABLE_BLE
|
|
|
|
#define ENABLE_CLASSIC
|
2017-03-20 09:57:13 +00:00
|
|
|
#define ENABLE_HFP_WIDE_BAND_SPEECH
|
2017-01-17 09:26:04 +00:00
|
|
|
#define ENABLE_LE_CENTRAL
|
2017-03-20 09:57:13 +00:00
|
|
|
#define ENABLE_LE_PERIPHERAL
|
2016-11-27 20:26:32 +00:00
|
|
|
#define ENABLE_LE_SECURE_CONNECTIONS
|
2017-08-28 19:10:17 +00:00
|
|
|
#define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS
|
2017-07-07 20:34:48 +00:00
|
|
|
#define ENABLE_LE_DATA_LENGTH_EXTENSION
|
2016-11-27 20:26:32 +00:00
|
|
|
#define ENABLE_LOG_ERROR
|
|
|
|
#define ENABLE_LOG_INFO
|
|
|
|
#define ENABLE_SCO_OVER_HCI
|
|
|
|
#define ENABLE_SDP_DES_DUMP
|
|
|
|
|
|
|
|
// BTstack configuration. buffers, sizes, ...
|
|
|
|
#define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
|
|
|
|
#define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof BNEP header, avoid memcpy
|
|
|
|
|
|
|
|
#endif
|