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.
Tips:
For a full reference visit the Markdown syntax.
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.
Hi all, I need to program a Bangle (and, possibly, Puck) up for data capture and subsequent upload to a server. I have a lash-up that broadly works provided the Espruino device is connected to a PC over Bluetooth. If it has lost the connection, I need it to capture data and subsequently upload the next time it can connect. I can implement this from the PC with a wait-loop - very ugly - but I would prefer it to be event driven. I've been looking for bluetooth events in Espruino that will trigger if a device comes in range - but can't see anything - does anyone have any suggestions?
TIA
Martin