ble.net icon indicating copy to clipboard operation
ble.net copied to clipboard

On iOS occasional issues when connecting

Open mscottreed opened this issue 7 years ago • 3 comments

Signal strength is great, the device is right next to us. Scan always picks it up, but when connecting it times out. After looking through the log. This error appears: error 16:55:01.646954 -0800 ble.net.sampleapp_ios API MISUSE: Cancelling connection for unused peripheral , Did you forget to keep a reference to it?

When that error shows up in the log, the connection fails. When that error doesn't show, it works. It has to be a timing thing. We would be happy to help track it down, as it is plaguing us, but we would need access to the iOS source code.

mscottreed avatar Nov 08 '18 01:11 mscottreed

Thanks for the report! I'll try to investigate further

nexussays avatar Nov 27 '18 04:11 nexussays

@mscottreed Does this issue https://github.com/nexussays/ble.net/issues/67 apply to your case?

nexussays avatar Nov 27 '18 04:11 nexussays

@nexussays - Sorry, we had to switch to a different library because of this issue, and I just saw this now. Regarding your question: #67 appears to apply to scanning, and my issue was during connection.

mscottreed avatar Apr 18 '19 18:04 mscottreed