Nokia 8850 Manual Suplementar

Página de 74
AT Command Set for Nokia 8850
25
Copyright © 2000. Nokia Mobile Phones. All rights reserved.
AT+CMGS=?
Shows whether command has been
implemented.
Parameters:
<length>
length of the actual PDU in octets
<pdu>
service centre address followed by GSM
03.40 Protocol Data Unit in hexadecimal
format
<mr>
message reference number
+CMGW Write Message to Memory
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 24). 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>
Response for successful storing:
+CMGW: <index>
Default option: [,129/145, "STO
UNSENT"]
PDU mode (+CMGF=0):
AT+CMGW=<length>, <stat><CR>
PDU is given <ctrl-Z/ESC>
Response for successful storing:
+CMGW: <index>
Default option: [,2]
AT+CMGW=?
Shows whether command has been
implemented.
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"
received unread message
"REC READ"
received read message
"STO UNSENT"
stored unsent message (default)
"STO SENT"
stored sent message
<index>
location number
+CMMS More Messages to Send
This command controls the continuity of SMS relay protocol link. If enabled (and
supported by network), several consecutive messages can be sent (+CMGS etc.)
much faster as link is kept open. <n> values: 0=disable, 1=keep enabled until time
between message send commands exceeds five seconds (then switch <n> back to
0), 2=enable (this affects also 07.05 block mode). (Not in GSM 07.05 version 5.2.0.)
Syntax:
AT+CMMS=<n>
Default option is 0.
AT+CMMS?
Query current setting.
Response is +CMMS: <n>
AT+CMMS=?
Show supported values.
Response is +CMMS: (list of supported
<n>'s)