I have my RAK5010 running very well with custom code/Arduino. The ‘setup’ and ‘loop’ functions are called as expected and I can get it to sleep between running tasks.
What I’d like to do is be able to handle/capture the POWERED DOWN event, which appears to be generated when turning off the device, however I don’t know if this is a function I need to add to my code or if the message is generated elsewhere.
I see the “POWERED DOWN” message and then a later message “### Unhandled:” in the debug output but since I’m not handling the message, my loop will just continue to run.
Thoughts?