HUAWEI MG323 GSM M2M Module
AT Command Interface Specification Commands for Short Messages
Issue 02 (2010-11-23) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd. 158
OK Delete all the short messages that are
stored on the SIM card.
11.2 AT+CMGF - Command for Setting the Format of Short Messages
The AT+C MGF 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+C MGS Command.

11.2.1 Checking the Supported Format of Short Messages

Test
command
AT+CMGF=?
Function Checks the supported format of short messages.
Response z In case of successful execution:
<CR><LF>+CMGF: (list of supported <mode>s)<CR><LF>
<CR><LF>OK<CR><LF>
z In case of an error during command execution:
<CR><LF>ERROR<CR><LF>
z In case of an error related to the MS: <CR><LF>+CMS ERROR:
<err><CR><LF>
Parameter description
<mode>: numeric, which indicates the format of short messages.
z 0 (default value): PDU mode
z 1 text mode (not supported currently)