Reset Modem

Hi,

When using CFUN=0, the modem stores settings (such as system mode and successful network connection information) to the flash from what I can gather, but it then needs to be power cycled to function again. How do you go about doing that in the application firmware? Is there a way to manually power the modem off and on?

On the same vein, if the modem becomes unresponsive to AT commands or enters an unknown state, how would you power cycle it to reset it using the application firmware?

Kind regards,

Thomas