5 sending a new sms without storing it, At+cmgs="" Page 70
Page 70

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 70 of 96
network registration
+CMS ERROR: 1
Unassigned number
The destination address
number does not exist. Check it
and repeat command.
+CMS ERROR: 42
network congestion
Retry later
+CMS ERROR: 96
Mandatory information missing Check for destination address
in the SMS, overwrite it and
retry.
For example:
1- Let's assume you want to send a SMS that was written to the storage index position number 3. We
suppose you already have set up the device for text SMS mode as described on the previous
paragraphs:
command:
AT+CMSS=3
response:
+CMSS: 1
OK
In this case, the SMS was successfully sent to the destination and its network message reference
number is 1.
3.5.5 Sending a new SMS without storing it
A new SMS can be sent directly to the network without storing it.
•
send command
AT+CMGS="
where:
•
wait for prompt "
>
"
•
send SMS text (MAX 160 characters)
•
end command with CTRL-Z character (0x1A hexadecimal) or abort command with ESC character
(0x1B hexadecimal)
•
wait for response:
Response
Reason
Action
+CMGS:
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
Check for signal strength and