-
@AkosLukacs Thanks for the reply! It seems I am on the right lines then - however
'I have to disconnect from the device for the service advertisements to actually update'
Maybe there is something wrong in my fundamental understanding - I have saved the watch app into the device storage, I run the app on the watch with no devices connected, then attempt to connect to the watch. By disconnect do you mean completely unpair and then repair? I'll give that a try!
I'll definitely take your advice and get that app, it sounds like it could be really useful.
I've started building a web app that can connect to the bangle and send commands via bluetooth. All works well when using the built in service/characteristic:
however my aim is to stream accelerometer data from the watch, so I've been trying to write a watch app that exposes a custom service/characteristic to do this.
This is my first espruino device and my first use of web bluetooth - but as a start and following the code from this puck project: https://github.com/AkosLukacs/PuckStreaming/blob/master/src/PuckStreaming.js I've written a really simple watch app that I expected to expose a service that I can just read a value from -
Opening the app on the watch and then attempting to use this service and characteristic from the web app I get:
Please can someone point me in the right direction as to why this isn't working?