Set command

nRF91x1 Cellular AT Commands

The set command configures the power class of the device.v2.0.x≥2

The command returns ERROR when the given power class is not supported by the device.

Syntax:

%POWERCLASS=<powerclass>[,<mode>]

The set command parameter and its defined values are the following:

<powerclass>
Integer. Configured power class of the device.
3 – Power class 3. Maximum TX power level is 23 dBm.
5 – Power class 5. Maximum TX power level is 20 dBm.
<mode>
Integer. Command set mode. Optional.
0 – Value is stored to the modem's Non-volatile Memory (NVM) with the +CFUN=0 command. Default if <mode> is not present.
1 – Value is stored to the modem's One Time Programmable (OTP) memory.
CAUTION:
When power class is set with <mode> 1, it is permanent and cannot be changed.

The following command example sets the power class to 3:

AT%POWERCLASS=3
OK

The following command example sets the power class permanently to 5:

AT%POWERCLASS=5,1
OK