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

UniversalBle.OnValueChange returns synchronously when UniversalBle.setNotifiable multiple #135

Open
zjw78123sc opened this issue Feb 13, 2025 · 3 comments

Comments

@zjw78123sc
Copy link

zjw78123sc commented Feb 13, 2025

UniversalBle.OnValueChange returns synchronously when UniversalBle.setNotifiable multiple characteristic.

I UniversalBle.setNotifiable two characteristic (eg. A and B) , A is 128 data/ms , B is command data,
when A return data continuously, B return a command data, I find it will return B after A return All the data.
Can UniversalBle.OnValueChange Separate listening A and B?

@rohitsangwan01
Copy link
Contributor

@zjw78123sc Which platform you are using ?, and Events should be received parallely for all subscribed characteristics
Unless the platform or your peripheral itself sending them synchronously,
It would be great to have logs with: What your are getting ( From UniversalBle) and Whats expected ( From another App maybe )

@zjw78123sc
Copy link
Author

Windows Platform

@rohitsangwan01
Copy link
Contributor

@zjw78123sc i tried running similar case on Windows,
Char A continuously sending updated
Char B sending updates with some delay
And both updates are captured instantly and parallelly, so probably your peripheral might be sending the updates synchronously

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

2 participants