Hi,
I’m looking for a method to save the needed states into RTC memory, so that after deep sleep the device will send again sensor data,
Want to create a LoraWAN sensor with deep sleeping mode, but after wakeup the device will not send any message more.
DeviceState (eDeviceState_LoraWan) is 2 (so joined as far as I understand) but something is missing - was “lost” while deep sleep…
Is there a ready procedure for save to / restore from RTC memory - or what I need to save for get it work?
Same question (if different) for Wifi Lora32 (V3) …
Or maybe - somebody have a working example (Arduino-) code for a sleeping sensor?
Thanks for any suggestion!
Michael