Westermo GDW-11 User Manual
Page 92

92 Short Messages commands
6615-2220
2:
New CBMs are routed directly to the TE using unsolicited result code.
If PDU mode: +CBM: <length><CR><LF><pdu> or
If text mode: +CBM:<sn>,<mid>,<dcs>,<page>,<pages> <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:
If PDU mode: +CDS: <length> <CR> <LF> <pdu> (PDU mode) or
If text mode: +CDS: <fo>,<mr>, [<ra>] , [<tora>], <scts>,<dt>,<st> (Text mode)
2:
SMS-STATUS-REPORTs are stored and routed using the unsolicited result code:
+CDSI: “SR”,<index>
<bfr>
Default is 0.
0:
TA buffer of unsolicited result codes defined within this command is flushed to the
TE when <mode> = 1 to 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.
Command example
Possible responses
Note
AT+CNMI=2,1,0,0,0 OK
<mt>=1
+CMTI:
“SM”,1
Message
received
AT+CNMI=2,2,0,0,0 OK
<mt>=2
+CMT:
“123456”,”98/10/01,
Message
received
12:30
00+00”,129,4,32,240,
“15379”,129,5
AT+CNMI=2,0,0,1,0 OK
<ds>=1
AT+CMGS=”+33146290
+CMGS: 7
Send a message in text
800”<CR> OK
mode,
Happy Birthday! <ctrl-Z>
Successful transmission
+CDS: 2, 116, ”+33146290800”,
Message was correctly
145,
“98/10/01,12:30:07+04”,
delivered
“98/10/01 12:30:08+04”, 0