-
Notifications
You must be signed in to change notification settings - Fork 76
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
'Error 14 (0xe): GATT ERR UNLIKELY' after every notification #9
Comments
Sorry for the late response (thanks for the reminder in #10.) When this issue was originally opened, I spent about an hour on this issue, but got interrupted and apparently forgot to return to this issue. I struggled with this same error when the project was in active development. Google searches didn't turn up anything useful. I did solve it back in the day (this was a year ago) but I don't exactly remember how. I poured through my git logs and code looking for a hint and may have found it: The unlikely error message disappears from the todo.txt after a bugfix in the iOS code that was inadvertently sending too much data (20 bytes is the limit for a single BLE packet.) In case this doesn't resolve it for you, here's as much information as I can remember:
|
Hey, Thanks for your response, and glad to see you back around here! 😃 I get this error either in Android and iOS devices. Apparently it doesn't hurt much, I can easily ignore it from the App in the device and all continues working fine. So if this is a generic error which might appear due an obscure reason then it will be hard to find and resolve. I can, indeed, live with it. What it appears a more critical error is the one I exposed in my comment in #10: This error only appears on iOS devices and on latest Bluez versions (5.49 and 5.50). It's critical because it disconnects the session and makes completely unusable the BLE communication. Do you have an idea if it can be fixed in your GGK library? Thanks. |
Authentication/pairing/bonding isn't supported in GGK (I've never messed with it myself.) So... if you're not intending to do any type of pairing then a good starting point would be to figure out why it is when that wasn't your intention. Also, I seem to remember something about iOS 9.1 requiring an extra step (or slightly different procedure) to avoid the pairing requirement. Might be a place to start googling? |
Hello Paul,
First of all, thank you very much for this great piece of code. 👍
I hope you can help me to clear up what is going here.
I've downloaded your latest version on a CentOS 7 Linux running on a Raspberry Pi v3 B, using Bluez version 5.49. The compilation went fine and I'm able to run
./standalone -d
without any problems.Then I'm using the Android App called nRF Connect to be able to establish a BLE connection with the
standalone
program. This also when smooth and well.I've expanded the
Unknown Characteristic
where you can send a text and it will go back to you as a notification. I wrote and sentjust a test
string and it indeed went back to me as a notification, but I see the error Error 14 (0xe): GATT ERR UNLIKELY in the log of the session. I used the nRF Logger Android App to obtain the complete transcription log:(please scroll down near to the end to see the error)
Please, let me know if I missed something important during the compilation process.
Thanks.
The text was updated successfully, but these errors were encountered: