2014-10-14 20:00:04 +00:00
|
|
|
//
|
2016-01-21 20:56:56 +00: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 20:56:56 +00:00
|
|
|
// Port related features
|
|
|
|
#define HAVE_MALLOC
|
|
|
|
#define HAVE_PLATFORM_IPHONE_OS
|
2016-01-21 21:09:01 +00:00
|
|
|
#define HAVE_POSIX_FILE_IO
|
2016-03-30 08:59:47 +00:00
|
|
|
#define HAVE_POSIX_TIME
|
2016-01-21 20:56:56 +00:00
|
|
|
|
|
|
|
// BTstack features that can be enabled
|
2016-03-28 10:45:43 +00:00
|
|
|
#define ENABLE_CLASSIC
|
2013-03-16 22:46:02 +00:00
|
|
|
#define ENABLE_LOG_ERROR
|
2016-01-21 20:56:56 +00:00
|
|
|
#define ENABLE_LOG_INFO
|
|
|
|
#define ENABLE_LOG_INTO_HCI_DUMP
|
2016-01-21 14:33:36 +00:00
|
|
|
#define ENABLE_SDP_DES_DUMP
|
2014-10-14 20:00:04 +00:00
|
|
|
|
2016-01-21 20:56:56 +00:00
|
|
|
// BTstack configuration. buffers, sizes, ...
|
|
|
|
#define HCI_ACL_PAYLOAD_SIZE 1021
|
|
|
|
|
|
|
|
// Daemon configuration
|
2016-03-28 11:15:21 +00: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 20:56:56 +00:00
|
|
|
#define ENABLE_RFCOMM
|
|
|
|
#define ENABLE_SDP
|
|
|
|
#define HAVE_TRANSPORT_H4
|
|
|
|
#define UART_DEVICE "/dev/tty.bluetooth"
|
|
|
|
#define UART_SPEED 921600
|
2016-01-21 20:13:31 +00:00
|
|
|
#define USE_LAUNCHD
|
2016-02-02 21:32:29 +00:00
|
|
|
#define USE_SPRINGBOARD
|
2016-01-21 20:13:31 +00:00
|
|
|
|
2014-10-14 20:00:04 +00:00
|
|
|
#endif
|