> 8.4 | AT^SNWS Network Selection

> The AT^SNWS command is smilar to AT+COPS. The major advantage of AT^SNWS is the ability to scan all frequency bands supported by TC65, 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 parameter sets, each representing a visible operator. Each set contains the following information:

> • | an integer indicating the availability of the operator,

> • | long alphanumeric format of the operator's name,

> • | empty field (,,) for short alphanumeric format of the operator's name,

> • | numeric format of the operator's name.

> 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.
> Command settings are effective over all serial interfaces of the TC65.
> Syntax

> Test Command AT^SNWS=?
> Response(s)
> ^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>

> Write Command AT^SNWS=<mode>, <format>, <oper>
> Response(s)
> OK
> ERROR
> +CME ERROR: <err>

> PIN |  | ASC0 | ASC1 | USB | MUX1 | MUX2 | MUX3 |  |  | Charge | Q | Last
> + |  | + | + | + | + | + | + |  |  | - | - | -

> Parameter Description

> <opStatus>(num)

> Status
> 0
> Unknown
> 1
> Operator available
> 2
> Current operator
> 3
> Operator forbidden

> <oper>(str)

> 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>(num)(&V)

> 1
> Manual operator selection

> <format>(num)(&W)(&V)

> 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.

> • | The AT^SNWS parameters <mode>, <format> and <oper> are identical with the parameters <mode>, <format> and <oper> in AT+COPS. This implies that the AT^SNWS write command may influence the settings of AT+COPS. So, after manually selecting a network with AT^SNWS you may use the AT+COPS read command to check the result.

> • | If the selected PLMN necessitates a radio band switch the AT^SNWS write command may automatically change the configured values of the preferred radio band(s) <rbp> and allowed radio band(s) <rba>. After using the AT^SNWS write command you may therefore want to check the radio band settings with AT^SCFG and set your preferred values where necessary.

> • | Notes specific to the AT^SNWS test command: As stated above the ME reverts to the network used before starting the AT^SNWS test command. Yet, in some cases, it is possible that the AT^SNWS test command response indicates a current operator (<opStatus> equals 2), which is not identical with the previously used operator. This may happen only if, during the scan procedure, the ME finds a home or roaming network and quickly registers to this network for a very short time before it reverts to the previously used network. In such case, the AT^SNWS test command response reflects only the interim value set during the scan procedure, but not the final value set after scanning has completed. To check the correct result, please use the AT+COPS read command.

> • | It is not recommended to use the AT^SNWS command when an active connection is established.