EasyManua.ls Logo

Ublox SARA-R4 Series - Delete Message +CMGD

Ublox SARA-R4 Series
307 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09
9Short Messages Service
Page 82 of 307
9.14.2Syntax
Type Syntax Response Example
Set AT+CSMP=<fo>,<vp>[,<pid>[,
<dcs>]]
OK AT+CSMP=17,167,0,0
OK
Read AT+CSMP? +CSMP: <fo>,<vp>,<pid>,<dcs>
OK
+CSMP: 17,167,0,0
OK
Test AT+CSMP=? OK
9.14.3Defined values
Parameter Type Description
<fo> Number First octet of the SMS TPDU (see 3GPP TS 23.040 [8])
<vp> Number Format depending on the values of the bit3/bit4 of the <fo> (SMS-SUBMIT case):
bit 3 bit 4 Format
0 0 Validity period not present
0 1 Validity period present,
relative format
1 0 Reserved
1 1 Validity period present,
absolute format
Relative format: validity period, counted from when the SMS-SUBMIT is received by
the SMSC, in range 0-255 (the default value is 167); for more details see the 3GPP
TS 23.040 [8]
<vp> Validity period value
0 to 143 (TP-VP + 1) x 5 minutes (i.e. 5 minutes
intervals up to 12 hours)
144 to 167 12 hours + ((TP-VP -143) x 30 minutes)
168 to 196 (TP-VP - 166) x 1 day
197 to 255 (TP-VP - 192) x 1 week
Absolute format: absolute time of the validity period termination in string format
("yy/MM/dd,hh:mm:ss+zz") (see the 3GPP TS 23.040 [8]); the time zone is
expressed in steps of 15 minutes. The range goes from -48 to +56
<pid> Number TP-Protocol-Identifier (default value: 0); see the 3GPP TS 23.040 [8]
<dcs> Number Data Coding Scheme. The default value is 0
9.15Delete message +CMGD
+CMGD
SARA-R404M SARA-R410M-01B SARA-R410M-02B SARA-R410M-52B SARA-R412MModules
SARA-N4
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
partial Yes No No < 55 s +CMS Error
9.15.1Description
Deletes the message from the preferred message storage <mem1>, if <flag>= 0 or not present, in location
<index>. Otherwise the messages are deleted following the rules specified by <flag>.
When deleting a message from an empty location, the module returns the "OK" final result code.
If the <index> value is out of range (it depends on AT+CPMS command setting), then the "+CMS ERROR:
invalid memory index" error result code is returned.
9.15.2Syntax
Type Syntax Response Example
Set AT+CMGD=<index>[,<flag>] OK AT+CMGD=3
OK

Table of Contents

Other manuals for Ublox SARA-R4 Series

Related product manuals