OnCell G2150I AT Command Set

Short Message Commands

 

 

 

 

Command

Possible responses

 

AT+CPMS?

+CPMS: “SM”,3,10,”SM”,3,10,”SM”,3,10

 

Note: Check the storage area

OK

 

AT+CMGW=“+33146290800”<CR>

+CMGW: 4

 

Hello how are you ?<ctrl-Z>

OK

 

Note: Write a message in text mode

Note: Message stored in index 4 in the SIM

 

AT+WMGO=?

+WMGO: (1-10) OK

 

 

Note: Possible values for the SIM

 

AT+WMGO=4

OK

 

AT+CMGW=“+33146290000”<CR>

+CMGW: 4

 

You are overwritten<ctrl-Z>

OK

 

 

Note: New Message stored in index 4

 

AT+WMGO?

+WMGO: 4

 

 

OK

 

 

Note: The value was used, so re-initialization

 

AT+WMGO=4

OK

 

AT+CPMS=“SM”,”ME”,”SM”

+CPMS: 3,10,0,99,3,10

 

 

OK

 

 

Note: Change the storage area from SIM to Flash

 

AT+WMGO=?

+WMGO: (1-99) OK

 

 

Note: Possible values for the Flash

 

AT+WMGO?

+WMGO: 0

 

 

OK

 

 

Note: We changed the storage area, so the value

 

 

was reinitialized

 

AT+WMGO=999

+CMS ERROR: 321

Note: if the storage area is changed with the AT+CPMS command, the value of WMGO will be reset to 0.

Defined values: <loc> location number of the SMS to write or overwrite. Number depends on the SIM or Flash memory capacity.

Un-change SMS Status: +WUSS

Description: The +WUSS command allows keeping the SMS Status to UNREAD after +CMGR or +CMGL.

Command syntax:

AT+WUSS=<mode>

 

 

 

Command

 

Possible responses

AT+WUSS=?

 

+WUSS: (0-1)

 

 

OK

AT+WUSS=1

 

OK

 

 

+CMTI: “SM”,10

 

 

Note: SMS has been received in index 10

AT+CMGR=10

 

+CMGR: “REC

 

 

UNREAD”,”+33660669023”,,”03/02/13,18:36:35+00”<CR><LF>

 

 

Do you want to change state ?

 

 

OK

 

7-18

Page 71
Image 71
Moxa Technologies G2150I manual Un-change SMS Status +WUSS, Was reinitialized