`\x03\x10(function() {
var f = require("Storage").open(${JSON.stringify(filename)},"r");
Bluetooth.println(f.getLength());
var l = f.readLine();
while (l!==undefined) { Bluetooth.print(l); l = f.readLine(); }
Bluetooth.print("\xFF");
})()\n`
There are the Espruino CLI tools, but they don't support this kind of thing with Storage at the moment
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yes - there's actually an issue open for it here so hopefully it'll get sorted soon: https://github.com/espruino/EspruinoWebIDE/issues/234
Yes - it's as easy as opening a Bluetooth LE 'Nordic UART' connection
https://www.espruino.com/Interfacing#bluetooth-le
and then uploading something like:
There are the Espruino CLI tools, but they don't support this kind of thing with Storage at the moment