nrf9160

Read command

The read command reads the current mobile network.

Response syntax:

+COPS: <mode>[,<format>,<oper>,[AcT>]]

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

<mode>
0 – Automatic network selection
1 – Manual network selection
2 – Deregistered. Only for the read command.
<format>
0 – Long alphanumeric <oper> format
1 – Short alphanumeric <oper> format
2 – Numeric <oper> format
<oper>
String in double quotes. Operator name or Mobile Country Code (MCC) and Mobile Network Code (MNC) values.
<AcT>
7 – Evolved Terrestrial Radio Access Network (E-UTRAN)
9 – E-UTRAN (NB-S1 mode)

The following command example reads the current selection mode and network:

AT+COPS?
+COPS: 0,2,"26201",7
OK

The following command example reads the current selection mode and network with the operator name in alphanumeric format:

AT+COPS?
+COPS: 0,0,"RADIOLINJA",7
OK