Multi-Tech Systems GPRS (MTMMC-G) Network Router User Manual


 
Chapter 9 – Short Messages Commands
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I) 75
Cell Broadcast Message Identifiers +WCBM
Description: This specific command is used to read the EF-CBMI SIM file.
The EF-CBMI file is not used with the +CSCB command.
The application should read this file (using AT+WCBM ?) and combine the Message Identifiers with
those required by the application.
Values: <mids> message identifiers
Syntax: Command Syntax: AT+WCBM= <mids>
Command Possible responses
AT+WCBM=”10,100,1000,10000”
Note : Write 4 messages identifiers in EFCBMI
OK
Note : CBMIs are stored in EF-CBMI
AT+WCBM?
Note : Read the CBMIs in EF-CBMI
+WCBM=”10,100,1000,100000”
OK
Note : 4 CBMIs are stored in EF-CBMI
Message Status Modification +WMSC
Description: This command allows the manipulation of a message status. The accepted status changes are from
READ to NOT READ and vice versa, and also from SENT to NOT SENT and vice versa.
Values: <loc> Location number of the stored message <interger>
<status> New status to be stored, as in the +CMGL command
PDU Mode Text Mode
0 “REC UNREAD”
1 “REC READ”
2 “STO UNSENT”
3 “STO SENT”
Syntax: Command Syntax: AT+WMSC= <loc>, <status>
Command Possible responses
AT+CMGR=2 +CMGR: “REC READ”,”+336290918”,,”99/05/01
14:19:44+04” <CR><LF>
Hello All of you!
OK
AT+WMSC=2,”REC
UNREAD”
AT+CMGR=2 +CMGR: “REC UNREAD”,”+336290918”,,”99/05/01
14:19:44+04” <CR><LF>
Hello All of you!
OK
Possible responses:
OK If the location is valid
+CMS ERROR: 321 If <loc> is invalid or free
+CMS ERROR: 302 If the new <status> and the previous one are incompatible (1)
Note: If all parameters are correct, the product overwrites the whole SMS in SIM.
Only the first byte (Status byte) is changed.