Motorola AT Commands G24-L Información técnica Pagina 164

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 522
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 163
SMS
3-88 AT Commands Reference Manual January 31, 2007
+CMGF, Message Format
This command is a basic command. The Set command handles the selection of the message
format used with send, list, read and write commands, as well as the format of unsolicited result
codes resulting from message receipts. The G24 supports both PDU mode (where entire TP data
units are used) and text mode (where the body of the message and its headers are given as
separate parameters).
The following table shows the +CMGF parameters.
Example
AT+CMGF=1
OK
AT+CMGF?
+CMGF: 1
OK
AT+CMGF=?
+CMGF: (0,1)
OK
+CSCA, Service Center Address
This command handles the selection of the SCA and the TOSCA. The SCA is the phone number
of the SC (Service Center). The TOSCA can be 129 (local) or 145 (international), where 129 is
the default value. The TOSCA parameter of the Set command is optional, and can be omitted. If
the SCA parameter of the Set command is prefixed by the "+" character, it indicates that TOSCA
is 145.
Command Type Syntax Response/Action Remarks
Set
+CMGF=<mode> OK
or:
+CMS ERROR: <err>
The Set command sets the message
format to use.
Read
+CMGF? +CMGF:<mode>
The Read command displays the
current message format.
Test
+CMGF=? +CMGF:(list of
supported <mode>s)
The Test command lists all the
supported message formats.
Table 3-46: +CMGF Parameters
<Parameter> Description
<mode> Message format:
0 PDU mode (default)
1 Text mode
Vista de pagina 163
1 2 ... 159 160 161 162 163 164 165 166 167 168 169 ... 521 522

Comentarios a estos manuales

Sin comentarios