Huawei MG323 Recording Equipment User Manual


 
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.
174
(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
command
AT+CSCA=?
Function
Checks whether the command is available.
Response
z
In case of available command: <CR><LF>OK<CR><LF>
z
In case of unavailable command: <CR><LF>ERROR<CR><LF>
z
In case of an error related to the MS: <CR><LF>+CMS ERROR:
<err><CR><LF>
11.10.2 Reading the Currently Registered Number of the SMSC
Read
command
AT+CSCA?
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>
z
When the SMSC has not been registered: <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>
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>.