Cmgs, Send Sm To Network - Fibocom G510 User Manual

G5/g6-family at commands
Hide thumbs Also See for G510:
Table of Contents

Advertisement

<delflag>
Example:
AT+CMGD=4
OK
AT+CMGD=1,3
OK

7.1.16+CMGS, Send SM to Network

This command sends an SM from the Module to the network. The message reference value <mr> is
returned to the Module upon successful delivery of the message.
Valid <toda> will be any value from 128 to 255.
The header parameters in TEXT mode will be set according to CSMP settings.
Command
Syntax
Set
If text mode (+CMGF=1):
+CMGS=<da>[,<toda>]<CR>text
is entered<ctrl-Z/ESC>
If PDU mode (+CMGF=0):
+CMGS=<length><CR>
PDU is entered<ctrl-Z/ESC>
The following table shows the +CMGS parameters.
<Parameter>
<da>
<toda>
<length>
G5/G6-Family AT Commands User Manual
0
Deletes the message specified in <index>
1
Deletes all read messages
2
Deletes all read messages and sent MO messages
3
Deletes all read messages, sent and unsent MO messages
4
Deletes all messages
Description
Destination address in quoted string. This field contains a single MIN
number.
Type of DA. Value range is 128-255 (according to GSM 03.40, 9.1.2.5). If this
field is not given and first character of <da> is '+' , <toda> will be 145,
otherwise 129.
Size of message in PDU mode format, in octets, excluding SMSC data.
Response/Action
+CMGS: <mr>
OK
or:
+CMGS ERROR:
<err>
Remarks
The Set command
validates the input
parameters, sends the SM
to network and reports the
result of the operation to
the Module.
Page 117 of 243

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G510sG520G610-a20 seriesG620-a20 series

Table of Contents