Huawei MG323 Recording Equipment User Manual


 
HUAWEI MG323 GSM M2M Module
AT Command Interface Specification Commands for Data Services
Issue 02 (2010-11-23)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
132
9.10 AT+CGSMS - Command for Selecting the MO SMS
Bearer Domain
The AT+CGSMS command sets the MT SMS bearer domain.
9.10.1 Querying the Supported SMS Bearer Domains
Test
command
AT+CGSMS=?
Function
Queries the supported SMS bearer domains.
Response
z
In case of successful execution:
<CR><LF>+CGSMS:(list of supported <service>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 MT during command execution:
<CR><LF>+CME ERROR: <err><CR><LF>
Parameter description
<service>: numeric parameter.
z
0: GPRS
z
1: CS domain
z
2: GPRS is preferred (if GPRS is unavailable, CS domain is used.)
z
3 (default value): CS domain is preferred (if CS domain is unavailable, GPRS is
used.)
9.10.2 Reading the Current SMS Bearer Domain
Read
command
AT+CGSMS?
Function
Reads the current settings.
Response
z
In case of successful execution:
<CR><LF>+CGSMS:< service><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 MT: <CR><LF>+CME ERROR:
<err><CR><LF>