Sony Ericsson GM29 Network Router User Manual


 
GM29 INTEGRATOR’S MANUAL
182
LZT 123 7361 R1B
13.5 AT+CMGF Message Format
Common for both PDU and Text Modes
This command tells the TA, which input and output format to use for
messages. The <mode> parameter indicates the format of messages
used with send, list, read and write commands, and unsolicited result
codes resulting from received messages. Mode can be either PDU mode
(entire TP data units used) or text mode (headers and body of the
messages given as separate parameters).
Test command returns supported modes as a compound value.
13.6 AT+CMGW Write Message to Memory
PDU Mode
Stores a message to memory storage <mem2>. Memory location
<index> of the stored message is returned. By default message status
will be set to ‘stored unsent’, but parameter <stat> allows other status
values to be given. ME/TA manufacturer may choose to use different
default <stat> values for different message types. Entering PDU is the
Description Command Possible Responses
Set message format AT+CMGF=<mode> •OK
ERROR
Read the current setting AT+ CM GF ? +CMGF: <mode>
•OK
ERROR
Show if the command is
supported
AT+ CM GF =? +CMGF: (list of
supported <mode>s)
•OK
ERROR
<mode> Description
0 PDU mode
1 Text mode
Description Command Possible Responses
Write message to memory AT+CMGW=<length>
[,<stat>]<CR>
PDU is given<ctrl-Z/ESC>
+CMGW: <index>
+CMS ERROR: <err>
•OK
ERROR
Show if the command is
supported
AT +C M GW =? •OK
ERROR