Cmgr Read Message; Cmgs Send Message - Nokia 6090 Command Manual

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

Advertisement

+CMGR Read Message

+CMGS Send Message

Nokia 6090 AT Command Set
This command returns a message with a location value <index> from a preferred
message storage selected with the AT+CPMS command. If status of the message is
'received unread', status in the storage changes to 'received read'. If reading fails,
final result code +CMS ERROR: <err> is returned. <alpha> and CBM memory are
not supported. (GSM 07.05)
Syntax:
AT+CMGR=<index>
AT+CMGR=?
Example:
AT+CMGR=5
List message in SIM index 5 in the selected mode (change with +CMGF).
Response:
+CPBR: 5,"+499501231234",145,"MARC"
OK
This command sends a message to the network. A message reference value <mr> is
returned to the DTE on successful message delivery. Sending can be cancelled by
using the <ESC> character. <ctrl-Z> must be used to indicate the ending of the
message body. Values can be used to identify message upon unsolicited delivery
status report result code. If sending fails in a network or a ME error, final result code
+CMS ERROR: <err> is returned. (GSM 07.05)
Syntax:
text mode (+CMGF=1):
AT+CMGS=<da>[,<toda>]<CR>
text is entered<ctrl-Z/ESC>
PDU mode (+CMGF=0):
AT+CMGS=<length><CR>
PDU is given<ctrl-Z/ESC>
Default option for text mode: [,129/145]
AT+CMGS=?
Responses:
text mode (+CMGF=1), SMS-DELIVER:
+CMGR:
<stat>,<oa>,[<alpha>],<scts>[,<tooa>,
<fo>,<pid>,<dcs>,<sca>,<tosca>,<length>
] <CR><LF><data>
text mode (+CMGF=1), SMS-SUBMIT:
+CMGR:
<stat>,<da>,[<alpha>][,<toda>,<fo>,
<pid>,<dcs>,[<vp>],<sca>,<tosca>,<lengt
h>] <CR><LF><data>
text mode (+CMGF=1), SMS-STATUS-
REPORT:
+CMGR:
<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,dt
>,<st>
text mode (+CMGF=1), SMS-
COMMAND:
+CMGR:
<stat>,<fo>,<ct>[,<pid>,[<mn>],[<da>],
[<toda>],<length><CR><LF><cdata>]
PDU mode (+CMGF=0):
+CMGR:
<stat>,[<alpha>],<length><CR><LF><pdu
>
OK
Response when text mode (+CMGF=1)
and sending ok: +CMGS: <mr>[,<scts>]
Response when PDU mode (+CMGF=0)
and sending ok: +CMGS:
<mr>[,<ackpdu>]
OK
30

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents