Hello,
Although I live and work in San Francisco, I sometimes only get “1 bar” of cellular connectivity. So, I’m not surprised that an Electron sometimes goes to flashing green for whatever reason. However, a serious issue seems to be that my Loop() isn’t working when that happens. That can be a problem for a consumer device obviously! The use can be pushing a button, for example, and the device would be ignoring him. Note the user won’t see the Electron and so won’t see the indicator light. He just knows that it isn’t working. So to solve I could:
- somehow know that the Electron is no longer connected and show an indicator to the user that the device is currently unavailable. Obviously not preferred. It can be doing it’s green flashing thing for a couple of minutes.
- have the loop still service IO, taking no more than 200 ms to service other things (otherwise the user’s keypress is missed)
Ideas?
Best,
Tahl