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
1 Replies
4 Views
Hi, 1TB hard drive, 8TB hard drive, SD cards on the adapter or on the macbook reader or any other external drive are not working. i tried all the finder preferences, and utility disk functions, all my drives are there in the utility disk, but nothing will work, the reparing says it's all good, if i click mount i get this ''com.apple.DiskManagement.disenter error -119930872''. Help ?
Posted Last updated
.
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 Last updated
.
Post not yet marked as solved
1 Replies
75 Views
I’m planning on making on making a prototype of a phone case that brings back the android LED light that shines a specific color depending on notifications received by the user so you can just glance at phone. I’m wondering if there is a way to see what apps have sent notifications to the user? On a side note, would it be possible to see what apps a user has to allow LED customization? Specific apps = specific lights system.
Posted Last updated
.
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 smith81.
Last updated
.
Post not yet marked as solved
0 Replies
65 Views
Calling the Bluetooth GetMessage function for a message that was sent via Bluetooth, the returned BMessage contains an incorrect folder path to the message. The Event Report returns the correct folder path when the message is successfully sent. Scenario: Connect to Bluetooth MAP services (MNS and MAS). Call Bluetooth "PushMessage" function. Get 'Name Header' for the Message Handle. MAP-Event-Report received with Type of SendingSuccess and Folder equal to "telecom/msg/sent". Use "SetFolder" to navigate to Sent folder. Call "GetMessage" with the Message Handle (the handle is the same for both the event report and PushMessage function). The BMessage response has a folder of "telecom/msg/inbox" BMessage: BEGIN:BMSG VERSION:1.0 STATUS:UNREAD TYPE:SMS_GSM FOLDER:telecom/msg/inbox NOTIFICATION:1 BEGIN:VCARD VERSION:2.1 FN;CHARSET=UTF-8:[Contact] N;CHARSET=UTF-8:[Contact] TEL:3: END:VCARD BEGIN:BENV BEGIN:VCARD VERSION:2.1 FN;CHARSET=UTF-8:[Contact] N;CHARSET=UTF-8:[Contact] TEL:[Phone Number] END:VCARD BEGIN:BBODY CHARSET:UTF-8 LANGUAGE:UNKNOWN LENGTH:[Some Length] BEGIN:MSG iOS is the worst. END:MSG END:BBODY END:BENV END:BMSG Set Folder to telecom: 85-00-20-02-00-01-00-13-00-74-00-65-00-6C-00-65-00-63-00-6F-00-6D-00-00-4C-00-03-CB-08-60-59-D0 Set Folder to msg: 85-00-18-02-00-01-00-0B-00-6D-00-73-00-67-00-00-4C-00-03-CB-08-60-59-D0 Setting Folder to sent: 85-00-1A-02-00-01-00-0D-00-73-00-65-00-6E-00-74-00-00-4C-00-03-CB-08-60-59-D0 Calling GetMessage function: 83-00-44-01-00-23-00-44-00-33-00-42-00-43-00-34-00-45-00-39-00-31-00-30-00-35-00-41-00-41-00-34-00-43-00-32-00-00-42-00-10-78-2D-62-74-2F-6D-65-73-73-61-67-65-00-4C-00-09-14-01-01-0A-01-00-CB-08-60-59-D0 Section 3.1.4 of the Bluetooth Specification states: "telecom/msg/sent: This folder shall contain messages that were successfully sent to the network by the MSE, at least during the period of the current MAP session. In particular these messages have been queued in the 'Outbox' folder before sending and are shifted by the MSE to this folder after transmission." Apple is also nice enough to not include any additional contacts when the text message is part of a group text. This has been made unnecessarily difficult for developers to use and what's worse, it seems intentional.
Posted Last updated
.
Post not yet marked as solved
0 Replies
70 Views
I have a Mac mini M1, version 12,5 Beta, with 2 monitors. When I shutdown my monitors for some time, ( for 10 minutes or all night) when I turn on, all the windows are gone to the main screen..... What can I do?? Thanks
Posted
by MacFree.
Last updated
.
Post not yet marked as solved
0 Replies
99 Views
I was wondering if it is possible to use the bluetooth API on iPadOS to let an app become an emulated "bluetooth speaker/car". I want to make an app where an iPhone or Android phone can connect to it via bluetooth so the app can play the audio from the phone, and receive and handle calls just like a car can play audio and handle calls and display call information via bluetooth. I would also like to know if the app could also get contact information from the phone over bluetooth. If it is possible to do so, how? I would love a friendly nudge in the right direction :)
Posted
by krirogn.
Last updated
.
Post not yet marked as solved
0 Replies
123 Views
I've got an external SD card reader connected to my 2020 MacBook Air M1 via USBC. The drive shows up on Disk Utility but it fails to mount the SD Card in the reader. Using the same SD Card reader in an identical MacBook Air running Monterey it mounts it without an issue. This seem to affect more people - https://www.reddit.com/r/MacOSBeta/comments/vavdx0/anyone_having_problems_with_macos_130_beta/ Any ideas how to enable macOS to read from the device?
Posted
by armanddp.
Last updated
.
Post marked as solved
1 Replies
256 Views
We have a custom accessory using iAP over Bluetooth classic (BR/EDR), and have recently noticed an unexpected wireless performance issue that wasn't there before. We haven't changed the firmware, and the nature of the bug strongly suggests it isn't anything on our end. The problem occurs in two different apps with very different codebases; one is our production app, which a large, complex Swift app for iPads. The second is a barebones test app that simply exercises the accessory to measure throughput. These apps have been in use for well over a year, and the test app has had no changes to speak of in that time. Neither app experienced this issue before (at the latest) iOS 15. Basically, as soon as a toggle switch in the test app is enabled, the ExternalAccessory data stream is opened and a single command is sent to the accessory which instructs it to begin streaming data at roughly 7500 bytes/second. Normally, this throughput rate is easily achieved. However, when the problem occurs, the actual throughput varies wildly, averaging about 60-70% of the target rate. But the problem only occurs for 20 seconds after the app enters the foreground, and then the data stream stabilizes at full throughput. Nothing changes in the app or on the accessory during this time. I have run dozens of tests, and the problem and timing are always the same: The app exhibits poor Bluetooth throughput for 20 seconds after entering the foreground. Freshly running the app or switching to the running app from a different app both trigger the problem. Waiting to open the iAP connection for 20 seconds after foregrounding the app results in expected (good) throughput the whole time. Disconnecting and reconnecting the accessory does not trigger the problem. I'm not sure what else to test. I expect the same results could be seen with any Bluetooth iAP accessory pushing that much data right after its associated app enters the foreground. Note, we have a different hardware variant in development which uses Bluetooth Low Energy and CoreBluetooth, and it has no such problem. It works perfectly all the time with the exact same testing app and data stream, just pushed over GATT instead of iAP. Has anyone encountered similar symptoms with iOS 15.x or anything else?
Posted
by jrowberg.
Last updated
.
Post not yet marked as solved
0 Replies
134 Views
After updating a device to iOS 16 beta 1, I've noticed some changes to how Bluetooth profiles behave for certain functions. Specific examples include: Message Access Profile -> The SetMessageStatus function returns "OBEX_BAD_REQUEST" where it didn't before 02-00-4E-01-00-23-00-42-00-36-00-42-00-38-00-42-00-37-00-30-00-37-00-42-00-39-00-41-00-38-00-34-00-33-00-45-00-00-42-00-16-78-2D-62-74-2F-6D-65-73-73-61-67-65-53-74-61-74-75-73-00-49-00-04-30-4C-00-09-17-01-00-18-01-01-CB-08-60-5E-20 Message Access Profile -> Getting Message Listings from the sent folder...previously I was able to retrieve messages here but am no longer able to. It would be nice if the details of any changes were noted so appropriate updates can be made. Would also be nice if Apple finally moved off of version 1.2 or whatever so I can get Conversation Listings/Conversation ID from the device. We can dream, can't we? Thanks, -Drew
Posted Last updated
.
Post not yet marked as solved
1 Replies
156 Views
I've been working on an application that runs on both iOS and iPadOS. Recently, I found a lot of new updates within iOS 13.4 where you're able to do more with indirect pointer interactions. But I'm running into an issue with trying to change the pointer style for iOS with UIPointerShape styleWithShape. Currently for iPadOS, I'm using a BezierPath to change the mouse cursor to a pointer which works, but this change doesn't work on iOS. I was wondering if anyone else was experiencing this issue, or is customizing the UIPointerShape with UIPointerStyle only limited to iPadOS for the momenet. Also, I noticed by default on iPadOS (15.4.1) when a bluetooth mouse is connected the cursor appears right away. But on iOS, I have to enable "Assistive Touch". Is this by design?
Posted
by jhall7224.
Last updated
.
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 Last updated
.
Post not yet marked as solved
0 Replies
151 Views
Hi, I'm looking at creating an app that monitors a specific HomeKit contact sensor and when it opens have it trigger different notification depending on how many times it's been opened within 24 hours. I've read conflicting information if that is possible within HomeKit due to security. Is it possible to read a HomeKit accessory like that? If so do you have any suggestions on how to? Thank you!
Posted
by JonBinary.
Last updated
.
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 gwachobt.
Last updated
.
Post not yet marked as solved
0 Replies
151 Views
I'm developing a BLE app with the guideline below. (https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf) According to section 40.3 in the guideline, the use of ADV_DIRECT_IND is not a good idea. I'm not sure the reason but it seems to be the rule for peripheral devices. I think it's okay to connect my app(central device) to peripheral devices that transmit ADV_DIRECT_IND in an advertising packet. Is my understanding correct?
Posted
by rb_kani.
Last updated
.
Post not yet marked as solved
1 Replies
194 Views
Hi there! I'm currently new to Mac OS dev (coming from a history of Linux dev). I have an external BT keyboard and a couple keys are mapped differently than my Mac keyboard (§ to ` for example). I'm wondering if it's possible to write a kernel extension that detects the key sent from the BT keyboard and remap the key code. I don't really know whether this is possible and if it is, where to look in the ecosystem. It's a bit different from Linux. Thank you!
Posted Last updated
.