external-accessory

iPad Air - CoreBluetooth[ERROR] Cancelling picker as we couldn't communicate with Bluetooth

扶醉桌前 提交于 2019-12-06 11:44:08
I'm working with the "ExternalAccessory framework". I encountered a problem trying my app on a new iPad Air. When i try to show the bluetooth picker this error appear: CoreBluetooth[ERROR] Cancelling picker as we couldn't communicate with Bluetooth The bluetooth is ON . Picker return this error: Error Domain=EABluetoothAccessoryPickerErrorDomain Code=3 "The operation couldn’t be completed. My app work on every Apple Device, except the new iPad Air. EDIT I can connect and communicate with my device. The problem appear only if i call the bluetooth picker. EDIT 2 the problem appears also with a

IPhone Bluetooth Connectivity to Non IOS Devices

淺唱寂寞╮ 提交于 2019-12-05 04:10:35
问题 I was wondering, if there is a way to use IPhone as an HID device, with some other device like PS3. I checked out the Bluetooth specification and IOS Devices do support HID Profile. So I thought it would be easy to pair my iPhone using passkey mechanism and should be able to start using my iPhone as keyboard or mouse without much hassle. But I found very soon that this assumption is naive and I need to develop custom solution. I was initially thinking about using GameKit framework, but I

Getting Issues while connecting device with serial Bluetooth

痴心易碎 提交于 2019-12-05 00:51:00
I am facing 2 problems related to regular Bluetooth.Here is my code. - (void)viewDidLoad { [super viewDidLoad]; [NSTimer scheduledTimerWithTimeInterval:3.0 target:self selector:@selector(showElements) userInfo:nil repeats:NO]; [[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(accessoryConnected:) name:EAAccessoryDidConnectNotification object:nil]; [[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(accessoryDisconnected:) name:EAAccessoryDidConnectNotification object:nil]; [[EAAccessoryManager sharedAccessoryManager]registerForLocalNotifications]; }

ExternalAccessory on iOS at Xamarin

China☆狼群 提交于 2019-12-04 14:40:53
问题 Anybody has a clue on how to use the ExternalAccessory API on Xamarin.iOS? My Xamarin Studio version is 4.0.12(build 3), Xamarin.Android version 4.8.1, Xamarin.iOS version 6.4.5.0 and Xcode is Version 5.0 (5A1413) and I tried target both 6.1 and 7.0 iPad/iPhone. I've walked the internet and there is not much documentation. Even the MonoTouch docs have broken links. What I want is, list the connected bluetooth devices, get one of then by name and then connect to it so I can open a socket and

Connect the Accessory to my JailBreak iPhone Device

我的梦境 提交于 2019-12-04 06:13:05
I am using serial programming for get connected serial cable to my iPhone my code is as under #include <stdio.h> /* Standard input/output definitions */ #include <string.h> /* String function definitions */ #include <unistd.h> /* UNIX standard function definitions */ #include <fcntl.h> /* File control definitions */ #include <errno.h> /* Error number definitions */ #include <termios.h> /* POSIX terminal control definitions */ static struct termios gOriginalTTYAttrs; static int OpenSerialPort() { int fileDescriptor = -1; int handshake; struct termios options; // Open the serial port read/write,

How to get the list of the paired devices through Bluetooth in iOS?

家住魔仙堡 提交于 2019-12-04 03:47:27
问题 It's for AppStore, so I don't want any private framework. I want to get the list of the paired(even not connected). There are Core Bluetooth and External Accessary frameworks in iOS. I tried both of these, but nothing listed. 回答1: Tyr to use this one but i'm not sure its working or not for offline devices. Create EAAccessory object and initialize it. And then call the property name on your accessory object NSArray *accessories = [[EAAccessoryManager sharedAccessoryManager]

IPhone Bluetooth Connectivity to Non IOS Devices

こ雲淡風輕ζ 提交于 2019-12-03 21:40:41
I was wondering, if there is a way to use IPhone as an HID device, with some other device like PS3. I checked out the Bluetooth specification and IOS Devices do support HID Profile. So I thought it would be easy to pair my iPhone using passkey mechanism and should be able to start using my iPhone as keyboard or mouse without much hassle. But I found very soon that this assumption is naive and I need to develop custom solution. I was initially thinking about using GameKit framework, but I think it only works between two compatible IOS Devices. If I want to extend this capability, then I have to

RN42 Bluetooth disconnects on iOS within seconds of streaming data

和自甴很熟 提交于 2019-12-03 16:45:12
I've been trying to read data from a device via Bluetooth 2.1 using an RN-42. The device pairs to an iPhone or iPad Mini, and data is streamed across briefly, but the iOS & BT module disconnect (unpair) within seconds (less than 10). The device is outputting data 5-10kB/s, so well within Bluetooth’s spec. Something that I’ve also noticed is that when I run the function NSInputStream, [NSInputStream read: maxLength:], the number of bytes returned is always 158 or less. The app and hardware don’t crash, but the Bluetooth just unpairs. The device is still sending data to the RN42 even after the

ExternalAccessory on iOS at Xamarin

自闭症网瘾萝莉.ら 提交于 2019-12-03 09:10:54
Anybody has a clue on how to use the ExternalAccessory API on Xamarin.iOS? My Xamarin Studio version is 4.0.12(build 3), Xamarin.Android version 4.8.1, Xamarin.iOS version 6.4.5.0 and Xcode is Version 5.0 (5A1413) and I tried target both 6.1 and 7.0 iPad/iPhone. I've walked the internet and there is not much documentation. Even the MonoTouch docs have broken links. What I want is, list the connected bluetooth devices, get one of then by name and then connect to it so I can open a socket and start sending data to it. It is a device that uses Serial communication and yes, it has the Apple

How does this iOS app communicate over the USB port?

我怕爱的太早我们不能终老 提交于 2019-12-03 03:49:51
问题 This app promises to turn your iOS device into a second monitor and uses the standard USB cable to connect to the computer, as opposed to the network which all other similar apps use. Back when I heard about it, it wasn't yet available so I thought it was a scam. To my surprise, they released the app and it actually works as described. How does it work ? As far as I know there are no APIs to drive the USB port in iOS, and the computer connected via USB through the standard charging/syncing