AT Commands Phone Terminal Terminated 95
AT+CMGF Message Format
AT+CSCA Service Centre Address
<mem2>: Memory to which writing and sending options are made (see AT+CMSS and
AT+CMGW).
<mem2> Description
“ME” ME message storage
“SM” SIM message storage
Default setting
“TL” Template message storage
<mem3>: Memory to which received SMs are preferred to be stored (unless directly forwarded to
the TE). Received CBMs are always stored in “BM” (unless directly forwarded to the
TE).
<mem3> Description
“ME” ME message storage
<usedx>: Integer; number of messages currently in <memx>.
<totalx>: Integer; total number of message locations in <memx>.
Description: Sets the input and output format to be used by the TA.
Set command: AT+CMGF=<mode>
Read command: AT+CMGF? Displays the current <mode> setting.
Test command: AT+CMGF=? Shows if the command is supported.
Test command
response:
+CMGF: (list of supported <mode>s)
Parameter:
<mode>: Indicates the message format used for send, read, write, list commands, and unsolicited
result codes resulting from received messages.
<mode> Description
0 PDU mode
Default setting
Description: Updates the SMCS address, through which mobile-originated SMs are transmitted. In
text mode, the setting is used by send (AT+CMGS) and write (AT+CMGW)
commands. In PDU mode, the setting is used by the same commands, but only when
the length of the SMCS address (coded into <pdu> parameter) equals zero.
Set command: AT+CSCA=<sca>[,<tosca>]
Read command: AT+CSCA? Displays the current <sca> and <tosca> settings.
Test command: AT+CSCA=? Shows if the command is supported.
Parameters:
<sca>: String; GSM 04.11 RP SC address-value field in string format. BCD numbers are
converted to characters in the currently selected TE character set.