2016-01-21 20:56:56 +00:00
|
|
|
//
|
|
|
|
// btstack_config.h for libusb port
|
|
|
|
//
|
2014-10-14 20:00:04 +00:00
|
|
|
|
|
|
|
#ifndef __BTSTACK_CONFIG
|
|
|
|
#define __BTSTACK_CONFIG
|
|
|
|
|
2016-01-21 20:56:56 +00:00
|
|
|
// Port related features
|
2016-01-14 13:20:22 +00:00
|
|
|
#define HAVE_MALLOC
|
2016-03-28 14:26:37 +00:00
|
|
|
#define HAVE_POSIX_FILE_IO
|
2017-05-25 20:26:15 +00:00
|
|
|
#define HAVE_BTSTACK_STDIN
|
2016-03-30 08:59:47 +00:00
|
|
|
#define HAVE_POSIX_TIME
|
2016-01-21 20:56:56 +00:00
|
|
|
|
|
|
|
// BTstack features that can be enabled
|
|
|
|
#define ENABLE_BLE
|
2016-01-24 17:09:29 +00:00
|
|
|
#define ENABLE_CLASSIC
|
2017-03-20 09:57:13 +00:00
|
|
|
#define ENABLE_HFP_WIDE_BAND_SPEECH
|
2017-01-14 16:47:16 +00:00
|
|
|
#define ENABLE_LE_CENTRAL
|
2017-03-20 09:57:13 +00:00
|
|
|
#define ENABLE_LE_PERIPHERAL
|
2016-05-09 16:19:30 +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-01-21 20:56:56 +00:00
|
|
|
#define ENABLE_LOG_ERROR
|
|
|
|
#define ENABLE_LOG_INFO
|
2016-03-01 16:29:04 +00:00
|
|
|
#define ENABLE_SCO_OVER_HCI
|
2016-01-21 20:56:56 +00:00
|
|
|
#define ENABLE_SDP_DES_DUMP
|
|
|
|
|
2017-11-03 15:57:10 +00:00
|
|
|
// #define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
|
|
|
|
|
2016-01-21 20:56:56 +00:00
|
|
|
// BTstack configuration. buffers, sizes, ...
|
2014-11-12 00:12:18 +00:00
|
|
|
#define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
|
2016-01-14 13:20:22 +00:00
|
|
|
#define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof BNEP header, avoid memcpy
|
2015-11-06 15:27:14 +00:00
|
|
|
|
2014-11-12 00:12:18 +00:00
|
|
|
#endif
|