in my firmware, I have a device set to periodically awake from deep sleep and publish some readings.
I do not have access to the electron board itself when it is inside its’ enclosure so I have a couple of issues I would like to address.
is there a simple way to have a button which wakes the device from deep sleep and allows me to flash firmware to it (maybe put it into DFU mode or safe mode?)
I have debugging coming through the serial monitor (using the arduino IDE or particle dev app) but whenever it goes into deep sleep it disconnects. Is there a way to make it automatically re-connect upon waking so I don’t have to keep pressing re-connect and invariably missing half of the serial data?