- Support portal
- Evaluation Kits and partner products
u-blox Support
- Product documentation
Documentation
- About
- Sustainability
- Partners and Alliances
- Contact
About u-blox
- Investor relations
Investor relations
+UPSV | ||||||
Modules | LEXI-R10401D-00B LEXI-R10801D-00B | |||||
Attributes | Syntax | PIN required | Settings saved | Can be aborted | Response time | Error reference |
partial | No | No | - |
Sets the UART power saving configuration, but it has a global effect on the module power saving configuration. When the power saving is enabled, the module automatically enters the low power idle mode whenever possible, reducing the power consumption. Three different and incremental levels of power saving are supported, called deep-sleep modes (Sleep-1, Sleep-2, Hibernate). For further details, see the system integration manual [UBX-23008149].
If the power saving is disabled (+UPSV: 0), the UART interface is always enabled and the module does not enter any deep-sleep mode.
When power saving is enabled using <mode>=1, the UART interface is enabled and the module does not enter any deep-sleep mode before the <timeout> parameter. Receiving data on the UART interface or pressing PWR_ON input line keeps awake the module for another <timeout> since last character received or last PWR_ON press. To wake up the module it is necessary to press the PWR_ON input line.
When power saving is enabled using <mode>=5, the UART interface is enabled and the module does not enter any deep-sleep mode as long as the properly configured GPIO is high.
Type | Syntax | Response | Example |
---|---|---|---|
Generic syntax | |||
Set | AT+UPSV=[<mode>[,<timeout>[,<max_sleep_mode>]]] | OK | AT+UPSV=0 OK |
Power saving disabling | |||
Set | AT+UPSV=0 | OK | AT+UPSV=0 OK |
Power saving controlled by the UART RX line | |||
Set | AT+UPSV=1[,<timeout>[,<max_sleep_mode>]] | OK | AT+UPSV=1,5000,4 OK |
Power saving controlled by the GPIO input | |||
Set | AT+UPSV=5[,<timeout>[,<max_sleep_mode>]] | OK | AT+UPSV=5,5000,3 OK |
Read | AT+UPSV? | +UPSV: <mode> OK | +UPSV: 0 OK |
Test | AT+UPSV=? | +UPSV: (list of supported <mode>s), (range of allowed timeout values) OK | +UPSV: (0,1,5),(200-65535),(2-4) OK |
Parameter | Type | Description |
---|---|---|
<mode> | Number | Power saving configurations:
|
<timeout> | Number | Sets inactivity timeout after which the module returns to power saving state. The allowed range is 200-65535 (expressed in ms). If the parameter is omitted, timeout value is set to 5000. |
<max_sleep_mode> | Number | Maximum achievable deep-sleep mode. Allowed values:
For the default value, see Notes. |
The module does not enter any deep-sleep mode if the UART AT interface is in SMS mode or raw mode.
The module is allowed to enter up to Sleep-1 mode if the UART AT interface is in direct link mode.
The module is allowed to enter up to Sleep-1 mode if the UART or USB AT interface is in data mode (PPP dial-up).
In <mode>=1, when the module is in any deep-sleep mode, the UART RX line cannot wake up the module.
In <mode>=1, the PWR_ON input line must not be asserted for too much time otherwise it triggers a power off sequence. For the PWR_ON input line timings, see the corresponding module data sheet [UBX-23007594].
In <mode>=1 and in case of +USIO: 1, the last character received from the UART is the one determining the actual <timeout> time before entering the deep-sleep mode.
To enable power saving using <mode>=5, GPIO3 must be already configured with <GPIO_mode>=34, see +UGPIOC AT command. If the GPIO is high, the UART interface is enabled and the module does not enter any deep-sleep mode; then, when the GPIO gets low, the module enters a deep-sleep mode as soon as possible and the UART interface is disabled.
In <mode>=5, <timeout> parameter is not used, even if it is included in the set command.
In case of +UUSBSLPCONF=0, only <max_sleep_mode>=2 is allowed. If it is omitted, the default value is set to <max_sleep_mode>=2.
In case of +UUSBSLPCONF=1 or USB disabled by +UUSBCONF=99 all <max_sleep_mode> values are allowed. If the parameter is omitted, the default value is set to <max_sleep_mode>=4.
Use a SIM card with PIN check disabled (see +CLCK AT command) if power saving is used with <max_sleep_mode>=3 or <max_sleep_mode>=4.
The DTE can runtime prevent the module from entering specific deep-sleep modes by issuing the +USLPVOTE AT command.
+CPSMS | ||||||
Modules | LEXI-R10401D-00B LEXI-R10801D-00B | |||||
Attributes | Syntax | PIN required | Settings saved | Can be aborted | Response time | Error reference |
partial | Yes | NVM / OP | No |
Controls the setting of the UEs Power Saving Mode (PSM) parameters. The command controls whether the UE wants to apply PSM or not, as well as:
The requested extended periodic RAU value in GERAN/UTRAN
The requested GPRS READY timer value in GERAN/UTRAN
The requested extended periodic TAU value in E-UTRAN
The requested Active Time value.
The +CPSMS <mode> parameter defines whether the Power Saving Mode (PSM) feature usage is requested to the network.
If Power Saving Mode (PSM) is requested (+CPSMS: 1) and granted by the network, i.e. Active Time has been assigned, PSM deep-sleep can be entered: after the expiry of the assigned Active Time (T3324) every SW and HW component on the device powers down except for the real time clock (RTC) (notified via the +UUPSMR URC if enabled). It stays powered down until the expiry of the assigned extended periodic TAU value (T3412_ext) or the assigned periodic TAU value (T3412) (if the former has not been assigned) or an early wake-up event (which consists in a proper toggling of the PWR_ON input line).
PSM deep-sleep is not entered if PSM is disabled (+CPSMS: 0) or not granted by the network.
Check whether the Active Time and the extended periodic TAU have been assigned to the UE by means of the AT+CEREG=4 AT command.
The assigned extended periodic TAU value and periodic TAU value can be checked by means of the AT+UCGED=8 AT command.
See the +UPSCONFIG AT command to enable “PSM without network coordination”: this feature allows to enter PSM even if Power Saving Mode is not granted by the network.
Type | Syntax | Response | Example |
---|---|---|---|
Set | AT+CPSMS=[<mode>[,<Requested_Periodic_RAU>[,<Requested_GPRS_READY_timer>[,<Requested_Periodic_TAU>,[<Requested_Active_Time>]]]]] | OK | AT+CPSMS=1,,,"01000011","01000011" OK |
Read | AT+CPSMS? | +CPSMS: <mode>,[<Requested_Periodic_RAU>],[<Requested_GPRS_READY_timer>],[<Requested_Periodic_TAU>],[<Requested_Active_Time>] OK | +CPSMS: 1,,,"01000011","01000011" OK |
Test | AT+CPSMS=? | +CPSMS: (list of supported <mode>s),(list of supported <Requested_Periodic_RAU>s),(list of supported <Requested_GPRS_READY_timer>s),(list of supported <Requested_Periodic_TAU>s),(list of supported <Requested_Active_Time>s) OK | +CPSMS: (0,1,2),,,("00000000"-"11111111"),("00000000"-"11111111") OK |
Parameter | Type | Description |
---|---|---|
<mode> | Number | Indication to disable or enable the use of PSM in the UE. Allowed values:
Factory-programmed value:
|
<Requested_Periodic_RAU> | String | One byte in an 8 bit format. Requested extended periodic RAU value (T3312_ext) to be allocated to the UE in GERAN/UTRAN. The requested extended periodic RAU value is coded as one byte (octet 3) of the GPRS Timer 3 information element coded as bit format (e.g. "01000111" equals 70 hours). For the coding and the value range, see the GPRS Timer 3 IE in 3GPP TS 24.008 table 10.5.163a/3GPP TS 24.008 [24.008]. See also 3GPP TS 23.682 [24.008]. See also 3GPP TS 23.682 [23.682] and 3GPP TS 23.060 [23.060]. The factory-programmed value is:
|
<Requested_GPRS_READY_timer> | String | One byte in an 8 bit format. Requested GPRS READY timer value (T3314) to be allocated to the UE in GERAN/UTRAN. The requested GPRS READY timer value is coded as one byte (octet 2) of the GPRS Timer information element coded as bit format (e.g. "01000011" equals 3 decihours or 18 minutes). For the coding and the value range, see the GPRS Timer IE in 3GPP TS 24.008 table 10.5.172/3GPP TS 24.008 [24.008]. See also 3GPP TS 23.060 [23.060]. The factory-programmed value is:
|
<Requested_Periodic_TAU> | String | One byte in an 8 bit format. Requested extended periodic TAU value (T3412_ext) to be allocated to the UE in E-UTRAN. The requested extended periodic TAU value is coded as one byte (octet 3) of the GPRS Timer 3 information element coded as bit format (e.g. "01000111" equals 70 hours). 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 [24.008]. See also 3GPP TS 23.682 [23.682] and 3GPP TS 23.401 [23.401].
|
<Requested_Active_Time> | String | One byte in an 8 bit format. Requested Active Time value (T3324) to be allocated to the UE in GERAN/UTRAN or in EUTRAN. The requested Active Time value is coded as one byte (octet 3) of the GPRS Timer 2 information element coded as bit format (e.g. "00100100" equals 4 minutes). 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 [24.008]. See also 3GPP TS 23.682 [23.682], 3GPP TS 23.060 [23.060] and 3GPP TS 23.401 [23.401].
|
The <mode> parameter is mandatory.
The <Requested_Periodic_RAU> and <Requested_GPRS_READY_timer> parameters are not supported and must be left empty.
The PIN insertion is not mandatory before the command execution.
The maximum achievable deep-sleep level is configured independently from the PSM feature by +UPSV AT command. For more details, see the corresponding application development guide.
+UPSMR | ||||||
Modules | LEXI-R10401D-00B LEXI-R10801D-00B | |||||
Attributes | Syntax | PIN required | Settings saved | Can be aborted | Response time | Error reference |
full | No | No | - |
Enables or disables the URC that conveys information on deep-sleep (RTC-only) mode states, i.e. deep-sleep entry, exit and notification if there is some embedded SW client or peripheral activity postponing the entrance into deep-sleep mode. See +UPSMVER to check the available deep-sleep mode options.
Type | Syntax | Response | Example |
---|---|---|---|
Set | AT+UPSMR=<mode> | OK | AT+UPSMR=1 OK |
Read | AT+UPSMR? | +UPSMR: <mode> OK | +UPSMR: 1 OK |
Test | AT+UPSMR=? | +UPSMR: (list of supported <mode>s) OK | +UPSMR: (0-1) OK |
Generic syntax | |||
URC | +UUPSMR: <state>[,<param1>] | +UUPSMR: 1 | |
Module exiting deep-sleep mode | |||
URC | +UUPSMR: 0 | +UUPSMR: 0 | |
Module entering deep-sleep mode | |||
URC | +UUPSMR: 1[,<image>] | +UUPSMR: 1,1 | |
Client preventing deep-sleep mode entry (<state>=2 or <state>=3) | |||
URC | +UUPSMR: <state>,<client_id> | +UUPSMR: 2,2 |
Parameter | Type | Description |
---|---|---|
<mode> | Number | Indication to disable or enable the +UUPSMR URC:
|
<state> | Number | Indication of the state of the module with respect to deep-sleep mode:
Allowed values:
|
<image> | Number | Identifies the FW image loaded when exiting deep-sleep mode:
|
<client_id> | Number | Identifies the deep-sleep client that is preventing the module from entering deep-sleep mode: |
<param1> | Number | Supported content depends on the related <state> (details are given above). |
The <image> and <client_id> parameters are not supported.
The URC is printed at PSM entry (<state>=1) and exit (<state>=0).
+USLPURC | ||||||
Modules | LEXI-R10401D-00B LEXI-R10801D-00B | |||||
Attributes | Syntax | PIN required | Settings saved | Can be aborted | Response time | Error reference |
Full | No | No | - |
Enables or disables URCs to be sent when the module enters and exits deep-sleep modes. For further details about entering deep-sleep modes, see the +UPSV AT command and the System Integration Manual [UBX-23008149].
The command settings are stored in the profile. Issue the AT&W AT command to save the command setting.
Type | Syntax | Response | Example |
---|---|---|---|
Set | AT+USLPURC=<deep_sleep_mode>,<enable_urc> | OK | AT+USLPURC="SLEEP1",1 OK |
Read | AT+USLPURC? | +USLPURC: <deep_sleep_mode>,<enable_urc> OK | +USLPURC: "SLEEP1":0,"SLEEP2":0,"HIBNATE":0 OK |
Test | AT+USLPURC=? | +USLPURC: (list of supported <deep_sleep_mode>s),(list of supported <enable_urc> values) OK | +USLPURC: ("SLEEP1","SLEEP2","HIBNATE"),(0-1) OK |
URC | +UUSLPURC: <deep_sleep_mode_short> <mode_transition> | +UUSLPURC: HIB 1 |
Parameter | Type | Description |
---|---|---|
<deep_sleep_mode> | String | Configures URCs related to the selected deep-sleep mode:
|
<enable_urc> | Number | Enables or disables URC when the module enters and exits the selected <deep_sleep_mode>:
|
<deep_sleep_mode_short> | String | Deep-sleep mode indication in URC:
|
<mode_transition> | Number | Deep-sleep mode transition:
|
Sleep URCs are discarded on the AT interfaces with an ongoing command. The URCs are normally issued on all the other AT interfaces.
+USLPVOTE | ||||||
Modules | LEXI-R10401D-00B LEXI-R10801D-00B | |||||
Attributes | Syntax | PIN required | Settings saved | Can be aborted | Response time | Error reference |
full | No | No | No | - |
Allows the DTE to prevent the module from entering the specified deep-sleep mode (the maximum achievable deep-sleep level is configured with +UPSV AT command).
In case the DTE votes down for Sleep-2/Hibernate on one or more AT terminals, the module can enter Sleep-1 mode.
In case the DTE votes down for Sleep-1 on one or more AT terminals, the module will not enter any deep-sleep mode.
All negative votes are counted and their number determines the module behavior, but it is possible to clear all votes with a single AT command issued on any AT terminal.
Type | Syntax | Response | Example |
---|---|---|---|
Set | AT+USLPVOTE=<op_cmd>,<param>[,<reset_vote_state>] | OK | AT+USLPVOTE=0,0 OK |
Read | AT+USLPVOTE? | +USLPVOTE: <current_voted_state>,<vote_cnt>,<configured_vote_state> OK | +USLPVOTE: 3,2,3 OK |
Test | AT+USLPVOTE=? | +USLPVOTE: 0,(list of supported <vote> values) +USLPVOTE: 1,(list of supported <configured_vote_state> values),(list of <reset_vote_state> modes) OK | +USLPVOTE: 0,(0-2) +USLPVOTE: 1,(2-3),(0-1) OK |
Parameter | Type | Description |
---|---|---|
<op_cmd> | Number | Voting operation:
|
<param> | Number | Voting mode when <op_cmd>=0:
<configured_vote_state> when <op_cmd>=1:
|
<reset_vote_state> | Number | Optional parameter to allow change of <configured_vote_state> only when <op_cmd>=1:
|
<current_voted_state> | Number | Current actual voted state value:
|
<vote_cnt> | Number | Number of votes against current voted state:
|
<configured_vote_state> | Number | Configured vote state value (terminal specific):
|