nrf9160

Set command

The set command sets the power saving mode. Sets activity timer and Power Saving Mode (PSM) period after Non-access Stratum (NAS) signaling connection release. The command configuration is stored to Non-volatile Memory (NVM) approximately every 48 hours and when the modem is set to minimum functionality mode with the +CFUN=0 command.

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

Syntax:

+CPSMS=[<mode>[,<Requested_Periodic-RAU>,<Requested_GPRS-READY-timer>,
<Requested_Periodic-TAU-ext>[,<Requested_Active-Time>]]]

The command can be given as +CPSMS= (with all parameters omitted). In this form, the parameter <mode> is set to 0, the use of PSM is disabled, and data for all parameters is set to the manufacturer-specific default values.

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

<mode>
0 – Disable power saving mode
1 – Enable power saving mode
<Requested_Periodic-RAU>
Ignored
<Requested_GPRS-READY-timer>
Ignored
<Requested_Periodic-TAU-ext>
String. 1 byte in 8-bit format.
Indicates the extended periodic TAU value (T3412_EXT extended value) allocated to the device in E-UTRAN. For the coding and value range, see the GPRS Timer 3 IE in 3GPP TS 24.008 Table 10.5.163a/3GPP TS 24.008.
GPRS Timer 3 value (octet 3).
Bits 5 to 1 represent the binary coded timer value.
Bits 8 to 6 define the timer value unit for the General Packet Radio Services (GPRS) timer as follows:
Bits
8 7 6
0 0 0 – Value is incremented in multiples of 10 min
0 0 1 – Value is incremented in multiples of 1 h
0 1 0 – Value is incremented in multiples of 10 h
0 1 1 – Value is incremented in multiples of 2 s
1 0 0 – Value is incremented in multiples of 30 s
1 0 1 – Value is incremented in multiples of 1 min
1 1 0 – Value is incremented in multiples of 320 h
Note: Interpreted as 1 hour if the request sent to the network is not integrity protected. After registration, check the value given by the network (see +CEREG). If 1 hour unit is given, disable and enable PSM using commands +CPSMS=0 and +CPSMS=1.
1 1 1 – Value indicates that the timer is deactivated
Note: If the Universal Subscriber Identity Module (USIM) profile in use is a Verizon one, the minimum value for <Requested_Periodic-TAU-ext> is 190 minutes.
<Requested_Active-Time>
String. 1 byte in 8-bit format.
Optional. Timer value updated if present. If not present, the value of the requested Active-Time is set to the manufacturer-specific default. For the coding and value range, see the GPRS Timer 2 IE in 3GPP TS 24.008 Table 10.5.163/3GPP TS 24.008.
GPRS Timer 2 value (octet 3).
Bits 5 to 1 represent the binary coded timer value.
Bits 8 to 6 define the timer value unit for the GPRS timer as follows:
Bits
8 7 6
0 0 0 – Value is incremented in multiples of 2 s
0 0 1 – Value is incremented in multiples of 1 min
0 1 0 – Value is incremented in multiples of 6 min
1 1 1 – Value indicates that the timer is deactivated

The following command example enables power saving mode and set timer values. Set Periodic-TAU timer to 10 minutes and Active-Time to 1 minute:

AT+CPSMS=1,"","","10101010","00100001"
OK

The following command example disables power saving mode:

AT+CPSMS=0
OK

The following command example disables power saving mode and sets timer to default values:

AT+CPSMS=
OK