Saving battery power
Saving battery power is a big issue for all IoT nodes and I have noticed that the RAK811 will not go in sleep mode as long as the LoRaWAN stack prohibit a new transmission.. Please tell me that I am wrong or at least give a good solution to put the module in sleep mode as soon as possible.
The Arduino library has no function to tell when “going to sleep” will work.. when the module is busy figuring out when LoRaWAN will allow a new transmission the “sleep” command is just ignored or.. ??
If you send the at+sleep command to return ok, the device enters sleep mode. At this point, if you send any characters to the serial port, the module will wake up and return at+recv=8,0,0.