Download GM862-QUAD / PY Software User Guide

Transcript
GM862-QUAD / PY Software User Guide
1vv0300747 Rev. 3 - 10/07/07
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 <memw> (in the current SW version
only "SM" is supported).
To send the written SMS its location index is needed:
• send command AT+CMSS=<index><cr>
where:
<index>: SMS location index
• wait for response:
Response
Reason
Action
+CMSS: <mr>
Message has been successfully proceed ahead
sent. <mr> represents the
OK
message reference number.
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
Check for signal strength and
that the device is not registered network registration
on any network
+CMS ERROR: 331
No network service
Check for signal strength and
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 69 of 96