2016-01-21 20:27:06 +00:00
|
|
|
//
|
|
|
|
// btstack_config.h for Arduino port
|
|
|
|
//
|
2012-01-20 22:53:32 +00:00
|
|
|
|
2016-01-21 20:27:06 +00:00
|
|
|
#ifndef __BTSTACK_CONFIG
|
|
|
|
#define __BTSTACK_CONFIG
|
|
|
|
|
|
|
|
// Port related features
|
|
|
|
#define HAVE_MALLOC
|
2016-10-03 09:26:44 +00:00
|
|
|
#define HAVE_POSIX_TIME
|
|
|
|
#define HAVE_POSIX_FILE_IO
|
|
|
|
#define HAVE_POSIX_STDIN
|
2012-01-20 22:53:32 +00:00
|
|
|
|
2016-01-21 20:27:06 +00:00
|
|
|
// BTstack features that can be enabled
|
|
|
|
#define ENABLE_BLE
|
2016-03-28 10:48:00 +00:00
|
|
|
#define ENABLE_CLASSIC
|
2015-08-07 20:40:30 +00:00
|
|
|
#define ENABLE_LOG_DEBUG
|
2015-07-10 15:01:51 +00:00
|
|
|
#define ENABLE_LOG_ERROR
|
2016-01-21 20:27:06 +00:00
|
|
|
#define ENABLE_LOG_INFO
|
|
|
|
#define ENABLE_LOG_INTO_HCI_DUMP
|
|
|
|
#define ENABLE_SDP_DES_DUMP
|
2016-01-21 14:33:36 +00:00
|
|
|
#define ENABLE_SDP_EXTRA_QUERIES
|
2016-06-10 11:47:11 +00:00
|
|
|
// #define ENABLE_LE_SECURE_CONNECTIONS
|
2012-01-20 22:53:32 +00:00
|
|
|
|
2016-01-21 20:27:06 +00:00
|
|
|
// BTstack configuration. buffers, sizes, ...
|
2012-01-20 22:53:32 +00:00
|
|
|
#define HCI_ACL_PAYLOAD_SIZE 52
|
2015-10-15 10:32:04 +00:00
|
|
|
#define HCI_INCOMING_PRE_BUFFER_SIZE 4
|
2012-01-20 22:53:32 +00:00
|
|
|
|
2015-08-20 15:23:36 +00:00
|
|
|
#endif
|