bluetooth events?

Posted 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

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

bluetooth events?

Posted by Avatar for maby @maby

Actions