Set command

The set command selects a mobile network automatically or manually. The command configuration is stored to Non-volatile Memory (NVM) approximately every 48 hours and when the modem is powered off with the +CFUN=0 command.

Active %XPOFWARN warning blocks the storing to NVM.v1.3.x≥2

Syntax:

+COPS=[<mode>[,<format>[,<oper>]]]

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

<mode>
0 – Automatic network selection
1 – Manual network selection
3 – Set <format> of +COPS read command response
<format>
0 – Long alphanumeric <oper> format. Only for <mode> 3.
1 – Short alphanumeric <oper> format. Only for <mode> 3.
2 – Numeric <oper> format
<oper>
String of digits. Mobile Country Code (MCC) and Mobile Network Code (MNC) values.

For manual selection, only the numeric string format is supported and <oper> is mandatory.

The following command example selects the automatic network selection:

AT+COPS=0
OK

The following command manually selects network 24407:

AT+COPS=1,2,"24407"
OK