Just tried creating my own characteristic + using notify:
Works nicely, sending 4 byte notifications every 10ms seems to work fine.
One huge benefit over using the Nordic Uart: the Nordic uart is still usable. I can connect to the same Puck with the Web Ide and my Web Bluetooth application at the same time!
Edit: and on the browser side just receiving data at 100Hz doesn't create any extraordinary CPU usage. Actually I have dozens of tabs open in Vivaldi, and a couple in Chrome, and my laptop CPU clocks down to <1GHz and <10% CPU usage by Chrome :)
© Espruino, powered by microcosm.
Report a problem