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>])]

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

String. Mobile Country Code (MCC) and Mobile Network Code (MNC) values. Only numeric string formats supported.
0 – Unknown
1 – Available
2 – Current
3 – Forbidden
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 example command is used for a manual network search:

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