M10 Hardware Design
M10_HD_V3.0 - 31 -
the module will go into the alarm mode. In this case, the module will send out an Unsolicited
Result Code (URC) when the baud rate of the Serial Port is set to a fixed one.
RDY
ALARM MODE
+CFUN:0
Note: This result code does not appear when autobauding is active because a valid baud rate is
not available immediately after powering up the module. Therefore, the module is
recommended to set to a fixed baud rate.
During alarm mode, use “AT+CFUN” command to query the status of software protocol stack; it
will return “0” which indicates that the protocol stack is closed. After 90 seconds, the module will
power down automatically. However, if the GSM protocol stack is started by “AT+CFUN=1”
command during the alarm mode, the process of automatic power-off will not be executed. In
alarm mode, driving the PWRKEY to a low level voltage for a period will cause the module to
power down.
The frequently-used AT commands during alarm mode are briefly summarized In Table 7. For
details of these instructions, please refer to document [1].
Table 7: AT commands used in alarm mode
AT command Function
AT+QALARM Set alarm time
AT+CCLK Set data and time of RTC
AT+QPOWD Power down the module
AT+CFUN Start or close the protocol stack
3.4.2. Power down
The following procedures can be used to turn off the module:
Normal power down procedure: Turn off module using the PWRKEY pin
Normal power down procedure: Turn off module using command “AT+QPOWD”
Over-voltage or under-voltage automatic shutdown: Take effect when over-voltage or
under-voltage is detected
Emergent power down procedure: Turn off module using the EMERG_OFF pin