2017-04-25 14:36:06 +02:00
|
|
|
//
|
|
|
|
// btstack_config.h for generic POSIX H4 port
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef __BTSTACK_CONFIG
|
|
|
|
#define __BTSTACK_CONFIG
|
|
|
|
|
|
|
|
// Port related features
|
|
|
|
#define HAVE_MALLOC
|
|
|
|
#define HAVE_POSIX_FILE_IO
|
2017-05-25 22:26:15 +02:00
|
|
|
#define HAVE_BTSTACK_STDIN
|
2017-04-25 14:36:06 +02:00
|
|
|
#define HAVE_POSIX_TIME
|
|
|
|
|
|
|
|
// BTstack features that can be enabled
|
|
|
|
#define ENABLE_BLE
|
|
|
|
#define ENABLE_CLASSIC
|
|
|
|
#define ENABLE_HFP_WIDE_BAND_SPEECH
|
2018-10-29 09:58:48 +01:00
|
|
|
#define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
|
2017-04-25 14:36:06 +02:00
|
|
|
#define ENABLE_LE_CENTRAL
|
|
|
|
#define ENABLE_LE_PERIPHERAL
|
|
|
|
#define ENABLE_LE_SECURE_CONNECTIONS
|
2017-08-28 21:10:17 +02:00
|
|
|
#define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS
|
2018-01-19 16:32:28 +01:00
|
|
|
#define ENABLE_LE_DATA_CHANNELS
|
2017-07-07 22:34:48 +02:00
|
|
|
#define ENABLE_LE_DATA_LENGTH_EXTENSION
|
2017-04-25 14:36:06 +02: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_INCOMING_PRE_BUFFER_SIZE 14 // sizeof benep heade, avoid memcpy
|
|
|
|
#define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|