Moxa Technologies G2150I Carrying Case User Manual


 
OnCell G2150I AT Command Set Short Message Commands
7-13
mode (default “STO UNSENT” for +CMGW). Indicates the status of
message in memory. If <stat> is omitted, the stored message is considered as
a message to send.
0 “REC UNREAD”
1 “REC READ”
2 “STO UNSENT”
3 “STO SENT”
<length> Length of the actual data unit in bytes
Send Message From Storage: +CMSS
Description: This command sends a message stored at location value <index>.
Command syntax: AT+CMSS=<index>[,<da> [,<toda>] ]
Response syntax: +CMSS: <mr> or +CMS ERROR: <err> if sending fails
If a new recipient address <da> is given, it will be used instead of the one stored with the message
Command Possible responses
AT+CMGW=0660123456<CR>
Today is my birthday
+CMGW: 5
OK
Note: Message stored with index 5
AT+CMSS=5, 0680654321
Note: Send the message 5 to a different
destination number
+CMSS:<mr>
OK
Note: Successful transmission
Set Text Mode Parameters: +CSMP
Description: This command is used to select a value for <vp>, <pid>, and <dcs>.
Command syntax: AT+CSMP=<fo>, <vp>, <pid>,<dcs>
Command Possible responses
AT+CSM P?
Note: current values
+CSMP: 0,0,0,0
OK
Note: No validity period
<dcs>= PCCP437 alphabet (8 bits ¼ 7 bits)
AT+CSMP=17,23,64,244
Note:<vp> = 23 (2 hours, relative
format)
<dcs> = GSM 8 bits alphabet
Remind to enter <fo> value in decimal
notation.
OK
Note: Command correct
Defined values:
The <fo> byte comprises 6 different fields:
b7 b6 B5 b4 b3 b2 b1 b0
RP UDHI SRR VPF RD MTI
Note: <fo> must be entered in DECIMAL format. Hexadecimal format would lead to irrelevant
result.
RP: Reply Path, not used in text mode.
UDHI: User Data Header Information, b6=1 if the beginning of the User Data field contains
a Header in addition to the short message. This option is not supported in +CSMP command,