2014-10-14 20:00:04 +00:00
|
|
|
//
|
2016-01-21 21:56:56 +01:00
|
|
|
// btstack_config.h for iOS port in Cydia
|
2014-10-14 20:00:04 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef __BTSTACK_CONFIG
|
|
|
|
#define __BTSTACK_CONFIG
|
|
|
|
|
2016-01-21 21:56:56 +01:00
|
|
|
// Port related features
|
|
|
|
#define HAVE_MALLOC
|
|
|
|
#define HAVE_PLATFORM_IPHONE_OS
|
2016-01-21 22:09:01 +01:00
|
|
|
#define HAVE_POSIX_FILE_IO
|
2016-03-30 10:59:47 +02:00
|
|
|
#define HAVE_POSIX_TIME
|
2016-01-21 21:56:56 +01:00
|
|
|
|
|
|
|
// BTstack features that can be enabled
|
2016-03-28 12:45:43 +02:00
|
|
|
#define ENABLE_CLASSIC
|
2013-03-16 22:46:02 +00:00
|
|
|
#define ENABLE_LOG_ERROR
|
2016-01-21 21:56:56 +01:00
|
|
|
#define ENABLE_LOG_INFO
|
2016-01-21 15:33:36 +01:00
|
|
|
#define ENABLE_SDP_DES_DUMP
|
2014-10-14 20:00:04 +00:00
|
|
|
|
2016-01-21 21:56:56 +01:00
|
|
|
// BTstack configuration. buffers, sizes, ...
|
|
|
|
#define HCI_ACL_PAYLOAD_SIZE 1021
|
2017-02-11 22:44:02 +01:00
|
|
|
#define MAX_NR_LE_DEVICE_DB_ENTRIES 1
|
2016-01-21 21:56:56 +01:00
|
|
|
|
|
|
|
// Daemon configuration
|
2016-03-28 13:15:21 +02:00
|
|
|
#define BTSTACK_DEVICE_NAME_DB_INSTANCE btstack_device_name_db_corefoundation_instance
|
|
|
|
#define BTSTACK_LINK_KEY_DB_INSTANCE btstack_link_key_db_corefoundation_instance
|
2016-01-21 21:56:56 +01:00
|
|
|
#define ENABLE_RFCOMM
|
|
|
|
#define ENABLE_SDP
|
|
|
|
#define HAVE_TRANSPORT_H4
|
|
|
|
#define UART_DEVICE "/dev/tty.bluetooth"
|
|
|
|
#define UART_SPEED 921600
|
2016-01-21 21:13:31 +01:00
|
|
|
#define USE_LAUNCHD
|
2016-02-02 22:32:29 +01:00
|
|
|
#define USE_SPRINGBOARD
|
2016-01-21 21:13:31 +01:00
|
|
|
|
2014-10-14 20:00:04 +00:00
|
|
|
#endif
|