4 sending an sms previously stored, At+cmss= Page 69
Page 69

GM862-QUAD / PY Software User Guide
1vv0300747 Rev. 3 - 10/07/07
Reproduction forbidden w ithout Telit Communications S.p.A. w ritten authorization - All Rights Reserved
page 69 of 96
For example:
1- Let's assume you want to write a new SMS to the storage and the destination address is the
number +39338123456789. We suppose you already have set up the device for text SMS mode as
described on the previous paragraphs:
command:
AT+CMGW="+39338123456789"
response:
>
now you can insert the message text in IRA format (note that the IRA format and ASCII format
coincide for the alphabet characters but not for the other).
…. here will be inserted the SMS message text….
conclude text with the character CTRL-Z
response:
+CMGW: 3
OK
In this case, the new SMS was successfully written to the location index 3 of the selected write
memory (always "SM" SIM Card memory).
3.5.4 Sending an SMS previously stored
An already written SMS can be sent from the selected storage
only "SM" is supported).
To send the written SMS its location index is needed:
•
send command
AT+CMSS=
where:
•
wait for response:
Response
Reason
Action
+CMSS:
OK
Message has been successfully
sent.
message reference number.
proceed ahead
ERROR
some error occurred
Enable the extended error
codes report (see par.2.5.2.1)
and retry.
+CMS ERROR: 330
SMSC address unknown
Insert SMSC address (see par.
3.5.1.3)
+CMS ERROR: 41
"Temporary Failure", may be
that the device is not registered
on any network
Check for signal strength and
network registration
+CMS ERROR: 331
No network service
Check for signal strength and