Maybe someone know solution on how to detect module restart reason: power OFF or just software/exception reset?
I want to know, is module RTC time valid or not, but how i can see, in new devices (latest firmware?) wavecom use the worst available solution: after continuous power off clock starting from some saved time, NOT FROM DAFAULT, NOT FROM LAST SETUP. And so no way to know if time valid or not, now way to know if power loss occurred.
Any suggestions?
I wasn’t aware, which forum I’am posting to. In Q24 case, you 'll have to detect it by yourselves.
Subscribe to AT+CFUN (or any other reset) command. In callback function flag its execution into flash, unsubscribe from AT+CFUN command and resubmit it to Wavecom Core software.
On power up / reset you will still have InitType and also set/cleared flag in flash.
Ah yes - it looks like 3.22 is the last available for Q24?
To be certain that you could detect wheter a reset was due to software or a power cycle, you would have to trap every possible source of a software reset - not sure that’s feasible…?