OnCell G2150I AT Command Set

Short Message Commands

 

 

 

 

AT+WMCP=0

OK

 

Note: Copy all the SMS from the SIM to

 

 

the Flash

 

 

AT+CPMS?

+CPMS: “ME”,4,99,”ME”,4,99,”SM”,4,10

 

Note: Read the SMS storage

OK

 

Note: 4 SMS are stored in the flash.

Defined values: <mode> Copy mode

0: From the SIM to the Flash

1: From the Flash to the SIM

<loc> Location of the SMS to copy (mandatory for <mode>=1). If this location is not defined, all the SMS will be copied.

Note: The SMS copied will have the first free location.

More Messages to Send: +CMMS

Description: This short message service-oriented AT command allows to keep the link opened while sending several short messages within a short delay.

Command syntax: AT+CMMS = <mode>

Command

Possible responses

AT+ CMMS=0

OK

Note: Disable feature

Note: feature is disabled

AT+ CMMS=1

OK

Note: Enable feature 1 time

Note: feature is enabled, link is open

AT+ CMMS=2

OK

Note: Enable feature

Note: feature is enabled, link is open

AT+ CMMS?

+CMMS: 2

 

OK

AT+ CMMS=?

+CMMS: (0-2) OK

Defined values: <mode> 0 Disable feature

1 Keep link opened while messages are sent. If the delay between two messages exceeds 5 seconds, the link is closed and the mode is reset to 0: the feature is disabled.

2 Keep link opened while messages are sent. If the delay between two messages exceeds 5 seconds, the link is closed

Notes:

The delay of 5 seconds complies with Rec 3GPP 27.005 §3.5.6.

Before sending the last SMS in the link, you must use AT+CMMS=0 command. This command will indicate that the NEXT SMS will be the last one.

7-21

Page 74
Image 74
Moxa Technologies G2150I manual More Messages to Send +CMMS, Defined values mode Copy mode, Command syntax AT+CMMS = mode