Set command

The set command sets country-specific data. 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.

Syntax:

%XCOUNTRYDATA= <oper>,[<country_1>][,country_2>]…|,country_70]

where <country_x> contains <act>,<mcc>,<band>,<earfcn>[,band_2,earfcn_2]..[,band_5,earfcn_5].

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

<oper>
0 – Delete stored country data
1 – Store country data
<act>
4 – Evolved Terrestrial Radio Access Network (E-UTRAN) (WB-S1 mode)
5 – E-UTRAN (NB-S1 mode)
<mcc>
Integer. Mobile Country Code (MCC)s defined by ITU-T.
<band>
Integer, 1–71. See 3GPP 36.101.
<earfcn>
Integer. E-UTRA Absolute Radio Frequency Channel Number (EARFCN) as defined in 3GPP TS 36.101.
0 – EARFCN not specified

The following command example writes two country elements. In the first country element, <act> is LTE-M, <mcc> is 244, <band> is 3, and <earfcn> is 1207. In the second country element, <act> is Narrowband Internet of Things (NB-IoT), <mcc> is 212, <band> is 20, and <earfcn> is 6150, <band> is 13, without specific <earfcn>:

AT%XCOUNTRYDATA=1,”4,244,3,1207”, “5,242,20,6175,13,0”
OK

The following command example deletes existing country data from the modem:

AT%XCOUNTRYDATA=0
OK