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

About NetworkError: GATT operation already in progress. #17

Closed
studiohuahong opened this issue Apr 27, 2023 · 1 comment
Closed

About NetworkError: GATT operation already in progress. #17

studiohuahong opened this issue Apr 27, 2023 · 1 comment

Comments

@studiohuahong
Copy link

Hi all. I'm trying to send notifications in the draw function but I keep receiving "NetworkError: GATT operation already in progress". If I lower down the framerate the issue will be solved. I believe it is because the p5 sketch is sending notifications too fast and the BLE has a delay. I am wondering if that is possible to have a boolean function that detects whetehr there is anything busy or in the queue. Many thanks!

@studiohuahong
Copy link
Author

Ok I created another function to send notifications at intervals, problem solved!

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

No branches or pull requests

1 participant