Re: [web-bluetooth] How to invalidate characteristics cache given that Service Changed is not implemented yet? (#592)

The browser doesn't cache the services, it is all done in the OS Bluetooth stack, so clearing the cache is OS-specific.

If the services don't actually change at runtime, I would suggest using the Database Hash characteristic (0x2B2A) instead of Services Changed characteristic or using a random Bluetooth address so that the OS cache is avoided altogether.

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


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

Received on Tuesday, 30 August 2022 15:18:50 UTC