I've been looking for this kind of smart watch for ages and was super stoked to learn about bangle.js and ordered one right away!
I'm curious as to how this watch connects with bluetooth. Is there is a way to make a local connection without going through the official app store?
Found a post that kind of touched the subject, but I'm looking for something even more basic. How to do this from scratch.
I'm an experience js/node developer, but this wasn't clear to me while reading all the getting started stuff.
@fractalf The watch supports bluetooth LE, you can make a connection without going to the official app store.
I'm not sure what you exactly want to do but all code is public.
You can clone the app store on github and use your own modified copy.
Or you could even run your own web server with a copy of the app store.
But if you want more direct communcation between e.g. phone and watch that is also possible.
In that case you might want to have a look at gadgetbridge but there are undoubtedly other apps that provide functionality like this.
Web Bluetooth (from the browser) is definitely the easiest way to get started. Something like https://www.espruino.com/Bangle.js+Data+Streaming might give you some useful info there.
But to connect from Node.js this is probably most helpful: https://www.espruino.com/Interfacing#bluetooth-le
Basically Bangle.js puts its REPL on Bluetooth LE - once you can connect and send/receive characters you're sorted. You just send the JS code you want it to execute.
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem