Post not yet marked as solved
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.
Post not yet marked as solved
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?
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?
Post not yet marked as solved
If the keyboard is physically connected with the cable, is the primary connection the cable, or bluetooth.
Note: when it is connected with the cable, in the status menu, the bluetooth icon for the keyboard turns into a faded icon (still blue, but faded blue)
Post not yet marked as solved
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.
Post not yet marked as solved
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?
Post not yet marked as solved
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
Post not yet marked as solved
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.
Post not yet marked as solved
The library I use in esp32 is bledevice.h cpp. macbook finds my esp32 through 3rd party software. but macos can't find it with bluetooth software.
Post not yet marked as solved
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.
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
Post not yet marked as solved
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
****
Post not yet marked as solved
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!
Post not yet marked as solved
I can successfully connect and show ExternalView() on the external display on IOS target.
However, mac catalyst is unable to detect the display connection in NotificationCenter.
How do I use NotificationCenter in mac catalyst to detect and connect an external display?
import Combine
import SwiftUI
@main
struct ScreensApp: App {
@ObservedObject var externalDisplayContent = ExternalDisplayContent()
@State var additionalWindows: [UIWindow] = []
private var screenDidConnectPublisher: AnyPublisher<UIScreen, Never> {
NotificationCenter.default
.publisher(for: UIScreen.didConnectNotification)
.compactMap { $0.object as? UIScreen }
.receive(on: RunLoop.main)
.eraseToAnyPublisher()
}
private var screenDidDisconnectPublisher: AnyPublisher<UIScreen, Never> {
NotificationCenter.default
.publisher(for: UIScreen.didDisconnectNotification)
.compactMap { $0.object as? UIScreen }
.receive(on: RunLoop.main)
.eraseToAnyPublisher()
}
var body: some Scene {
WindowGroup {
ContentView()
.environmentObject(externalDisplayContent)
.onReceive(
screenDidConnectPublisher,
perform: screenDidConnect
)
.onReceive(
screenDidDisconnectPublisher,
perform: screenDidDisconnect
)
}
}
private func screenDidConnect(_ screen: UIScreen) {
print("connected")
let window = UIWindow(frame: screen.bounds)
window.windowScene = UIApplication.shared.connectedScenes
.first { ($0 as? UIWindowScene)?.screen == screen }
as? UIWindowScene
let view = ExternalView()
.environmentObject(externalDisplayContent)
let controller = UIHostingController(rootView: view)
window.rootViewController = controller
window.isHidden = false
additionalWindows.append(window)
externalDisplayContent.isShowingOnExternalDisplay = true
}
private func screenDidDisconnect(_ screen: UIScreen) {
print("disconnected")
additionalWindows.removeAll { $0.screen == screen }
externalDisplayContent.isShowingOnExternalDisplay = false
}
}
Post not yet marked as solved
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
Post not yet marked as solved
For a while now there seem to be an issue with airplay/bluetooth. Im not really sure if it is an hardware or software issue.
A simple uses case is when i airplay from my m1 mac mini, to an homepod mini. There are two main issues:
Bluetooth lag, any action on the mac takes a very long second to take affect on the destination device, in this case the homepod.
Connection lost, every now and then there is a drop in connection, although the mac seems to still stream, the receiver device is losing signals.
After a look into the logs, few error keeps on show:
blutoothd (as process) and the error is: setReportResponse: Unexpected entry on OSX
AirPlayXPCHelper (as process) and the error is: metadataSender_sendAPProgressMetadata:720: got error -6727/0xFFFFE5B9 kNotFoundErr
My question is then is there a way to fix these? i'm not hoping that the lag issue will be resolved entirely but my hope is these are software issues rather than hardware ones.
Post not yet marked as solved
I am working on the ios swiftui app, and I need to communicate with an external embedded device using a USB cable and Bluetooth, I read some articles about MFI, and I figured out that I need to enroll in the MFI program.
My questions:
Am I need to apply the MFI and sign the NDA before starting the development and testing the communication?
Is there any tutorial, demo app illustrating the process of using the EA framework using the app?
Post not yet marked as solved
Hello,
I'm building iOS app to read/write files from MFI certified USB flash drive. Now the app can launch and detect the accessory with the correct protocol strings.
From the External Accessory framework documentation, the data needs to read/write with the NSInputStream & NSOutStream interfaces.
Would you give advices on how to parse the stream data? Am I doing it wrong? Or are there other easy methods to achieve this?
Thanks!
Post not yet marked as solved
Hello,
I'm building iOS app to read/write files from MFI certified USB flash drive. Now the app can launch and detect the accessory with the correct protocol strings.
From the External Accessory framework documentation, the data needs to read/write with the NSInputStream & NSOutStream interfaces.
Would you give advices on how to parse the stream data? Am I doing it wrong? Or are there other easy methods to achieve this?
Thanks!
Post not yet marked as solved
Hi all, is there anything available in the iOS SDKs to allow me to find and connect to a bluetooth speaker? At the moment I have to direct users to iOS settings and do it from there, but I would like to have an in-app experience for this.
Thanks!