Multi-Tech Systems GPRS (MTMMC-G) 사용자 설명서

다운로드
페이지 203
Chapter 9 – Short Messages Commands  
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I) 
79 
 
Command Syntx: AT+WMCP=<mode>[,<loc>] Continued 
Command 
Possible responses
AT+CPMS=”ME” 
Note: Select ME for reading 
+CPMS: 2,99,2,99,4,10 
OK 
AT+CMGD=0,4 
 
Note: Erase all the SMS stored in the 
Flash 
OK 
 
AT+CPMS? 
 
Note: Read the SMS storage 
+CPMS: “ME”,0,99,”ME”,0,99,”SM”,4,10 
OK 
Note: No SMS is stored in the Flash 
AT+WMCP=0 
Note: Copy all the SMS from the SIM 
to  the Flash  
OK 
AT+CPMS? 
 
Note: Read the SMS storage 
+CPMS: “ME”,4,99,”ME”,4,99,”SM”,4,10 
OK 
Note: 4 SMS are stored in the Flash 
 
 
 
 
More Messages to Send   +CMMS 
Description:  
This short message service-oriented AT command allows the link to be kept open while sending several 
short messages with only a short delay.
 
Values: 
<mode> 
Disable feature 
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 feaure is disabled
Keep link opened while messages are sent. If the delay between two messages exceeds 5 
seconds, the link is closed but the mode remains set to 2: the feaure is still enabled
Notes: 
• 
IMPORTANT:
 Before sending the 
last SMS in the link, you must use the AT+CMSS=0 
command. This command will indicate that the FOLLOWING SMS will be the last one. 
• 
The delay of 5 seconds complies with Rec 3GPP 27.005...3.5.6 
Syntax: 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: 
OK 
AT+CMMS=? +CMMS: 
(0-2) 
OK