5 sending a new sms without storing it, Sending a new sms without storing it, At+cmgs="" Page 68
Page 68
GE863-GPS Software User Guide
1vv0300724 Rev. 2 - 24/01/07
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
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
network registration
+CMS ERROR: 1
Unassigned number
The destination address
number does not exist. Check it
and repeat command.
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 68 of 109