Skip to content
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

Auto-disconnection in some Android devices #1222

Open
2 tasks done
joanmarcs opened this issue Jul 4, 2024 · 8 comments
Open
2 tasks done

Auto-disconnection in some Android devices #1222

joanmarcs opened this issue Jul 4, 2024 · 8 comments
Labels

Comments

@joanmarcs
Copy link

Prerequisites

  • I checked the documentation and FAQ without finding a solution
  • I checked to make sure that this issue has not already been filed

Expected Behavior

Maintain the connection

Current Behavior

Devices disconnect after some seconds

Library version

3.2.0

Device

Samsung s22 ultra, Pixel, ..

Environment info

-

Steps to reproduce

Formatted code sample or link to a repository

-

Relevant log output

-

Additional information

@joanmarcs joanmarcs added the bug label Jul 4, 2024
@joanmarcs
Copy link
Author

Hi @intent-kacper-cyranowski !

As you said to me, I have opened a new issue. I am attaching the logs you asked me in #1197 (comment)

EXPECTED BEHAVIOUR: the app connects to the device and ask for his state until the user closes the BLE connection manually

log.txt

BAD BEHAVIOUR: the app connects to the device and ask for his state but connection drops

log2.txt

@intent-kacper-cyranowski
Copy link
Collaborator

Hi @joanmarcs

We have opened a ticket for your issue. I would like to clarify some information.
Did the error occurred on different devices then previously specified? Samsung and Pixel have their own SoC, and if error occurs only there it might be the cause.
You have mentioned that you are working with vehicle chargers, can you specify what is the device, or can you provide any other device on which you were able to reproduce the issue.

Everything that will help in reproducing and solving the issue is welcome.

@joanmarcs
Copy link
Author

Hi @intent-kacper-cyranowski

We have only observed this in this brands as far as I know... I have a POCO that works fine, the same in QA team. A Nothing one also works fine. The vehicle chargers are using an ESP32.

@ovesco
Copy link

ovesco commented Jul 12, 2024

Also observed with an ESP32 device.
Version 3.1.2

@nhaduongc
Copy link

nhaduongc commented Jul 15, 2024

I get event disconnect after connect around 10-15 seconds, It's crazy,
The app try to connect again and again, it is the same

@ApplicationNinja
Copy link

I can confirm this same issue, using PLX version 3.2.1, Google Pixel 9 connected to an ESP32 device, occurs exactly at 30 seconds.

@jakecurreri
Copy link

jakecurreri commented Nov 22, 2024

+1 @nhaduongc same here. Every few seconds, Android drops connection, reconnects, then drops connection again.

@jakecurreri
Copy link

Solved with this workaround: #1197 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants