Moxa Technologies G2150I Carrying Case User Manual


 
OnCell G2150I AT Command Set Short Message Commands
7-21
AT+WMC P=0
Note: Copy all the SMS from the SIM to
the Flash
OK
AT+CPM S?
Note: Read the SMS storage
+CPMS: “ME”,4,99,”ME”,4,99,”SM”,4,10
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
Note: Disable feature
OK
Note: feature is disabled
AT+ CMMS=1
Note: Enable feature 1 time
OK
Note: feature is enabled, link is open
AT+ CMMS=2
Note: Enable feature
OK
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.