beautypg.com

3 write message to memory - +cmgw – Rainbow Electronics GM862-QUAD-PY User Manual

Page 223

background image




AT Commands Reference Guide

80000ST10025a Rev. 5 - 09/07/08

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 223 of 434

+CMSS - Send Message From Storage

SELINT 2

AT+CMSS=
[,
[,]]

Execution command sends to the network a message which is already
stored in the storage (see +CPMS) at the location .

Parameters:
- location value in the message storage of the message

to send

- destination address, string type represented in the currently selected

character set (see +CSCS); if it is given it shall be used instead of the
one stored with the message.

- type of destination address
129 - number in national format
145 - number in international format (contains the "+")

If message is successfully sent to the network then the result is sent in the
format:

+CMSS:
where:
- message reference number.

If message sending fails for some reason, an error code is reported:

+CMS ERROR:

Note: to store a message in the storage see command +CMGW.

Note: care must be taken to ensure that during the command execution,
which may take several seconds, no other SIM interacting commands are
issued.

AT+CMSS=?

Test command resturns the OK result code.

Note

To avoid malfunctions is suggested to wait for the +CMSS: or +CMS
ERROR:
response before issuing further commands.

Reference GSM

07.05

3.5.5.4.3 Write Message To Memory - +CMGW

+CMGW - Write Message To Memory

SELINT 0 / 1

(PDU Mode)
AT+CMGW=

[,]

(PDU Mode)

Execution command writes in the memory storage a new
message.

Parameter:
- length in bytes of the PDU to be written.
7..164
- message status.
0 - new message
1 - read message