I am working on a low power device and I have noticed that I must wait at least 3 seconds between a successful AT+SEND command and AT+SLEEP, otherwise the sleep will not occur or only be very brief.
Given that the SEND returns OK, it seems like I should be able to sleep straight away. Is there anyway to query the device to make sure it can enter sleep?I have found 3 seconds to work well but that might be because I am testing right next to my gateway. When I deploy this in the field the time required might increase.
The current sent of commands which works well is as follows
<Wait 3 seconds>
If I instead use
<sleep my mcu>
I see from my power supply that the mcu is sleeping but the RAK3172 is not.