+CMGF Message Format
Nokia 6090 AT Command Set
This command tells the TA, which input and output format of messages to use.
<mode> 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). Text mode uses the value of
parameter <chset> specified by command Select TE Character Set +CSCS to inform
the character set to be used in the message body in the TA-TE interface. (GSM
07.05)
Syntax:
AT+CMGF=[<mode>]
AT+CMGF?
AT+CMGF=?
Parameters:
<mode>:
0
1
Examples:
To show an incoming SMS on an external Display:
AT+CMGF=1
AT+CNMI=2,1,0,1,0
+CMTI: "SM",1
//received SMS on the 1
To show the content of the SMS:
AT+CMGR=<index>
// read SMS from 1
Default option is 0.
Query current setting.
Response is +CMGF: <mode>
Show supported values.
Response is +CMGF:(list of supported
<mode>'s)
PDU mode. Default option.
text mode
st
SMS-location on the SIM card
st
SMS-location on the SIM card
28