User Manual

Table Of Contents
SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R11
9Short Messages Service
Page 70 of 308
Type Syntax Response Example
+CMT: <oa>,[<alpha>],
<scts>[,<tooa>,<fo>,<pid>,
<dcs>,<sca>,<tosca>,
<length>]<CR><LF><data>
Hello world
PDU mode (+CMGF=0):
+CMT: ,<length><CR><LF><pdu>
Text mode (+CMGF=1):
+UCMT: <message_id>,
<oa>,<scts>,[<priority>],
[<privacy>],[<callback_number>],
<encoding>,[<status>],[<num_
sms>,<part>,<reference>],
<length><CR><LF><text>
+UCMT: 1,+1231241241,"18:02:28+0
8",,,,2,,,,,6
Hello!
URC
PDU mode (+CMGF=0):
+UCMT: <pdu_
length><CR><LF><pdu>
URC +CBMI: <mem>,<index> +CBMI: "BM",48
Text mode (+CMGF=1):
+CBM: <sn>,<mid>,<dcs>,<page>,
<pages><CR><LF><data>
+CBM: 271,1025,1,1,1
The quick brown fox jumps over the
lazy dog 0123456789
URC
PDU mode (+CMGF=0):
+CBM: <length><CR><LF><pdu>
URC +CDSI: <mem>,<index> +CDSI: "MT",2
Text mode (+CMGF=1):
+CDS: <fo>,<mr>,[<ra>],[<tora>],
<scts>,<dt>,<st>
+CDS: 6,202,"+393492323583",145,
"14/07/25,13:07:16+02","14/07/25,
16:35:44+02",0
URC
PDU mode (+CMGF=0):
+CDS: <length><CR><LF><pdu>
9.7.3Defined values
Parameter Type Description
<mode> Number Controls the processing of URCs specified within this command:
0 (default value): buffer URCs in the MT; if the MT buffer is full, the oldest indication
may be discarded and replaced with the new received indications (ring buffer)
1 (factory-programmed value): discard indication and reject new received message
URCs when MT-DTE link is reserved; otherwise forward them directly to the DTE
2: buffer URCs in the MT when the serial link is busy (e.g. data-transfer); otherwise
forward them directly to the DTE
3: forward URCs directly to the TE. TA-TE link specific inband technique used to
embed result codes and data when MT is in on-line data mode
<mt> Number Specifies the rules for managing the received SMS according the message's Data
Coding Scheme (DCS):
0 (default and factory-programmed value): No SMS-DELIVER indications are
routed to the TE
1: if SMS-DELIVER is stored in the MT, indication of the memory location is routed
to the DTE using the +CMTI URC
2: SMS-DELIVER (except class 2 SMS) are routed directly to the DTE (but not saved
in the module file system or SIM memory) using the +CMT URC. If MT has its own
display device then class 0 SMS and SMS in the message waiting indication group
(discard message) may be copied to both MT display and to DTE. In this case MT
shall send the acknowledgement to the network. Class 2 SMSs and messages in the
message waiting indication group (storage message) result in indication as defined
in <mt>=1
3: Class 3 SMS-DELIVERs are routed directly to DTE using URCs defined in <mt>=
2. Messages of other data coding schemes result in indication as defined in <mt>=1
<bm> Number Specifies the rules for managing the received Cell Broadcast messages (CBM):
0 (default and factory-programmed value): no CBM indications to the DTE