SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09

9Short Messages Service
Page 71 of 307
Type Syntax Response Example
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
• 1: if the CBM is stored in the MT, an indication of the used memory location is routed
to DTE using the +CBMI URC
• 2: new CBMs are routed directly to the DTE using the +CBM URC
• 3: class 3 CBMs are routed directly to DTE using URCs defined in <bm>=2. If CBM
storage is supported, messages of other classes result in indication as defined in
<bm>=1
<ds> Number Specifies the rules for managing the Status Report messages:
• 0 (default and factory-programmed value): no SMS-STATUS-REPORTs are routed
to the DTE
• 1: SMS-STATUS-REPORTs are routed to the DTE using the +CDS URC
• 2: if SMS-STATUS-REPORT is stored in the MT, the indication of the memory
location is routed to the DTE using the +CDSI URC
<bfr> Number Controls the buffering of URCs:
• 0 (default and factory-programmed value): MT buffer of URCs defined within this
command is flushed to the DTE when <mode> 1...3 is entered (OK final result code
shall be given before flushing the codes).
• 1: MT buffer of URCs defined within this command is cleared when <mode> 1...3 is
entered