2016-01-21 21:56:56 +01:00
|
|
|
//
|
|
|
|
// btstack_config.h for generic POSIX H4 port
|
|
|
|
//
|
2015-05-12 00:34:14 +02:00
|
|
|
|
|
|
|
#ifndef __BTSTACK_CONFIG
|
|
|
|
#define __BTSTACK_CONFIG
|
|
|
|
|
2016-01-21 21:56:56 +01:00
|
|
|
// Port related features
|
|
|
|
#define HAVE_BZERO
|
|
|
|
#define HAVE_MALLOC
|
2016-01-21 22:09:01 +01:00
|
|
|
#define HAVE_POSIX_FILE_IO
|
2016-01-22 21:07:13 +01:00
|
|
|
#define HAVE_SCO
|
|
|
|
#define HAVE_SCO_OVER_HCI
|
2015-05-12 00:34:14 +02:00
|
|
|
#define HAVE_SO_NOSIGPIPE
|
|
|
|
#define HAVE_TIME
|
2016-01-21 21:56:56 +01:00
|
|
|
|
|
|
|
// BTstack features that can be enabled
|
|
|
|
#define ENABLE_BLE
|
2016-01-24 18:09:29 +01:00
|
|
|
#define ENABLE_CLASSIC
|
2015-05-12 00:34:14 +02:00
|
|
|
#define ENABLE_LOG_ERROR
|
2016-01-21 21:56:56 +01:00
|
|
|
#define ENABLE_LOG_INFO
|
2016-01-21 21:27:06 +01:00
|
|
|
#define ENABLE_LOG_INTO_HCI_DUMP
|
2016-01-21 15:33:36 +01:00
|
|
|
#define ENABLE_SDP_DES_DUMP
|
2015-05-12 00:34:14 +02:00
|
|
|
|
2016-01-21 21:56:56 +01:00
|
|
|
// BTstack configuration. buffers, sizes, ...
|
|
|
|
#define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof benep heade, avoid memcpy
|
|
|
|
#define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
|
|
|
|
|
2015-05-12 00:34:14 +02:00
|
|
|
#endif
|
2016-01-21 21:56:56 +01:00
|
|
|
|