External Accessory

RSS for tag

Communicate with accessories connected to a device by the Apple Lightning connector or through Bluetooth using External Accessory.

External Accessory Documentation

Posts under External Accessory tag

109 Posts
Sort by:
Post not yet marked as solved
0 Replies
177 Views
My Logi devices were working perfectly well for the last 2 years, but after recently upgrading to macOS Monterey 12.4 (21F79), these devices are not showing up in the list of Bluetooth devices, its not getting discovered, can anyone help to resolve this issue.
Posted
by Partha-J.
Last updated
.
Post not yet marked as solved
0 Replies
209 Views
hi, I am developing an accessory device which iphone connects to over BLE. meaning the accessory device is a peripheral and the mobile is central. I would like to enable the user to rename the GAP name of the accessory via IOS bluetooth settings. As seen in the link below. I have verified that I have write permissions for the gap name charecteristic on the accessory. I connect to the peripheral, press "i" on IOS bluetooth settings but am unable to rename (as if I have only read permissions). what am I missing? what else need to be configured? Is this option only available for bluetooth classic devices? thanks alot in advance! https://www.businessinsider.com/how-to-change-bluetooth-name-on-iphone
Posted
by dit8.
Last updated
.
Post not yet marked as solved
0 Replies
146 Views
Hello, I have a general question to ask about an implementation of a protocol my company will need. On a high level, we're implementing an update system for a device that will have a Bluetooth connection with the phone. To update the firmware of the device, we will send a HTTP request to a server and the server will respond with the new firmware of the device. Then to minimise the complexity we would want to simply parse the response and immediately transmit it as a byte array over a Bluetooth connection to the device. The size of this updated firmware would be around 40MB. My question is do you think this type of data transfer could be done easily using swift, and if it can be done easily. Could you point to some examples where it has been done since I was struggling to find something similar online? Thank you for your answers in advance.
Posted Last updated
.
Post not yet marked as solved
4 Replies
477 Views
We use External accessories framework for Bluetooth communication with medical equipment.  Mobile App was in Foreground but iOS (15.5 beta) triggered AppDelegage callback applicationDidEnterBackground event, when external accessories framework establish the connection to or disconnect from the medical equipment.  iOS should trigger this event only when the user moves application to background. We encounter this issue in iOS 15.5 Beta version, which seems to be iOS 15.5 beta issue.
Posted
by Jay2021.
Last updated
.
Post not yet marked as solved
0 Replies
153 Views
My right airpod is not charging properly after the update. It shows it is always connected to the phone even when it is in the case. And when charging only left AirPod is getting charged. When I receive a call through the phone I am still getting airpods option. I tried unpairing and pairing, cleaned the case thoroughly, restarted my phone but nothing helped. Help me find a solution.
Posted Last updated
.
Post not yet marked as solved
0 Replies
144 Views
Hi, I am creating a BLE device and was interesting in using the ANCS. It says that in order to use the three characteristics listed I need to request authorization first. How do I do that? I am very new to BLE so I may be missing some information. Does this authorization happen when I discover services?
Posted
by mazime.
Last updated
.
Post not yet marked as solved
0 Replies
146 Views
At boot, a TCG-standard Opal self-encrypting drive can present a preboot program for authentication and then unlock itself and continue the boot sequence. By specification, for security it will automatically lock itself when reset, for instance whenever power is lost. This allows booting off a secure external USB drive. Unfortunately, starting with macOS Monterey, during the boot sequence, the OS is reseting the USB tree in such a way that the very drive being booted from is locked. Without connecting instruments and just looking at the LEDs, it appears that the USB tree power may perhaps be being cycled off and on, a pretty hard reset. One could consider performing a hard reset on the drive hosting the file system with the kernel etc during boot to be a probabilistic bug. Is there a way to tame this behavior? Anything from naming the particular USB device to be protected, to a flag setting for just not doing this to the USB tree all? Help?
Posted Last updated
.
Post not yet marked as solved
1 Replies
255 Views
Hey there, I'm freelancer on electronic circuits designer, and on my current project I want to design a hub that connects to iPhone and works as: 1. lightning to 3.5mm headphone jack, 2. a button to send a simple data as HID to iPhone and 3. has a lightning female port that enables to connection to charger to charge iPhone. The company needs just a few of this device (actually 50) just for they're and they're few VIP costumers use. I'm designing this gadget for iOS and Android devices. I don't have problem with USB and USB-c, but I there is some ambiguity. I searched web and Also Apple MFi program FAQ, I have some questions: What kind of hardware-based considerations I should have in comparison to USB-c? What is standards and protocols of data transfer of lightning port? Is it similar to USB interface? Is USB hub controller ICs work on lightning as well as USB-c? What is accessory identification chip? What is it's datasheet? Were and how to buy it? For this amount of production (something about 50), is there necessary to get MFi certificate? Is there a datasheet of accessory identification chip for me to complete the design and then enrolling to MFi program? Thanks, Hamidreza Hassanvand
Posted Last updated
.
Post not yet marked as solved
1 Replies
169 Views
My apple magic mouse 2 stop scrolling all of sudden and all attempts to fix it seems not yielding and fruitful result.. I'm on MacOS Monterey.
Posted
by keksgh.
Last updated
.
Post not yet marked as solved
0 Replies
194 Views
Where do I find and how do I install Accessory Developer Profile for CarPlay/Enhanced Siri? I do not see it anywhere in developer.apple.com/download. I am running the (MFI) CarPlay Tests 2.7 app on my 2 iPhone 7's, each with iOS 15.4.0 installed. Main and Accessory are paired and Main shows it's connected to my Head Unit. When I start the Enhanced Siri Detector Quality test on Main, it shows a popup: Feature not supported Make sure you have the Accessory Developer Profile installed with Enhanced Siri enabled, and you're running on the latest iOS version. Please, also check if your HeadUnit supports this feature. I know my HeadUnit supports this feature because I am able to run it when an iPhone 8 with iOS 15.4.0 is set up as Main. I now need to run it on my iPhone 7. I didn't have to set up this profile on the iPhone 8. I have Siri enabled on this iPhone 7 Main.
Posted
by marsrm.
Last updated
.
Post not yet marked as solved
1 Replies
257 Views
Does anyone has the same issue? the key `~ shows as §± using Mx keys keyboard with macOS Monterey 12.3 I bought this keyboard recently, want to use it with Macbook and a windows laptop, so it's not a mac only version. All other keys are good, only this ~ won't work. I opened a ticket with Logitech support, several restart and reset, even got a replacement keyboard, still, it didn't work. I was asked to open a ticket to Apple. This keyboard is connect to Mac via bluetooth I have been searched online and no clue either. Any suggestion? THX ****
Posted Last updated
.
Post marked as solved
1 Replies
165 Views
I have the same problem as this guy below almost for 6 months and seems like Apple still doesn't care : https://developer.apple.com/forums/thread/672552 could you please clarify I've almost spent 80$ on buying original hubs and cables
Posted Last updated
.
Post not yet marked as solved
6 Replies
380 Views
We are working on a hardware device which will be used as a standalone device with only a wifi connection for servicing. We would like to show all nearby devices in our service application running on iOS and allow the service engineer to connect to it from within the application (so without leaving the application) As I understand correctly the only way this can be done is supporting the Wireless Accessory Configuration (WAC) by joining the MFi program. Before making our hardware MFi ready I would like to know if my assumptions are correct and there is no alternative API which can be used instead. thanks in advance for your answers, Niels
Posted Last updated
.
Post not yet marked as solved
1 Replies
324 Views
As referred to document “Accessory Interface Specification Release R37”  section 39.3.2 “EA Native Transport (USB Host Mode) Example”, apple device (host) should send SET_INTERFACE command after MFI-authentication and identification is successful for establishing/starting EA Native session with accessory. Our assumption is that StartExternalAccessoryProtocolSession message is not expected to be received from apple device for EA Native communication. Could you confirm? Is there any way to monitor EA Native packet communication from apple device? We have used ATS tool to monitor USB traffic, but it seems there no support to capture External Accessory Native Transport (USB Host Mode) data.
Posted Last updated
.
Post not yet marked as solved
2 Replies
665 Views
I have created a small program that needs to connect to an external accessory. I have been able to do so successfully with UIKit and the EA framework. The problem I am having is that I have a SwiftUI based app that needs to use the External Accessory but when I call the showBluetoothAccessoryPicker function, the picker window does not show. What I have tried so far: I have read that you need to have the app delegate with var window: UIWin setup correctly to see the picker window. So I created a class class AppDelegate: UIApplicationDelegate { var window: UIWindow? } I then associated the app delegate with my swiftui "App" struct like this: @main struct POC: App { @UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate var body: some Scene { WindowGroup { TabSelectionView() } } } Nevertheless, when I call showBluetoothAccessoryPicker the picker window does not show. I see the following in the output log: 2021-09-20 13:16:31.804796-0500 POC[2150:1514447] IAPDHasLaunched: kIAPAvailableNotification iapdAvailableState 0 -> 0 2021-09-20 13:16:31.805791-0500 POC[2150:1514447] IAP2DHasLaunched: kIAP2AvailableNotification iap2dAvailableState 0 -> 0 2021-09-20 13:16:31.807219-0500 POC[2150:1514447] -[EAAccessoryManager _initFromSingletonCreationMethod] isRunningOnMac This log appears correct and matches the output from a working demo app that uses UIKit. It's just that the picker window does not show. Does anybody know what needs to be done to get the picker window to appear correctly for SwiftUI apps? Is there any SwiftUI examples of connecting to an External Accessory that anybody could point me towards? Thanks in advance for any help.
Posted
by CpeGeo.
Last updated
.
Post not yet marked as solved
0 Replies
193 Views
I just moved from Xcode 13.2 to 13.3, and now I'm seeing a lot of EAFramework logging cluttering up my debug log: Returning connectedAccessories count 0 Does anyone know how to suppress this logging? It's really annoying!
Posted
by JAWZ.
Last updated
.