Wavecom GSM Modem
This confidential document is the property of WAVECOM and may not be copied or circulated without permission
38
5.14. Delete message +CMGD
This command shall be used after a read-command in order to delete the
received stored message.
For example :
GSM to application
+CMTI: "SM",3
New message received
Application to GSM
AT+CMGR=3
Read it
GSM to application
+CMGR: "REC UNREAD",
"43322449",20<CR>
To be or not to be!
OK
Application to GSM
AT+CMGD=3
Delete it
GSM to application
OK
5.15. Service center address +CSCA
This command shall be used to indicate to which service center the
message has to be sent.
The GSM module has no default value for this address. If the application
tries to send a message without having indicated the service center address,
an error will be generated.
So, the application has to indicate this address at initialization. This
address is then valid all the time. The application may change it if needed.
For example, let us suppose that no AT+CSCA has been already sent.
Application to GSM
AT+CMGS="+33146290800"<CR>
Hello, how are you ?^Z
Send a message
GSM to Application
+CMS ERROR : 330
Service center unknown
Application to GSM
AT+CSCA="96741234"
Service center initialization
GSM to application
OK
Application to GSM
AT+CMGS="+33146290800"<CR>
Hello, how are you ?^Z
Send again the same
message
GSM to application :
+CMGS : 1
OK
Successful transmission