btstack/port/ios/btstack_config.h

35 lines
862 B
C
Raw Normal View History

//
2016-01-21 20:56:56 +00:00
// btstack_config.h for iOS port in Cydia
//
#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
#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
#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
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
#define USE_LAUNCHD
#define USE_SPRINGBOARD
#endif