2016-01-21 21:27:06 +01:00
|
|
|
//
|
|
|
|
// btstack_config.h for Arduino port
|
|
|
|
//
|
2012-01-20 22:53:32 +00:00
|
|
|
|
2016-01-21 21:27:06 +01:00
|
|
|
#ifndef __BTSTACK_CONFIG
|
|
|
|
#define __BTSTACK_CONFIG
|
|
|
|
|
|
|
|
// Port related features
|
2012-01-20 22:53:32 +00:00
|
|
|
#define HAVE_INIT_SCRIPT
|
|
|
|
#define HAVE_BZERO
|
|
|
|
#define HAVE_TIME
|
2016-01-21 21:27:06 +01:00
|
|
|
#define HAVE_MALLOC
|
2012-01-20 22:53:32 +00:00
|
|
|
|
2016-01-21 21:27:06 +01:00
|
|
|
// BTstack features that can be enabled
|
|
|
|
#define ENABLE_BLE
|
2015-08-07 22:40:30 +02:00
|
|
|
#define ENABLE_LOG_DEBUG
|
2015-07-10 17:01:51 +02:00
|
|
|
#define ENABLE_LOG_ERROR
|
2016-01-21 21:27:06 +01:00
|
|
|
#define ENABLE_LOG_INFO
|
|
|
|
#define ENABLE_LOG_INTO_HCI_DUMP
|
|
|
|
#define ENABLE_SDP_DES_DUMP
|
2016-01-21 15:33:36 +01:00
|
|
|
#define ENABLE_SDP_EXTRA_QUERIES
|
2012-01-20 22:53:32 +00:00
|
|
|
|
2016-01-21 21:27:06 +01:00
|
|
|
// BTstack configuration. buffers, sizes, ...
|
2012-01-20 22:53:32 +00:00
|
|
|
#define HCI_ACL_PAYLOAD_SIZE 52
|
2015-10-15 12:32:04 +02:00
|
|
|
#define HCI_INCOMING_PRE_BUFFER_SIZE 4
|
2012-01-20 22:53:32 +00:00
|
|
|
|
2015-08-20 17:23:36 +02:00
|
|
|
#endif
|