Specifications

Chapter 2 – Configuration Commands
Multi-Tech Systems, Inc. AT Commands for EDGE (E1) Modems (S000474A) 45
Examples:
Example 1 – Use of AutoExec:
Enable sending of a short message (SMS) on next DTR activation (OFF-ON transition). Sent SMS is
assumed to be stored at first location of storage selected with AT+CPMS and AT^SSMSS, i.e. SMS may be
sent either from SIM or ME storage.
Also refer to AT+CMSS and AT+CMGW. Since SMS transmission and ongoing calls are possible at the
same time there is no need to wait until all calls have ended (<AutoExecMode>=0).
AT+CMGF=1 Enable SMS text mode.
OK
AT+CNMI=1,1 Enable "+CMTI:" URC to be indicated when a short message is
received.
OK
AT+CMGD=1 Delete first SMS location.
OK
AT+CMGW="01522400045",145 Start writing a short message.
>Test-SMS to be sent from storage! Enter the text of the message. Finish with CTRL-Z.
+CMGW: 1 Confirms that message is stored to first location.
OK
AT^SCFG="AutoExec",1,0,0,0,"AT+CMSS=1" Enable execution on next DTR activation.
^SCFG: "AutoExec","1","0","0","0","at+cmss=1"
^SCFG: "AutoExec","0","1","0","0","","000:00:00","000:00:00"
^SCFG: "AutoExec","0","1","1","0","","000:00:00","000:00:00"
^SCFG: "AutoExec","0","1","2","0","","000:00:00","000:00:00"
OK
If a DTR activation has occured the ME issues the URC "^SCFG: " followed by the response of the
executed command; the message reference in this case:
^SCFG:"AutoExec",0,0,1,0,"AT+CMSS=1"
OK Confirms that AT+CMSS=1 has been issued.
+CMSS: 16
Example 2 – Use of AutoExec:
Configure the device to perform a reset every 10 hours. The execution of the reset command shall be
deferred until after any calls have ended.
For details regarding software controlled power down refer to AT+CFUN and AT^SMSO.
AT^SCFG="AutoExec",1,1,2,5,"AT+CFUN=0,1","010:00:00"
...
OK
After ten hours:
^SCFG:"AutoExec",1,1,2,5,"AT+CFUN=0,1"
OK Confirms that AT+CFUN=0,1 has been issued.
SYSSTART MC75i has restarted. Remember that the "^SYSSTART" URC will
not appear if autobauding is enabled.
Example 3 – Use of AutoExec:
Switch off the ME after three minutes without restarting it.
For details regarding software controlled power down refer to AT+CFUN and AT^SMSO.
Please keep in mind that if the GSM alphabet is enabled special characters within the executed AT
command shall be issued as escape sequences. A list of typical escape sequences can be found in
Section 1.6.1, GSM alphabet tables and UCS2 character values. For example, the caret character "^"
included in all proprietary AT commands shall be given as "\1B\14".
AT^SCFG="AutoExec",1,1,0,0,"AT\1B\14SMSO","000:03:00"
^SCFG: "AutoExec","0","0","0","0",""
^SCFG: Please note that the indication of the escape sequence in the write
command response depends on the used program.
"AutoExec","1","1","0","0","ATSMSO","000:
03:00","000:02:59"
^SCFG: "AutoExec","0","1","1","0","","000:00:00","000:00:00"
^SCFG: "AutoExec","0","1","2","0","","000:00:00","000:00:00"
OK