Rev 3.2 Oct.05
77
PDU mode:
+CMGC=
<length>
or
Text mode:
+CMGC=<fo>,
<ct>[,<pid>]
[,<mn>][,<da>]
[,<toda>]
Note: Also see the
+CMGS
command on
Send SMS command
Sends an SMS Command message from the host computer to the network
(SMS-COMMAND). The message reference value
<mr>
is returned (as
+CMGC: <mr>
) to the host computer if the message is successfully delivered,
and can be used to identify the message if an unsolicited delivery status code is
received.
How the command is used depends on the SMS message format specified in
+CMGF
(page 78):
•
In PDU mode (
+CMGF=0
), messages are sent as follows:
+CMGC=<length><CR>
<PDU data>
<CTRL+Z>
•
In text mode (
+CMGF=1
), messages are sent in this form:
+CMGC=<fo>,<ct>,<pid>,<mn>,<da>,<toda><CR>
<message text>
<CTRL+Z>
Note: In both modes, sending
<ESC>
instead of
<CTRL+Z>
quits without
sending the message.
Supported values
Parameters for the text-mode send command are:
•
<fo>
first octet of GSM 03.40 SMS-COMMAND in integer format
(default
2)
•
<ct>
GSM 03.40 TP-Command-Type in integer format
(default 0)
•
<pid>
GSM 03.40 TP-Protocol-Identifier in integer format
(default 0)
•
<mn>
GSM 03.40 TP-Message-Number in integer format
•
<da>
GSM 03.40 TP-Destination-Address Address-Value field in string
format; BCD numbers (or GSM default alphabet characters) are
converted to characters; type of address given by
<toda>
•
<toda>
GSM 04.11 TP-Destination-Address Type-of-Address octet in
integer format (when first character of
<da>
is + (IRA 43) default
is 145, otherwise default is 129)
For PDU mode:
•
<length>
integer type value indicating the length of the actual TP data unit
in octets (i.e. the RP layer SMSC address octets are not counted
in the length)
+CMGD=<index>
Delete SMS message
Deletes the
<index>
-numbered message from the currently selected memory
store. (See
+CMGS
Table 3-9: Command Reference Table (ASCII Alphabetic)
Command
Description
Summary of Contents for MP 700 Series
Page 1: ...MP 700 Series GPS Rugged Wireless Modem AT Command Reference 2130309 Rev 3 2...
Page 2: ......
Page 6: ...MP 700 Series GPS AT Command Reference 4 2130309...
Page 24: ...MP 700 Series GPS AT Command Reference 22 2130309...
Page 116: ...Index Rev 3 2 Oct 05 114...
Page 117: ......
Page 118: ......