How to detect reset due to AT+WRST?


#1

AT+WRST causes the unit to restart at the specified interval

How can an Open-AT application detect that a restart is due to AT+WRST?
(the InitType passed to adl_main is just the normal ADL_INIT_POWER_ON).

With TMT, I can see that there is a Trace to indicate this:

But adl_atUnSoSubscribe( “+WRST:”, unsol_WrstHandler ) does not “catch” this.

This indication also doesn’t appear on the serial port - so an external application wouldn’t be able to detect it, either! :angry: