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
© Espruino, powered by microcosm.
Report a problem