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
4 Replies
7.5k Views
Running on: iMac 27" 5k late 2015 - 64gb ram and a 16tb Pegasus Promise2 R4 raid5 via Thunderbolt. After trying Big Sur - found issues with Luminar Photo app, decided to return to Catalina on the iMac. Reformatted my internal drive and reinstalled Catalina 15.5 and reformatted the raid. But I keep getting the following message upon restarting: "Incompatible Disk. This disk uses features that are not supported on this version of MacOS" and my Pegasus2 R4 portion no longer appears on the desktop or in Disk Utility... Looked into this and discovered that it may be an issue of Mac OS Extended vs APFS The iMac was formatted to APFS prior to installing OS11 so I reformatted to APFS when returning to Catalina. The issues persisted so I re-reformatted from a bootable USB - this time to Mac OS Extended (journaled) and the issues seems to be resolved. The iMac runs slower on MacOS Ext, but it is running and the Raid is recognised... I'd love to go back to APFS but am afraid it will "break" things. Any thought on this would be welcome. Thanks Nick
Posted
by
Post marked as solved
2 Replies
893 Views
I made up my own iAP2-BT-device, which is perfectly running by use the BT-list and the External Accessory Framework. Now, following the instruction for MFI developers, I would like to show the showBluetoothAccessoryPicker using the following swift code: EAAccessoryManager.shared().showBluetoothAccessoryPicker(withNameFilter: nil) { (error) in             if let error = error {                 switch error {                 case EABluetoothAccessoryPickerError.alreadyConnected:                     break                 default:                     break                 }             }         } Wherever I put this snipple in my app code the picker is never shown (device unpaired by "forget device") and I always get the console message: A constraint factory method was passed a nil layout anchor.  This is not allowed, and may cause confusing exceptions. Break on BOOL _NSLayoutConstraintToNilAnchor(void) to debug.  This will be logged only once.  This may break in the future. I have no idea what to do to get this picker shown ... Thanks for your help
Posted
by
Post not yet marked as solved
3 Replies
847 Views
Hi! Before iOS 13.0, the only way how to connect to BT classic device was External Accessory framework and the device had to be MFi licensed. Now that I can use Core Bluetooth to connect to BT classic device (custom manufactured device that should support GATT over BR/EDR), does manufacturer of the device still need to join the MFi Program?
Posted
by
Post not yet marked as solved
8 Replies
5.9k Views
After updating to macOS Big Sur ver 11.0.1, Mac Book Pro MacBook Pro (Retina, 13', 2014) doesn´t recognize anymore two additional displays connected through i-Tec USB 3.0 Docking Station. Reinstalling driver Display-Link and i-Tec Driver hasn´t solved the problem.
Posted
by
Post not yet marked as solved
20 Replies
16k Views
Prior to downloading and installing Mac OS Big Sur, I was able to connect my 2020 Macbook pro to any HDMI monitor/tv. Specifically I would mostly use a Dell se2717 monitor. It would connect within a few seconds and there was never any issues. Once downloaded and installed Big Sur to my computer it no longer recognized any HDMI monitor/tv. I have tried different adapters to connect the HDMI cable to my USB-C ports; different USB-C ports with all the adapters; and tried every trouble shoot I could find from Apple, Dell, and various websites. Is there anything I can do to fix this issue?
Posted
by
Post not yet marked as solved
34 Replies
7.1k Views
Whelp, I learned a lovely lesson about Lacie today. Their customer driver extensions on MacOS are ultimately as bad as I figured they would be and it seems to have bitten them in the ***. It seems their current drivers aren't compatible with M1 Mac minis (and I haven't seen a single post/article mentioning this). I was planning on migrating my Plex server from an i3 Mac mini to an M1 based device, but now I have to reshuffle my setup with another one of my computers due to lack of driver compatibility (and no advertised lack of support). I'm seriously considering getting rid of my Lacie 6Big at this point and swapping it out for an OWC thunderbolt 3 rack supported DAC. -\_-. I'm hoping other people just read this because honestly, I have nothing but nasty remarks towards Lacie in this regarding considering their #1 use for their RAIDs involves the people who will be buying M1 Macs. Does anyone have a workaround for this?
Posted
by
Post not yet marked as solved
1 Replies
543 Views
The iMac runs perfectly when no external monitor is plugged, but as soon as the monitor is connected it crushes within an hour. Did anyone found any solution to this problem? It happened both with Catalina and after updating to BigSur Thank you in advance to anyone responding. Here is the error I get after restarting: panic(cpu 2 caller 0xffffff800b36ea25): userspace watchdog timeout: no successful checkins from com.apple.WindowServer in 120 seconds service: com.apple.logd, total successful checkins since load (763856 seconds ago): 76379, last successful checkin: 0 seconds ago service: com.apple.WindowServer, total successful checkins since load (763826 seconds ago): 76363, last successful checkin: 120 seconds ago service: com.apple.remoted, total successful checkins since load (763856 seconds ago): 76377, last successful checkin: 0 seconds ago Backtrace (CPU 2), Frame : Return Address 0xffffffb0969db670 : 0xffffff80080b9aed  0xffffffb0969db6c0 : 0xffffff80081fc6e3  0xffffffb0969db700 : 0xffffff80081ecd1a  0xffffffb0969db750 : 0xffffff800805ea2f  0xffffffb0969db770 : 0xffffff80080b938d  0xffffffb0969db890 : 0xffffff80080b9678  0xffffffb0969db900 : 0xffffff80088be434  0xffffffb0969db970 : 0xffffff800b36ea25  0xffffffb0969db980 : 0xffffff800b36e678  0xffffffb0969db9a0 : 0xffffff800884569e  0xffffffb0969db9f0 : 0xffffff800b36dab4  0xffffffb0969dbb20 : 0xffffff800884f86b  0xffffffb0969dbc80 : 0xffffff80081a7d81  0xffffffb0969dbd90 : 0xffffff80080bf0e7  0xffffffb0969dbe00 : 0xffffff8008095905  0xffffffb0969dbe60 : 0xffffff80080ad012  0xffffffb0969dbef0 : 0xffffff80081d0ec3  0xffffffb0969dbfa0 : 0xffffff800805f216        Kernel Extensions in backtrace:          com.apple.driver.watchdog(1.0)[7AE04EA4-D026-39A0-B2D5-5C9E4EE72967]@0xffffff800b36d000->0xffffff800b36efff Process name corresponding to current thread: watchdogd Boot args: chunklist-security-epoch=0 -chunklist-no-rev2-dev Mac OS version: 20C69 Kernel version: Darwin Kernel Version 20.2.0: Wed Dec  2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASEX8664 Kernel UUID: 82E2050C-5936-3D24-AD3B-EC4EC5C09E11 KernelCache slide: 0x0000000007e00000 KernelCache base:  0xffffff8008000000 Kernel slide:      0x0000000007e10000 Kernel text base:  0xffffff8008010000 _HIB  text base: 0xffffff8007f00000 System model name: iMac20,1 (Mac-CFF7D910A743CAAF) System shutdown begun: NO Hibernation exit count: 0 System uptime in nanoseconds: 763861744423305 Last Sleep:           absolute           basetsc          basenano   Uptime  : 0x0002b6ba6bef13d4   Sleep   : 0x0000000000000000 0x0000000000000000 0x0000000000000000   Wake    : 0x0000000000000000 0x0000001b5478f86e 0x0000000000000000 last started kext at 754770714032314: >AudioAUUC 1.70 (addr 0xffffff7fa8583000, size 12288) last stopped kext at 763795517110493: >usb.!UHostPacketFilter 1.0 (addr 0xffffff800ae5b000, size 8192) loaded kexts: org.virtualbox.kext.VBoxNetAdp 6.1.16 org.virtualbox.kext.VBoxNetFlt 6.1.16 org.virtualbox.kext.VBoxUSB 6.1.16 org.virtualbox.kext.VBoxDrv 6.1.16 AudioAUUC 1.70 @filesystems.smbfs 3.4.1 !ATopCaseHIDEventDriver 4020.6 !APlatformEnabler 2.7.0d0 AGPM 119 X86PlatformShim 1.0.0 @filesystems.autofs 3.0 @fileutil 20.036.15 !AHIDALSService 1 !AUpstreamUserClient 3.6.8 @kext.AMDRadeonX6000 4.0.2 @kext.AMDRadeonServiceManager 4.0.2 !AGraphicsDevicePolicy 6.2.2 @AGDCPluginDisplayMetrics 6.2.2 pmtelemetry 1 LuaHardwareAccess 1.0.16 |IOUserEthernet 1.0.1 !A!IKBLGraphics 16.0.1 |IO!BSerialManager 8.0.2f9 @DontStealMacOS_X 7.0.0 !AHV 1 !ADiskImages2 1 !A!ICFLGraphicsFramebuffer 16.0.1 !AThunderboltIP 4.0.3 !ABridgeAudio!C 100.2 !A!ISlowAdaptiveClocking 4.0.0 !AMCCSControl 1.14 !A!IPCHPMC 2.0.1 !AGFXHDA 100.1.431 BridgeAudioCommunication 100.2 !AAVEBridge 6.1 !UCardReader 511.60.2 BCMWLANFirmware4378.Hashstore 1 BCMWLANFirmware4377.Hashstore 1 BCMWLANFirmware4364.Hashstore 1 BCMWLANFirmware4355.Hashstore 1 @filesystems.tmpfs 1 |!ABCM5701Ethernet 11.0.0 !ABCMWLANBusInterfacePCIeMac 1 @filesystems.hfs.kext 556.60.1 @BootCache 40 @!AFSCompression.!AFSCompressionTypeZlib 1.0.0 @!AFSCompression.!AFSCompressionTypeDataless 1.0.0d1 @filesystems.apfs 1677.60.23 @private.KextAudit 1.0 !AACPIButtons 6.1 !ASMBIOS 2.1 !AACPIEC 6.1 !AAPIC 1.7 @!ASystemPolicy 2.0.0 @nke.applicationfirewall 310 |IOKitRegistryCompatibility 1 |EndpointSecurity 1 !AHIDKeyboard 222 |IOUSBUserClient 900.4.2 !AMultitouchDriver 4400.28 !AInputDeviceSupport 4400.35 !AHS!BDriver 4020.6 IO!BHIDDriver 8.0.2f9 @kext.triggers 1.0 @kext.AMDRadeonX6200HWLibs 1.0 @kext.AMDRadeonX6000Framebuffer 4.0.2 @kext.AMDSupport 4.0.2 @kext.AMDRadeonX6000HWServices 4.0.2 |IOAVB!F 900.12 |IOAccelerator!F2 439.52 |IO!BHost!CUARTTransport 8.0.2f9 |IO!BHost!CTransport 8.0.2f9 X86PlatformPlugin 1.0.0 @!AGPUWrangler 6.2.2 |IOSlowAdaptiveClocking!F 1.0.0 !ASMBus!C 1.0.18d1 IOPlatformPlugin!F 6.0.0d8 |IONDRVSupport 585 |IOAudio!F 300.6.1 @vecLib.kext 1.2.0 !ASMBusPCI 1.0.14d1 !AGraphicsControl 6.2.2 @!AGraphicsDeviceControl 6.2.2 |IOGraphics!F 585 !A!ILpssUARTv1 3.0.60 !A!ILpssUARTCommon 3.0.60 !AOnboardSerial 1.0 @plugin.IOgPTPPlugin 900.11 |IOEthernetAVB!C 1.1.0 usb.cdc.ncm 5.0.0 usb.cdc 5.0.0 usb.networking 5.0.0 usb.!UHostCompositeDevice 1.2 !AHPM 3.4.4 !A!ILpssI2C!C 3.0.60 !A!ILpssI2C 3.0.60 !A!ILpssDmac 3.0.60 !AThunderboltPCIDownAdapter 4.1.1 !AThunderboltDPInAdapter 8.1.4 !AThunderboltDPAdapter!F 8.1.4 !AThunderboltNHI 7.2.8 |IOThunderbolt!F 9.3.2 !ABSDKextStarter 3 !ABCMWLANCoreMac 1.0.0 |IOSerial!F 11 |IO80211!FV2 1200.12.2b1 IOImageLoader 1.0.0 corecapture 1.0.4 |IOSurface 289.3 |IOSkywalk!F 1 mDNSOffloadUserClient 1.0.1b8 @filesystems.hfs.encodings.kext 1 usb.!UVHCIBCE 1.2 usb.!UVHCICommonBCE 1.0 usb.!UVHCI 1.2 usb.!UVHCICommon 1.0 !AEffaceableNOR 1.0 |IOUSB!F 900.4.2 |IOBufferCopy!C 1.1.0 |IOBufferCopyEngine!F 1 |IONVMe!F 2.1.0 usb.!UXHCIPCI 1.2 usb.!UXHCI 1.2 !AEFINVRAM 2.1 !AEFIRuntime 2.1 !ASMCRTC 1.0 |IOSMBus!F 1.1 |IOHID!F 2.0.0 $!AImage4 3.0.0 |IOTimeSync!F 900.11 |IONetworking!F 3.4 DiskImages 493.0.0 |IO!B!F 8.0.2f9 |IOReport!F 47 |IO!BPacketLogger 8.0.2f9 $quarantine 4 $sandbox 300.0 @kext.!AMatch 1.0.0d1 |CoreAnalytics!F 1 !ASSE 1.0 !AKeyStore 2 !UTDM 511.60.2 |IOUSBMass!SDriver 184.40.6 |IOSCSIBlockCommandsDevice 436.40.6 |IO!S!F 2.1 |IOSCSIArchitectureModel!F 436.40.6 !AMobileFileIntegrity 1.0.5 @kext.CoreTrust 1 !AFDEKeyStore 28.30 !AEffaceable!S 1.0 !ACredentialManager 1.0 KernelRelayHost 1 |IOUSBHost!F 1.2 !UHostMergeProperties 1.2 usb.!UCommon 1.0 !ABusPower!C 1.0 !ASEPManager 1.0.1 IOSlaveProcessor 1 !AACPIPlatform 6.1 !ASMC 3.1.9 |IOPCI!F 2.9 |IOACPI!F 1.4 watchdog 1 @kec.pthread 1 @kec.corecrypto 11.1 @kec.Libm 1
Posted
by
Post not yet marked as solved
1 Replies
447 Views
We're trying to start ATS in Mac, however, we get the following error message: ATS has detected a problem with your installation. Please reinstall ATS After this, the application terminates. We also have tried to use another user and to install this application into another Mac, but still have same problem. Currently we're using Catalina 10.15.7 and only have Lighning Box connected.
Posted
by
Post not yet marked as solved
1 Replies
777 Views
I’m trying to read the battery level of a connected Apple Watch on an iPhone app. The built-in iOS Batteries widget shows the current Apple Watch battery level, so I know the data is being sent from Apple Watch to iPhone frequently, however I could not find a public API to read the level in my iOS app. My best solution so far was to build an Apple Watch app that periodically sends the battery level of the Apple Watch to the iPhone using WatchConnectivity. Then, I found this app. It can show the battery level of my paired Apple Watch without ever installing an app on the Apple Watch. To try to accomplish this same thing, I have tried a few different approaches. First, I tried Core Bluetooth, but after a lot of exploring, troubleshooting, and asking at a Core Bluetooth lab, I’ve ruled that out since Apple Watch does not expose its battery information that way. I experimented with the External Accessory framework, but that doesn’t seem like the right approach either, since it's for MFi accessories and I couldn't find a way to get Apple Watch info with it. How is it possible to read the Apple Watch battery level in an iPhone app without sending it from a companion Apple Watch app? Or is the app I linked to probably using private APIs?
Posted
by
Post not yet marked as solved
0 Replies
709 Views
I have an iphone 12 pro. Since update 14.4, Bluetooth has been disconnecting randomly from my Airpods. Then when I updated to 14.6, it started happening more frequently. I thought it was my Airpods, so I bought a pair of brand new pair of Beats Pro Wireless (true wireless). It's still happening and still the most irritating thing about my apple products right now. Halp.
Posted
by
Post not yet marked as solved
1 Replies
737 Views
(Before I begin, it might explain quite a bit if I note that the only reason I had not yet posted this question here is that I was not aware I could do so. Otherwise, I would have, years ago.) Some important acknowledgments: iPhone (iOS) currently supports Bluetooth Keyboards. In fact, it is being actively developed on at this very moment. I know this because I have been documenting (via blind test) Bluetooth Keyboard shortcut alterations in Safari between iOS 15 dev betas. When iPad OS was split, so too were both the user-facing and dev-facing official documentation of the operating system’s native support (shortcuts, really,) from Apple. When this happened, the docs all but stopped acknowledging iPhone’s continued support because the goto iPad doc - “Learn iPad keyboard shortcuts” - does not have an iPhone equivalent. Pretty much all the iPhone User Guide has to offer is a howto on pairing. This split - combined with the explicit product introduction of a magic keyboard dedicated to iPad - has resulted in (as far as I can tell, as a non-developer) an overwhelming state of confusion regarding the whole idea of using a Bluetooth Keyboard with iPhone. I have spent the past few years talking to developers who somehow did not know their iPhone apps had working Bluetooth Keyboard shortcuts. I have made it a habit to just write the shortcuts tables myself by way of blind testing off the handy iPad guide which appears when ⌘ is held (not on iPhone!) There really are those of us who regularly use Bluetooth Keyboards with our iPhones. Most I have met do so for what I would definitively classify as Accessibility concerns. (My personal use is not quite definitively so.) My question, really is: Where can I find complete documentation of both keyboard shortcuts support in native apps/the OS and UIKeyCommand’s uniquely-iPhone considerations? (Please assume I have seen any related docs on developer.apple.com and support.apple.com.) I’d like to leave it there at the risk of being uselessly verbose. Thank you for your time. I look forward to hearing back.
Posted
by
Post not yet marked as solved
6 Replies
2.6k Views
Same issue submitted since first Beta version 12. Have Apple bluetooth and USB keyboards. Tab will not tab from cell to cell or section to section in Excel desktop, or any online form. Space bar does not scroll pages. Rather, it opens program window to full screen zoom. Menu bar Bluetooth recognizes keyboard. Pref file can never find it. Monterey is useless without properly functioning keyboard. Tried resetting actions. No luck. Help appreciated.
Posted
by
Post not yet marked as solved
0 Replies
348 Views
Same issue submitted since first Beta version 12. Have Apple bluetooth and USB keyboards. Tab will not tab from cell to cell or section to section in Excel desktop, or any online form. Space bar does not scroll pages. Rather, it opens program window to full screen zoom. Menu bar Bluetooth recognizes keyboard. Pref file can never find it. Monterey is useless without properly functioning keyboard. Tried resetting actions. No luck. Help appreciated.
Posted
by
Post not yet marked as solved
0 Replies
405 Views
Hi, I want to know if there is a roadmap for implementing RFCOMM support in iOS. We have a SOAP/Rest platform (wse.app) which makes it possible to do SOAP calls between Android and Raspberry Pi over Bluetooth/RFCOMM. When will Apple implement support for RFCOMM so I can use my iPhone and do the same ?
Posted
by
Post not yet marked as solved
0 Replies
336 Views
I have an iPhone 12 and I paired it with a bluetooth device in my house. So when I try using my iPhone on the house, I have to click that I am not driving to open my phone. How do I change the settings to stop this? I tried the Bluetooth volume leveling setting but that has no effect. Evidently, only volume is affected and the phone does not use it for anything else. Otherwise, I have to disable the entire function.
Posted
by
Post marked as solved
1 Replies
328 Views
Hello! I have an beacon (this. device doesn't support pair) that should work as SOS button, but required option is that the device should work for a long time in background. Sequence algorithm: BLE device send trigger to nearest device iPhone should receive this trigger (in background) then do network request I can't find right solution cz the BGTask has 30 sec limit
Posted
by
Post marked as solved
1 Replies
320 Views
I'm trying to connect an iPad Pro to a breadboard to do some electronic experiments with, and develop a Swift application to help control things. I'm looking the iPad to help provide low power to the board so need to connect via the USB-C rather than Bluetooth. In order to work, I tried to connect a SparkFun Serial Basic Breakout - CH340C and USB-C board. When connected to an Apple Mac it shows up as "cu.usbserial-1420" and "tty.usbserial-1420", so I know the Mac can see it. Also can send output/input to it without issue. On connecting it to an iPad and running a Swift application using the External Accessory framework, I'm getting nothing when connecting/disconnecting the device. I thought there might be something coming through on the didConnectAccessory, didDisconnectAccessory notifications. I've also tried adding the above names to the info.plist file under "Supported external accessory protocols" and still nothing. I've been told that you don't have to join the MFI program when developing as a hobby and the External Accessory framework should be sufficient. Has anyone tried to connect their iPad Pro to a breadboard and been successful or point me in the general direction? The device details can be found at the Sparkfun.com website via /products/15096 as can't link directly. Thanks
Posted
by
Post not yet marked as solved
0 Replies
331 Views
Bluetooth Connection Issue: In iOS 14.7.1 and above (iOS 15.0 beta), observe a sudden drop in the connection between the App and the external BLE device during the firmware upgrade process via Over the Air (file size 500 KB, file type ".bin"). The same App is working fine with iOS 14.6 and earlier versions of iOS. It observes that MTU size is also different in iOS 14.4 and iOS 14.7. When disconnection happened CoreBluetooth -> centralManager: didDisconnectPeripheral delegate method called. The total time required to update BLE firmware is 2 minutes, but approx after a 1-minute or 30 seconds connection is dropping between the App and the BLE device. Do I miss anything that causing a sudden drop of BLE connection, specifically in iOS version 14.7 and above?
Posted
by
Post not yet marked as solved
1 Replies
376 Views
We are using a vendor-provided SDK to access their hardware through EA framework and intermittently the EA framework streams stop working (in particular, the input stream reports 0 for hasAvailableBytes). In some cases, this situation persists until we detach the device and reattach (this is via a lightning connector). After installing the IAPD debug profile and retrieving logs, we notice a few interesting log entries from the syslog we retrieve off the tablet. I am trying to understand and make sense of this and determine how this can be fixed. Anyone have a clue? default 2021-08-20 19:49:09.299659 +0300 accessoryd ERROR: iAP2LinkDeviceActionSendRST: iAP2 Link Layer reset triggered! (state: 5) default 2021-08-20 19:49:11.342001 +0300 accessoryd ERROR: iAP2LinkQueueSendDataWithSentCallback:4410 ERROR: Invalid session(0)! error 2021-08-20 19:49:11.342005 +0300 accessoryd Unable to queue 30 ea bytes for eaSession 50 default 2021-08-20 19:49:12.806935 +0300 Tablet [C1143] event: client:data_stall @3.486s info 2021-08-20 19:49:12.809195 +0300 Tablet nw_connection_report_symptom_on_nw_queue [C1143] reported Data stall symptom
Posted
by