-
Notifications
You must be signed in to change notification settings - Fork 46
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
Random disconnects #19
Comments
Hi, what are you doing before the disconnection? Best Regards |
D/BluetoothGatt: onClientConnectionState() - status=8 clientIf=8 device=02:80:E1:00:00:AA This is the part where it disconnectss |
the status 8 should be a timeout error.. what did you do before the status change? |
sometimes it happens after sending data, sometimes after receiving data, sometimes it happens after doing nothing |
?? |
@GiovanniVisentini ? |
try to add some breakpoint/ Log.d here:
and here:
to see if you have some write/enable notification pending that goes on timeout another test could be to use another app that just connect to the node and see if the disconnection happen anyway, to see if it is a fw problem Best Regards |
I`ts not FW problem as other apps are keeping steady connection to the device |
…onnected. The existing implementation was defintely broken (see STMicroelectronics#1 STMicroelectronics#13 STMicroelectronics#19)
Hi,
I`ve managed to connect to a custom device with the SDK but I have random disconnects that occur without any type pattern.
What can be the reason for this kind of problem?
The text was updated successfully, but these errors were encountered: