Huawei MG323 Recording Equipment User Manual


 
HUAWEI MG323 GSM M2M Module
AT Command Interface Specification Commands for Network Services
Issue 02 (2010-11-23)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
76
8.2.1 Checking the Current Available Network and Operator
Information
Test
command
AT+COPS=?
Function
Returns the current available network and operator information.
Response
z
In case of successful execution:
<CR><LF>+COPS: [list of present operators(<opStatus>,long
alphanumeric <oper>,short alphanumeric <oper>,numeric <oper>)],,(list
of supported <mode>),(list of supported <format>)<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>
Note:
It takes a long time for this command to query the current available network.
Parameter description
<mode>: network selection mode, whose values are as follows:
z
0 (default value): automatic mode (other parameters are omitted)
z
1: manual network searching
2: deregisters a network and maintains the network in unregistered state until
<mode>=0, 1, or 4 (This is not supported currently).
z
3: sets the value of <format> in the result returned by the READ command
z
4: combination of automatic and manual network searching modes. If manual
network searching fails, the automatic network searching mode is started.
< opStatus >: network status identifier, whose values are as follows:
z
0: unknown
z
1: available
z
2: currently registered
z
3: disabled
<format>: format of the operator information <oper>. The values of this parameter
are as follows:
z
0 (default value): operator information <oper> in long string format, which
consists of not more than 16 characters.
z
2: operator information <oper> in numeric format.
<oper>: operator information. In a test command, the operator name follows the long
string format and numeric format. In a read command, the operator name contains all
fields.