Moxa Technologies G2150I Carrying Case User Manual


 
OnCell G2150I AT Command Set Short Message Commands
7-9
1: SMS-DELIVERs are routed using unsolicited code: +CMTI: “SM”,<index>
2: SMS-DELIVERs (except class 2 messages) are routed using unsolicited code:
if PDU mode:
+CMT: [<alpha>], <length> <CR> <LF> <pdu>
if text mode:
+CMT: <oa>,[<alpha>], <scts> [,<tooa>, <fo>, <pid>, <dcs>, <sca>,
<tosca>, <length>] <CR><LF><data>
3: Class 3 SMS-DELIVERS are routed directly using code in <mt>=2. Other classes
messages result in indication <mt>=1
<bm>: defines the rules for storing the received CBMs (Cell Broadcast Message) types. They
depend also on the coding scheme (text or PDU) and the setting of Select CBM Types (see
+CSCB command). 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. If PDU mode:
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:
f 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.
Read Message: +CMGR
Description: This command allows the application to read stored messages. The messages are
read from the memory selected by +CPMS command.
Command syntax: AT+CMGR=<index>
Response syntax for text mode:
y for SMS-DELIVER only +CMGR:<stat>,<oa>,[<alpha>,] <scts> [,<tooa>,<fo>, <pid>,
<dcs>, <sca>, <tosca>, <length>] <CR><LF> <data>
y for SMS-SUBMIT only +CMGR: <stat>,<da>,[<alpha>,] [,<toda>, <fo>, <pid>, <dcs>,
[<vp>], <sca>, <tosca>, <length>]<CR><LF> <data>
y for SMS-STATUS-REPORT only +CMGR:
<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st> ()
Response syntax for PDU mode:
y +CMGR: <stat>, [<alpha>] ,<length> <CR><LF> <pdu>
A message read with status “REC UNREAD” will be updated in memory with the status “REC
READ”.
Note: The <stat> parameter for SMS Status Reports is always “READ”.