GSM Modules
24
Returned results
+CMTI:<mem>,<index> : receive new message
+CMT:,<length><CR><LF><pdu> : directly output message (PDU mode)
+CBM:<length><CR><LF><pdu> : directly output cell broadcast message (PDU
mode)
Parameters
<mode>
:
control the method of notifying TE, default 2
0: cache the notice firstly and send it according to
<
mt
>
value;
1: notify TE as the data cable is idle, otherwise, do not notify TE;
2: Directly notify TE as the data cable is idle, otherwise cache the notice first
and transmit it again as the date cable is idle;
3: Directly notify TE. As the data cable is used, transmit a combined message
to TE.
<mt>
:
set message storage and notify TE, default 1.
0
:
received message saved to default memory (including class 3), do not notify
TE;
1: received message saved to default memory and notify TE (including class
3). The notice form is:
+
CMTI
:
”SM”
,
<index>
2: Save Class 2 message to SIM card and notify TE; as for other class, directly
forward message to TE:
+
CMT
:
[<alpha>]
,
<length><CR><LF><pdu>
(
PDU mode
)
Or
+
CMT
:
<oa>
,
[<alpha>
,
]<scts>[
,
<tooa>
,
<fo>
,
<pid>
,
<dcs>
,
<sca>
,
<tosca>
,
<length>]<CR><LF><data>
(
text mode
)
3
:
as for other class 3, directly forward message to TE: same as <mt>
=
2; as
for other class, the same as <mt>
=
1.
<bm>
: set cell broadcast
0: don’t send cell broadcast
2: new cell broadcast, return
+CBM: length;;CR;;LF;;pdu;
3: cell broadcast in Class3 format, use bm=2 format
<ds>:
status report
0: do not send status report
1: new status report, return:
+CDS:;length;;CR;;LF;;pdu;
2: If new status report is saved to ME, return:
+CDSI:;mem;,;index;
<brf>
:
1: always 1