nrf9160

Test command

The test command searches the Public Land Mobile Network (PLMN) and returns a list of operators found.

The command is similar to the +COPS command with the exception that the %COPS test command is considered a high priority search. This means that, for example, data transfer is suspended, pagings lost, and registration is not maintained. In other words, the search is not delayed because of any other procedure.

Response syntax:

%COPS: [(<stat>,long alphanumeric <oper>,short alphanumeric <oper>,numeric <oper>[,<AcT>])]

The test command parameters and their defined values are the following:

<oper>
String of digits. Mobile Country Code (MCC) and Mobile Network Code (MNC) values.
<stat>
0 – Unknown
1 – Available
2 – Current
3 – Forbidden
<AcT>
7 – Evolved Terrestrial Radio Access Network (E-UTRAN)
9 – E-UTRAN (NB-S1 mode)

The following command example is used for a manual network search:

AT%COPS=?
%COPS: (2,"","","26201",7),(1,"","","26202",7)
OK