Moxa Technologies G2150I Carrying Case User Manual


 
OnCell G2150I AT Command Set Short Message Commands
7-8
Command Possible responses
AT+CSD H=0
Note: Set value to “do not show”
OK
AT+CSD H?
Note: Current value
+CSDH: 0
OK
Note: Do not show header values
Defined values: <n>: show indicator
• 0: do not show header values
• 1: show the values in result codes
New Message Indication: +CNMI
Description: This command selects the procedure for message reception from the network.
Command syntax: AT+CNMI=<mode>,<mt>,<bm>,<ds>,<bfr>
Command Possible responses
AT+CNMI=2,1,0,0,0
Note: <mt>=1
OK
AT+CMTI: “SM”,1
Note: message received
AT+CNMI=2,2,0,0,0
Note: <mt>=2
OK
+CMT: “123456”,”98/10/01,12:30
00+00”,129,4 ,32,240, “15379”,129,5<CR><LF>
Note: message received
AT+CNMI=2,0,0,1,0
Note: <ds>=1
OK
AT+CMGS=“+33146290800”<CR>
Happy Birthday !<ctrl-Z>
Note: Send a message in text mode
+CMGS: 7
OK
Note: Successful transmission
+CDS: 2, 116, “+33146290800”, 145,
“98/10/01,12:30:07+04”, “98/10/01
12:30:08+04”, 0
Note: message was correctly delivered
Defined values:
<mode>: controls the processing of unsolicited result codes
0: Buffer unsolicited result codes in the TA. If TA result code buffer is full, indications
can be buffered in some other place or the oldest indications may be discarded and
replaced with the new received indications
1: Discard indication and reject new received message unsolicited result codes when
TA-TE link is reserved. Otherwise forward them directly to the TE
2: Buffer unsolicited result codes in the TA when TA-TE link is reserved and flush
them to the TE after reservation. Otherwise forward them directly to the TE
3: Forward unsolicited result codes directly to the TE. TA-TE link specific in-band
used to embed result codes and data when TA is in on-line data mode
Important note: only <mode>=2 is supported.
Any other value for <mode> (0,1 or 3) is accepted (return code will be OK), but the
processing of unsolicited result codes will be the same as with<mode>=2.
<mt>: sets the result code indication routing for SMS-DELIVER indications. Default is 1.
0: No SMS-DELIVER indications are routed.