Re: [web-bluetooth] startNotifications either gives errors or ties up gatt operations (#466)

For future reference, if you met this error while doing startNotifications →  Uncaught (in promise) DOMException: GATT Error: Not supported.
It is probably because the characteristic you try to subscribe to doesn't have BLE2902 descriptor.

#include <BLE2902.h>
BLE2902* pid2902 = new BLE2902();
charact.addDescriptor(pid2902);


-- 
GitHub Notification of comment by curlyz
Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/466#issuecomment-2079783620 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 26 April 2024 17:17:53 UTC