I’m wondering what would be the best strategy to correctly reboot an EC25 modem. Here is my use case :
I can shutdown power supply of the modem.
I can send any AT command to it.
I do not have control of the PWRKEY pin. It is pulled down with a 10k resistor.
What I am doing right now is periodically cut off the modem supply, wait a little bit and activate again the supply. But I have read that:
So I would like to do things properly.
I initially planned to send the AT+QPOWD=0 command, however the modem reboots immediately (as PWRKEY is pulled to ground).
So my questions are :
Is a power shutdown necessary when it comes to trying to recover from a modem abnormal state ? I think hard reboot is always the good way.
AT+QPOWD=0 is a software reboot, right ? Would it be suffisant to help recover from an abnormal state ?
Could I do the following : reboot by sending AT+QPOWD=0, and just after cut off the power supply ? The modem will still be booting so it won’t have any network access yet. Is it a good idea ?
Actually, in the docs, I only read
AT+QPOWD Power off
Nothing about reboot/power cycle, in Quectel_EC25EC21_AT_Commands_Manual_V1.2
Is the docs wrong ?
If PWRKEY is pulled down to ground, then after shutting down, the module will immediately power on again. I made some tests, and it seems indeed to behave this way.
I also just tried it, and it looks like, the modem really reboots. However, it is very unpleasant, to have docs like “Quectel_EC25EC21_AT_Commands_Manual_V1.2”
not being accurate. Thanx for the reference to the Hardware_Design.