HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for Short Messages

11.12.2 Reading the Current Message Service Type

Read

AT+CSMS?

command

 

Function

Reads the current message service type.

Response

z In case of successful execution:

 

<CR><LF>+CSMS: <service>,<mt>,<mo><bm><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

<mt>,<mo>,<bm>: integer values, which indicate whether the MT supports receiving short messages, sending short messages, and broadcasting message services respectively.

z0: does not support the preceding functions.

z1 (default value): supports the preceding functions.

11.12.3Setting the Message Service Type

Write

AT+CSMS=<service>

command

 

Function

Sets the message service type.

Response

z In case of successful execution:

 

<CR><LF>+CSMS:

 

<mt>,<mo>,<bm><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>

11.12.4 Examples

Example 1:

AT+CSMS=? +CSMS: (0)

OK

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

179

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 196
Image 196
Huawei MG323 Reading the Current Message Service Type, Setting the Message Service Type, Example AT+CSMS=? +CSMS, At+Csms?