-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS 11 Disconnects During DFU #145
Comments
Check your caches again, this doesn't seem to be an issue with the actual library, are you testing on two different devices one with iOS 10 and one with iOS 11 ? |
Wow, quick reply! |
Yes but you need to toggle a few times, sometimes it won't work on the first toggle, also if you had any previous pairing information on the phone it needs to be removed from the iPhone's settings. if it works on one and not the other I can guarantee it's simply a cache issue, @philips77 , any tips ? |
Yeah, we don't use pairing anymore, and there are zero paired bluetooth devices. Anyone else having iOS 11 issues? I assume you aren't able to repro it? |
I'm not unfortunately, do you have a firmware that's compatible with one of our DKs that we can try ? |
I'm experiencing the same issue on iOS 11, lib v4.0.1, my understanding is that v4.0.0 and v4.0.1 are identical but with ObjC support in 4.0.1 (I'm using ObjC). My logs are:
|
@Looveh Your issue from the logs seems different than this one you bumped, can you open a separate issue please ? |
@mostafaberg Sure, sorry for the inconvenience, opened new issue here #149 |
Hey @mostafaberg we were able to fix it by setting packetReceiptNotificationParameter to 1. (We had it at 12). Thanks for the help! |
Perfect, I would say you can go a bit higher than 1 since this will make things a bit slow, you can try to set it to 6, 8, etc.. until you see the error reproduce, then lower it by 2 and this can be your new safe value. the minimum guaranteed value to work is 2, some peripherals can handle PRN higher than 12, but seems like yours will do well in the 6-8 range |
Looks like DFU still fails with message "Operation failed". It worked on iOS 10, but with iOS 11 it disconnects immediately upon starting DFU.
I tried updating to the latest commit (version 4.0) but the issue still remains. Here's the call stack:
The text was updated successfully, but these errors were encountered: