8.4 AT+SNWS Manual Network Selection
The AT^SNWS command is similar to AT+COPS. The major advantage of AT^SNWS is the
Description:
ability to scan all frequency bands supported, while AT+COPS is always determined by the band
most recently used and, therefore, starts searching either across the GSM 900 / GSM 1800
bands or across the GSM 850 / GSM 1900 bands. So AT^SNWS allows the subscriber to
manually select a specific provider from all these bands.
This means the AT^SNWS write command forces an attempt to select and register to the given
operator. The procedure may take a few seconds depending on the amount of visible networks.
If the selected operator is not found, the ME returns an error.
The AT^SNWS test command enforces a multiple band scan in order to find all available
networks. The scanning procedure may take a few seconds depending on the amount of visible
networks. During this time the serving cell will be lost because of band changing. After the scan
the ME reverts to the previously used network. The test command returns a list of all operators
currently available. The response consists of several sets of five parameters, where each set is
representing a visible operator. Each set contains the following information:
•
•
•
•
Any of the parameters may be unavailable and will then be an empty field (,,).
The operator list is followed by a list of the supported <mode>s and <format>s. These lists are delimited from the
operator list by two commas.
Test Command Syntax:
Responses:
Write Command Syntax:
Responses:
Parameter Descriptions:
<opStatus>
Status
0
unknown
1
Operator available
2
Current operator
3
Operator forbidden
<oper>
Operator
If test command: Operator name in long alphanumeric format, short alphanumeric format and numeric format.
If write command: Operator name in numeric format.
<mode>
1
Manual operator selection
Write command requires <oper> in numeric format, i.e. <format> shall be 2.
<format>
2
Numeric format of <oper>. This is the GSM Location Area Identification (LAI) number, which
consists of the 3-digit Mobile Country Code (MCC) plus the 2- or 3-digit Mobile Network Code
(MNC).
Notes
•
It is not recommended to use the AT^SNWS command before passing the CHV (card holder verification) / SIM
PIN1 verification. Also, the test command should only be used after PIN1 authentication.
•
As stated above the AT^SNWS test and write commands cause the ME to deregister and re-register during
scanning. Therefore, if Unsolicited Result Code presentation is activated with AT+CREG adequate "+CREG:"
URCs will be generated each time the registration state changes. If URC presentation is enabled on the same
interface where AT^SNWS is running all URCs will be output after the execution of AT^SNWS has finished. If
URC presentation is enabled on another interface the URCs will be output in parallel to AT^SNWS command
execution.
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371G)
an integer indicating the availability of the operator,
long alphanumeric format of the operator's name,
short alphanumeric format of the operator's name,
numeric format representation of the operator
AT^SNWS=?
^SNWS: [list of present operators (<opStatus>, long alphanumeric <oper>s, short
alphanumeric <oper>s, numeric <oper>s ], , (list of supported <mode>s), (list of supported
<format>s)
OK
ERROR
+CME ERROR: <err>
AT^SNWS=<mode>[, <format>[, <oper>]]
OK
ERROR
+CME ERROR: <err>
Chapter 8 – Network Service Commands
102
Need help?
Do you have a question about the MultiModem EDGE and is the answer not in the manual?