Test command

The test command searches the mobile network and returns a list of operators found. If the search is interrupted, the search returns existing results and the list may be incomplete.

Response syntax:

+COPS: [(<stat>,long alphanumeric <oper>,short alphanumeric <oper>,numeric <oper>[,<AcT>])]
516 – Radio connection is active.
521 – Public Land Mobile Network (PLMN) search interrupted, partial results.

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

String of digits. Mobile Country Code (MCC) and Mobile Network Code (MNC) values.
0 – Unknown
1 – Available
2 – Current
3 – Forbidden
7 – Evolved Terrestrial Radio Access Network (E-UTRAN)
9 – E-UTRAN (NB-S1 mode)
  • The command fails if the device has an active radio connection. It returns ERROR or +CME ERROR: 516.
  • The time needed to perform a network search depends on device configuration and network conditions.

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

+COPS: (2,"","","26201",7),(1,"","","26202",7)