Hi folks. Long-time lurker, first-time poster.
I have a very basic project I'm trying to put together, mostly as a learning exercise but it has some practical (for me) applications. In short, I have 2 Moteinos ("sender" and "receiver"). The sender waits for a button click, and then sends a radio signal to the receiver to do some light blinking. Once the lights blink on the receiver it sends a radio signal back to the sender. Both are also connected to a gateway node for stats gathering, notification etc.
I've got it all working pretty well when everything is connected to power sources via USB and the motes are receiving full power, but my ultimate goal is to have everything battery operated. So I figure I need to go into low power mode, enable deep sleep, etc. That's where my troubles begin. The "blink" signal will come from the sender at random times, and must be processed by the receiver as soon as it is received, so a "watchdog" function on the receiver or some type of message queuing operation on the sender won't work for this application.
I've seen lots of examples of how to recognize and wake from a physical trigger (like a button push, sensor reading, or hardware interrupt) but little on how to identify and wake from a radio transmission (i.e., from the receiver getting the "blink the lights" message from the sender) then go back to sleep when done. The things I have found have been either partial information ("just use this and that interrupt"), refer to deprecated libraries or "future" functions (i.e., really old postings), or don't follow the whole process from beginning to end. I've read everything I could find on this forum and elsewhere, including the example sketches from the RFM69 repository (old and new). From that research I've learned a lot about all aspects of the Moteino and low-power operation, so it's not time wasted at all, and thanks to everyone who has taken the time to document all this stuff. But I can't seem to find a single, end-to-end guide on how to handle low-power, radio-only operation in a sketch that pulls all of these pieces together. If I could find a working example or even some code snippets for the core functions needed I know I could take it from there.
Can anyone suggest a source that could help me move this project along? Thanks in advance for any help.