AT Command Reference Guide for EDGE Wireless ... - wless.ru
AT Command Reference Guide for EDGE Wireless ... - wless.ru
AT Command Reference Guide for EDGE Wireless ... - wless.ru
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Chapter 13 – Short Message Service (SMS) <strong>Command</strong>s<br />
13.2 <strong>AT</strong>+CMGC Send an SMS <strong>Command</strong><br />
Test <strong>Command</strong> Syntax: <strong>AT</strong>+CMGC=<br />
Response:<br />
OK<br />
Write <strong>Command</strong> Syntax: If text mode (see <strong>AT</strong>+CMGF=1)<br />
<strong>AT</strong>+CMGC=, [, [, [, [, ]]]] Text can be entered<br />
/<br />
Response:<br />
+CMGC: [, ]<br />
If sending fails<br />
ERROR<br />
+CMS ERROR<br />
Write <strong>Command</strong> Syntax: If PDU mode (see <strong>AT</strong>+CMGF=0)<br />
<strong>AT</strong>+CMGC= PDU can be entered /<br />
Response:<br />
+CMGC: [, ]<br />
OK<br />
If sending fails<br />
ERROR<br />
+CMS ERROR<br />
Notes:<br />
• After invoking the commands <strong>AT</strong>+CMGW, <strong>AT</strong>+CMGS or <strong>AT</strong>+CMGC it is necessary to wait <strong>for</strong> the prompt “>”<br />
be<strong>for</strong>e entering text or PDU. After the prompt a timer will be started to observe the input.<br />
• At baudrates below 19200 it is recommended to use the line termination character only (refer to <strong>AT</strong>S3, default<br />
) be<strong>for</strong>e entering the text or PDU. Use of the line termination character followed by the response <strong>for</strong>matting<br />
character (refer to <strong>AT</strong>S4, default can cause problems.<br />
13.3 <strong>AT</strong>+CMGD Delete SMS Message<br />
Description:<br />
Write command deletes a short message from preferred message storage <br />
location .<br />
Test <strong>Command</strong> Syntax: <strong>AT</strong>+CMGD=<br />
Response:<br />
OK<br />
Write <strong>Command</strong> Syntax: <strong>AT</strong>+CMGD=<br />
Response:<br />
OK<br />
ERROR<br />
+CMS ERROR<br />
Notes:<br />
• If there is no short message stored at the selected index, the response is OK too.<br />
• Users should be aware that when using this <strong>AT</strong> command quickly after SIM PIN authentication, the SIM data<br />
may not yet be accessible, resulting in a short delay be<strong>for</strong>e the requested <strong>AT</strong> command response is returned.<br />
See Section 20.1 Restricted Access to SIM Data after SIM PIN Authentication.<br />
13.4 <strong>AT</strong>+CMGF Select SMS Message Format<br />
Description:<br />
The write command specifies the input and output <strong>for</strong>mat of the short messages.<br />
Test <strong>Command</strong> Syntax: <strong>AT</strong>+CMGF=<br />
Response:<br />
+CMGF: (list of supporteds)<br />
OK<br />
Read <strong>Command</strong> Syntax: <strong>AT</strong>+CMGF<br />
Response:<br />
+CMGF: <br />
OK<br />
Write <strong>Command</strong> Syntax: <strong>AT</strong>+CMGF=<br />
Response:<br />
OK<br />
Parameter Description:<br />
<br />
0 PDU mode. Default.<br />
1 Text mode<br />
Multi-Tech Systems, Inc. <strong>AT</strong> <strong>Command</strong>s <strong>for</strong> <strong>EDGE</strong> Modems (S000371B) 174