![Quectel UG Series Скачать руководство пользователя страница 115](http://html.mh-extra.com/html/quectel/ug-series/ug-series_command-manual_772151115.webp)
UMTS/HSPA Module Series
WCDMA UGxx AT Commands Manual
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 114 / 247
Example
AT+CSMS=?
//Test command
+CSMS: (0,1)
OK
AT+CSMS=1
//Set type of message service as 1
+CSMS: 1,1,1
OK
AT+CSMS?
//Read command
+CSMS: 1,1,1,1
OK
9.2. AT+CMGF Message Format
AT+CMGF specifies the input and output format of the short messages.
<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
+CSCS
to inform the character set to be used in the message body in the TA-TE interface.
<service>
setting 1 is mentioned under corresponding command
description-s)
<mt>
Mobile terminated messages
0
Type not supported
1
Type supported
<mo>
Mobile originated messages
0
Type not supported
1
Type supported
<bm>
Broadcast type messages
0
Type not supported
1
Type supported
AT+CMGF Message Format
Test Command
AT+CMGF=?
Response
+CMGF:
(list of supported
<mode>
s)
OK
Quectel
Confidential