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:

<oper>
String. Mobile Country Code (MCC) and Mobile Network Code (MNC) values. Only numeric string formats supported.
<stat>
0 – Unknown
1 – Available
2 – Current
3 – Forbidden
<AcT>
7 – E-UTRAN
9 – E-UTRAN (NB-S1 mode)
Note:
  • 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:

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