Cmgw Write Message To Memory - Nokia 6090 Command Manual

At command set
Hide thumbs Also See for 6090:
Table of Contents

Advertisement

+CMGW Write Message to Memory

Nokia 6090 AT Command Set
Parameters:
<length>
<pdu>
<mr>
Example:
AT+CMGF=1;+CMGS="0067800987666"
Sets the phone to "text mode" and begins to send a message to 0067800987666.
Response:
>
Enter now the data you want to send, like:
Hello, this is a SMS originated from a computer.<ctrl-Z >
Response:
+CMGS: <mr>
You have successfully sent a message.
(The right network SMSC must be set in the ME or set via +CSCA command)
This command stores a message in a preferred memory storage selected with
AT+CPMS command. Memory location of a stored message is returned. By default,
message status will be set to "STO UNSENT", but parameter also allows other status
values to be given. Entering of text is done similarly as specified in command
+CMGS Send Message (see page 30). If writing fails, final result code +CMS
ERROR: <err> is returned.
Syntax:
text mode (+CMGF=1):
AT+CMGW[=<oa/da>[,<tooa/toda>[,
<stat>]]]<CR>
text is entered <ctrl-Z/ESC>
Default option: [,129/145, "STO
UNSENT"]
PDU mode (+CMGF=0):
AT+CMGW=<length>[,<stat>]<CR>
PDU is given <ctrl-Z/ESC>
Default option: [,2]
AT+CMGW=?
Parameters:
<addr>
origin or destination address
<type>
type of origin or destination
address,
129 for normal and 145 for
international access (number
contains '+' character)
<stat>
"REC UNREAD"
"REC READ"
"STO UNSENT"
"STO SENT"
<index>
location number
Example:
AT+CMGF=1;+CMGW="+499501231234"
Sets the phone to "text mode" and begins to store a message to +499501231234
destination number.
Response:
>
Enter now the data you want to send, like:
This is an unsent SMS on my SIM from my computer.<ctrl-Z >
length of the actual PDU in octets
service centre address followed by GSM
03.40 Protocol Data Unit in hexadecimal
format
message reference number
Response for successful storing:
+CMGW: <index>
Response for successful storing:
+CMGW: <index>
OK
received unread message
received read message
stored unsent message (default)
stored sent message
31

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents