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
by
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
by
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
by
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
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
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
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
by
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
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
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
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
by
Post not yet marked as solved
0 Replies
176 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
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
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
by