WebBluetoothCG/web-bluetooth

Cannot receive blood pressure value using web Bluetooth

zoe-09 opened this issue · 1 comments

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

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