SINAUT MD720-3 in Terminal Mode
AT+CMGS
Sending SMS
Test
Command:
AT+CMGS=?
Response:
OK
Executive command
In text modus (+CMGF=1):
Command:
+CMGS=<da>,<toda><CR>
> text is entered<ctrl-Z/ESC>
In PDU mode (+CMGF=0):
AT+CMGS=<length><CR> enter PDU <ctrl-Z/ESC>
In text mode (+CMGF=1) and successful sending:
Response:
+CMGS: 0
If sending fails:
+CMS ERROR: <err>
In PDU mode (+CMGF=0) and successful sending:
+CMGS: <mr>[,<ackpdu>]
OK
Parameter:
<da>:
Enter phonenumber with " "
<toda>:
145:
129:
<mr>:
TP-Message-Reference in integer format
<ackpdu>
RP-User-Data element of RP-ACK PDU; format is same as for <pdu> in case of SMS, but
without 3G TS 24.011 [6] SC address field and parameter shall be bounded by double
quote characters like a normal string type parameter
<length>
Integer type value indicating in the text mode (+CMGF=1) the length of the message body
<data> > (or <cdata>) in characters; or in PDU mode (+CMGF=0), the length of the actual
TP data unit in octets (i.e. the RP layer SMSC address octets are not counted in the
length)
Notice:
•
The device shall send a four character sequence <CR><LF><greater_than><space>
(IRA 13, 10, 62, 32) after command line is terminated with <CR>; after that PDU can
be given from application to the device
•
the DCD signal shall be in ON state while PDU is given
•
the echoing of given characters back from the device is controlled by ATE echo
command
•
the PDU shall be hexadecimal format (similarly as specified for <pdu>) and given in
one line; the device converts this coding into the actual octets of PDU
•
when the length octet of the SMSC address (given in the PDU) equals zero, the
SMSC address set with command Service Centre Address +CSCA is used; in this
case the SMSC Type-of-Address octet shall not be present in the PDU, i.e. TPDU
starts right after SMSC length octet
•
sending can be cancelled by giving <ESC> character (IRA 27)
•
<ctrl-Z> (IRA 26) must be used to indicate the ending of PDU
50
Enter phone number incl. country code, e.g. +49xxxxx for Germany
Enter phone number without country code
SINAUT MD720-3
C79000-G8976-C211