HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for Short Messages

(the parameter related to the number of the SMSC in the PDU). For details about the PDU format, see the AT+CMGS Command.

11.10.1 Checking Whether the Command Is Available

Test AT+CSCA=? command

Function Checks whether the command is available.

Response z In case of available command: <CR><LF>OK<CR><LF>

zIn case of unavailable command: <CR><LF>ERROR<CR><LF>

zIn case of an error related to the MS: <CR><LF>+CMS ERROR: <err><CR><LF>

11.10.2Reading the Currently Registered Number of the SMSC

Read AT+CSCA? command

Function Reads the currently registered number of the SMSC.

Response z When the SMSC has been registered:

<CR><LF>+CSCA: <sca>,<tosca><CR><LF> <CR><LF>OK<CR><LF>

zWhen the SMSC has not been registered: <CR><LF>OK<CR><LF>

zIn case of an error during command execution: <CR><LF>ERROR<CR><LF>

zIn case of an error related to the MS: <CR><LF>+CMS ERROR: <err><CR><LF>

Note:

When the number of the SMSC is left empty, the returned value of <sca> is null.

Parameter description

<sca>: string, which indicates the number of the SMSC. The number consists of “*”, “#”, “+”, and “0”–“9”, and contains not more than 20 characters (excluding the “+” symbol) in length. It is saved upon power failure.

<tosca>: numeric, saved upon power failure, which indicates the number type. The value 145 indicates an international number. For detailed values, see the definitions of type_addr.

<type_addr>: number address type, which consists of two characters. The following figure shows the structure of <type_addr>.

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

174

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 191
Image 191
Huawei MG323 manual Checking Whether the Command Is Available, Reading the Currently Registered Number of the Smsc