40
6195-2201
<bm>
: set the rules for storing received CBMs (Cell Broadcast Message) types depend on
its coding scheme, the setting of Select CBM Types (+CSCB command)
and <bm>. Default is 0.
0
No CBM indications are routed to the TE. The CBMs are
stored.
1
The CBM is stored and an indication of the memory location
is routed to the customer application using unsolicited result
code: +CBMI: ”BM”, <index>
2
New CBMs are routed directly to the TE using unsolicited
result code.
+CBM: <length><CR><LF><pdu> (PDU mode)
or
+CBM:<sn>,<mid>, <dcs>,<page>,<pages> (Text mode)
<CR><LF> <data>
3
Class 3 CBMs: as <bm>=2.
Other classes CBMs: as <bm>=1.
<ds>
for SMS-STATUS-REPORTs. Default is 0.
0
No SMS-STATUS-REPORTs are routed.
1
SMS-STATUS-REPORTs are routed using unsolicited code:
+CDS: <length> <CR> <LF> <pdu> (PDU mode)
or
+CDS: <fo>,<mr>, [<ra>] , [<tora>], <scts>,<dt>,<st>
(Text mode)
<bfr>
Default is 0.
0
TA buffer of unsolicited result codes defined within this
command is flushed to the TE when <mode> 1...3 is entered
(OK response shall be given before flushing the codes)
1
TA buffer of unsolicited result codes defined within this
command is cleared when <mode> 1...3 is entered.
Application to GSM
AT+CNMI=2,1,0,0,0
<mt>=1
GSM to application
OK
GSM to application
+CMTI: ”SM”, 1
Message received
Application to GSM
AT+CNMI=2,2,0,0,0 <mt>=2
GSM to application
OK
GSM to application
+CMT:”123456”,
Message received
”98/10/01,12:30:00+00”,
129, 4, 32, 240, ”15379”,
129,5<CR><LF>
Received Message
Application to GSM
AT+CNMI=2,0,0,1,0 <ds>=1
GSM to application
OK
Application to GSM
AT+CMGS=”+33146290800”<CR>
Send a message in
Message to send <ctrl-Z>
text mode
Содержание GS-01
Страница 55: ......