Cmgw Write Message To Memory - Nokia 30 GSM Connectivity Terminal At Command Manual

Hide thumbs Also See for 30 GSM Connectivity Terminal:
Table of Contents

Advertisement

10.17

+CMGW WRITE MESSAGE TO MEMORY

Command
Execute
Text mode (+CMGF=1):
+CMGW=<oa/da>,<tooa/toda>,<stat>
<CR>text is entered<ctrl-Z/ESC>
PDU mode (+CMGF=0):
+CMGW=<length>,<stat><CR>
PDU is given<ctrl-Z/ESC>
Test
+CMGW=?
Text mode:
The +CMGW command stores a message (either SMS-DELIVER or SMS-SUBMIT) in the
memory storage <mem2>. A memory location <index> of the stored message is returned. By
default, the message status will be set to 'stored unsent', but the parameter <stat> also
allows other status values to be given. The entering of text is carried out similarly as
specified in the command Send Message +CMGS.
NOTE: SMS-COMMANDs and SMS-STATUS-REPORTs cannot be stored in text mode.
PDU mode:
The +CMGW command stores a message to the memory storage <mem2>. A memory
location <index> of the stored message is returned. By default, the message status will be
set to 'stored unsent', but the <stat> parameter also allows other status values to be given.
Text/PDU entering is as specified in ETSI GSM 07.05 /3/. If the SMSC address is not
set/restored during the current session (i.e. +CSCA? returns +CSCA: "",129) and the stored
message is SMS-SUBMIT or SMS-COMMAND, the SMSC address must automatically be
read from the SIM/ME (location 1).
Defined values
<oa>/<da> GSM 03.40 TP-Originating/Destination-Address Address-Value field in string
format; the type of address is given by <tooda>/<toda>
<scts>
GSM 03.40 TP-Service-Centre-Time-Stamp in time-string format
<tooa>/<toda>/<tora>
octet in integer format
Response
storing successful:
+CMGW: <index>
GSM 04.11 TP-Originating/Destination-Address Type-of-Address
Default
+cms
error
text mode:
x
[,129/145,
"STO UNSENT"]
PDU mode:
[,2]
71/107

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents