The first part of the wake up we do our thing, wake up 7800, send some data and then go back into hibernation. Instead of going to sleep right away it seems the 7800 continues to receive paging for 10-11 seconds (the highlighted part)?
I tried configuring the timer for both 2 seconds and 24 seconds however the graph always looks the same. I expected to see a difference but its always 10-11 seconds. The network does accept the PSM settings in both cases:
Ok in this run I did 24 hours and 30 minutes active. We are not actually going into hibernation at all here. The app side is still clearing the wakeup bit though. You can see the regular 1.28 s paging intervals. You can see where the apps side wakes up sends some data and then goes back to sleep. After we send and receive some http data there are regular wake ups every 0.320 seconds for about 10-11 seconds. It also looks like we are transmitting every 0.320 seconds as well (power looks high).
So the question is why does the modem stay active for so long? I closed down the http connection. Not sure what else to try.
have you set the +KSLEEP command?
e.g. AT+KSLEEP=1,2,10
You can also try to disable the debug log:
AT+SWITRACEMODE=CUSTOMER
I have also checked the “AirPrime_HL7800_Low_Power_Modes_Application_Note_Rev2_0.pdf”, it seems your module is still in sleep mode, but not hibernate mode:
Yes I am setting KSLEEP and never switched the trace mode. I know the module isnt going into hibernation in the last image. I attached another one with my original PSM settings. The apps side goes to sleep at the red arrow (everything after that is 7800). I now believe the next section is some sort of connected or short drx. After that there is a circled section that seems new, maybe because of the the newer build? Its two sections about 5 seconds long and consume ~15% of our wake up power. Can you comment on that?
Is it possible to get access to the modem logs? It would really help to debug this. I tried to enable logs I can see something on the debug uart but it seems mostly binary and not plain text?
No this seems even worse than it was originally on the previous build. The only reason the last one looked like that is because you wanted me to try 30 minutes instead of 2 seconds.
In addition to 10 seconds of wasted power in connected/short drx there is now 5 second wasted after that.