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

Revert "feat(android): Clear the gatt cache before discover devices" #145

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

kwiky
Copy link
Contributor

@kwiky kwiky commented Nov 4, 2024

Please revert this change because the clear cache process must be called before the connection.

I have made many tests and to be effective, we have to :

  1. Make a first connection to call the refresh on gatt via reflection.
  2. Disconnect from this first gatt
  3. Wait around 1 second (made tests with 200ms but it's not enough)
  4. Call a normal connection (this creates a new gatt)

Reverts #143

@Reedyuk Reedyuk enabled auto-merge (squash) November 4, 2024 10:52
@Reedyuk Reedyuk merged commit 4d21919 into Reedyuk:master Nov 4, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants