Is there a tutorial / demo app that connects to the Bangle from an Android app to send and receive data, and collect files from the bangle local storage?
If not, can anyone give any pointers for getting started with the Android app?
Hi - there isn't an example from us at the moment. There's an app that pushes data out via Bluetooth advertising (https://github.com/espruino/AndroidBLEAdvertiser) but that's it.
However it should be pretty straightforward - you can use the same UART connection you would with Web Bluetooth, and there's an example app from Nordic showing how to do that here: https://github.com/NordicPlayground/Android-nRF-UART
To collect files, it depends a little on the size, if they're a StorageFile, and whether they are binary, but you could look at readFile and readStorageFile here for some ideas: https://github.com/espruino/EspruinoAppLoaderCore/blob/master/js/comms.js
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