Is there a synchronous device command to check if there are any messages waiting to be sent from agent to device?
My devices wakeup periodically for a short time, then go into deepsleep, and sometimes they're not processing messages from the server. I'm using WAIT_TIL_SENT. Running the deep sleep command inside imp.onidle() doesn't seem to do the trick. Is this because the device hasn't seen the server message in the short time it is connected, so the device thinks it is idle?