HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for Short Messages

OK

Delete all the short messages that are

stored on the SIM card.

 

11.2AT+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

AT+CMGF=?

command

 

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.

z0 (default value): PDU mode

z1 text mode (not supported currently)

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

158

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 175
Image 175
Huawei MG323 manual Checking the Supported Format of Short Messages, Delete all the short messages that are, At+Cmgf=?