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

Cannot receive blood pressure value using web Bluetooth #564

Open
zoe-09 opened this issue Oct 21, 2021 · 1 comment
Open

Cannot receive blood pressure value using web Bluetooth #564

zoe-09 opened this issue Oct 21, 2021 · 1 comment

Comments

@zoe-09
Copy link

zoe-09 commented Oct 21, 2021

I use the web Bluetooth to collect the blood pressure value of the blood pressure monitor
But the error shows "NotSupportedError: GATT operation not permitted."

I have found the properties of blood pressure measurement was "indicate"
How can I solve it?
thank you all !!!!

截圖 2021-10-21 下午3 22 23

@beaufortfrancois
Copy link
Member

If indicate is there, you may want to call characteristic.startNotifications() and monitor value changes. Give it a try with https://googlechrome.github.io/samples/web-bluetooth/notifications-async-await.html?service=blood_pressure&characteristic=blood_pressure_measurement

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