At+Cmgf - Command For Setting The Format Of Short Messages; Checking The Supported Format Of Short Messages - Huawei MG323 At Command Interface Specification

Gsm m2m module
Hide thumbs Also See for MG323:
Table of Contents

Advertisement

HUAWEI MG323 GSM M2M Module
AT Command Interface Specification
OK
stored on the SIM card.
11.2 AT+CMGF - Command for Setting the Format of
Short Messages
The AT+CMGF command sets the format of short messages for the device. The
format follows two modes, that is, the PDU mode and text mode (reserved; not
supported currently), which are determined by the <mode> parameter. For details
about the format of short messages in PDU mode, see the AT+CMGS Command.

11.2.1 Checking the Supported Format of Short Messages

Test
command
Function
Response
Parameter description
<mode>: numeric, which indicates the format of short messages.
Issue 02 (2010-11-23)
AT+CMGF=?
Checks the supported format of short messages.
In case of successful execution:
<CR><LF>+CMGF: (list of supported <mode>s)<CR><LF>
<CR><LF>OK<CR><LF>
In case of an error during command execution:
<CR><LF>ERROR<CR><LF>
In case of an error related to the MS: <CR><LF>+CMS ERROR:
<err><CR><LF>
0 (default value): PDU mode
1 text mode (not supported currently)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Commands for Short Messages
Delete all the short messages that are
158

Advertisement

Table of Contents
loading

Table of Contents