Questions tagged [eaaccessory]

Subjects related to Apple iOS EAAccessory programming.

Subjects related to Apple iOS EAAccessory programming.

76 questions
7
votes
3 answers

iPad shows bluetooth accessory connected, but EAAccessoryManager doesn't find it?

This is driving me nuts...I had it working fine before and have no idea what has changed. I'm connecting to a proprietary company device over bluetooth, it has the auth chip and (as I said) everything was fine before. My iPad and the accessory both…
Reid
  • 1,109
  • 1
  • 12
  • 27
6
votes
2 answers

EAAccessory.Name is not matching the paired device name

I have an iOS application. I can successfully connect to my paired EAAccessory (Bluetooth Classic). I am able to pull information off of the device that is exposed through the EAAccessory object. One thing I noticed is that the name of the device…
Travyguy9
  • 4,774
  • 8
  • 43
  • 63
6
votes
1 answer

Connecting External Accessories Bluetooth devices without user interaction

According to EAAccessoryManager Class Reference from iOS 6 onward using showBluetoothAccessoryPickerWithNameFilter we can show a Accessory picker that will help user to connect External Accessories with that include an iAP over Bluetooth unique…
RVC
  • 61
  • 2
6
votes
1 answer

When would [UIScreen screens] return an empty array

I'm seeing odd behavior from [UIScreen screens] in iOS 5.0.1 in reports we log to Flurry on crashes. There are times when [UIScreen screens] will return an empty array. Our app implements support for external accessories through the EAAccessory…
David Potter
  • 2,272
  • 2
  • 22
  • 35
6
votes
2 answers

EASession Leaks

I have an app that connects to an accessory, and the EASession that I create in order to communicate with the accessory leaks when you disconnect the accessory. When the accessory connects, I get a notification of this and check EAAccessoryManager's…
Sam
  • 26,946
  • 12
  • 75
  • 101
5
votes
0 answers

EAAccessoryDidConnectNotification not firing until Bluetooth Accessory Picker completion block is called

I've recently started using the EAAccessoryManager showBluetoothAccessoryPickerWithNameFilter method in order to connect to our MFI bluetooth accessory (if it's not already connected) when our app launches. I'm running into the following…
Ben Graver
  • 71
  • 5
5
votes
1 answer

iOS EAAccessory framework: waking previously paired accessories that do not automatically connect

I found on the Apple website that: Support is also provided for waking previously paired accessories that do not automatically connect. This would be useful for me, as the user does not need to do pairing every time before he launchs the app. I…
JosephT
  • 865
  • 1
  • 11
  • 20
4
votes
2 answers

Detecting Bluetooth Keyboard in iPad App

In my app I am having a customer info form on which there are a number of text fields I have used, now when a user edits any field I need to move whole view up so that the editing text field won't get under iPad's internal keyboard and this is…
SpySudhir
  • 61
  • 5
4
votes
1 answer

connectedAccessories returns empty array after upgrade to iOS10

I've upgraded an iPad app to support iOS10. The app is used to connect to a MFI supported bluetooth device. Since the upgrade, [[EAAccessoryManager sharedAccessoryManager] connectedAccessories] is returning null (even when the setting menu shows…
4
votes
1 answer

How to detect in my app device is currently connected to vehicle Carplay

I googled lot but i did not get any hint. I want callback in my app when device is connect to carplay using cable. I tried EAAccessory framework (EAAccessoryDidConnectNotification and EAAccessoryDidDisconnectNotification) for detection. But i can't…
Mahesh
  • 317
  • 1
  • 3
  • 17
3
votes
1 answer

I am unable to connect to bluetooth after updating my iOS to 15.1

I can able to list all the available bluetooth devices, but when selected I got this error: "Error Domain=EABluetoothAccessoryPickerErrorDomain Code=1 "(null)"" [[EAAccessoryManager sharedAccessoryManager]…
vishwa
  • 53
  • 6
3
votes
1 answer

EAAccessoryManager notifyObserversThatAccessoryDisconnectedWithUserInfo crashes

My application is crashing randomly while connecting to socket mobile reader it gets disconnected for an unknown reason and it throws the following exception: Crashed: com.apple.main-thread EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x000000066120beb8 0 …
Rita Azar
  • 701
  • 1
  • 5
  • 14
3
votes
1 answer

Get battery level of Apple's Smart Battery Case

I couldn't find any info about this and right now don't have a Smart Battery Case. As it's connected through the device's dock, the information about the model, manufacturer, etc can be retrieved using EAAccessoryManager, but nothing about…
nsinvocation
  • 7,559
  • 3
  • 41
  • 46
3
votes
1 answer

Connected Bluetooth Module not shown in EAAccessoryManager's connectedAccessory

I'm working on an app use Bluetooth 2.1. Each time the app becomes active, it will open an EASession. Each time the app go to background or terminate, EASession closed. If the bluetooth module is connected, and app is started fresh, it opens…
user1491987
  • 751
  • 1
  • 14
  • 34
2
votes
1 answer

Communicating an iOS device with a non iOS device

As shown in the Apple documentation, communication with a certfied accessory (certified by apple) can be made through te EAAccessory Framework. But I am getting a little bit confused because some posts tell me that it can also be made through…
rokridi
  • 1,565
  • 2
  • 11
  • 20
1
2 3 4 5 6