What is the AT command to reset USB cellular modem?
at-command, command
Solution
Resetting the modem is a manufacturer-specific AT command.
There is a spec available online for Huawei AT commands here.
Look at section 3.10 +CFUN
The EXECUTION command is used to set the MS mode or restart the MS
AT+CFUN has 2 parameters:
AT+CFUN=[fun[,rst]]
These 2 parameters `fun` and `rst` are defined as follows:
fun: 0 Set as minimum functionality mode (set the RF off but keep the SIM power on, previous mode must not be offline) 1 Set as online mode (default value) (previous mode must not be offline) 4 Set as offline mode (previous mode must not be FTM) 5 Set as offline FTM (previous mode must be online) 6 Reset MS (previous mode must be offline) 7 Set as RFoff mode (about radio frequency)
rst: Whether to restart MS before setting 0 Not restart MS before setting. (Default) 1 Restart MS before setting. (fun must be 1)
Problem
What is the AT command sequence used to reset a USB cellular modem? Is there a single AT command that can be used? Or does it require a sequence of several in order to reset a USB cellular modem? I have a Huawei E272 and E220 however I am also interested in a general command sequence if there is any standard AT command.