nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ lte_lc_psm_get()

int lte_lc_psm_get ( int * tau,
int * active_time )

#include <include/modem/lte_lc.h>

Get the current PSM (Power Saving Mode) configuration.

Note
Requires
CONFIG_LTE_LC_PSM_MODULE 
to be enabled.
Parameters
[out]tauPeriodic TAU interval in seconds. A non-negative integer.
[out]active_timeActive time in seconds. A non-negative integer, or -1 if PSM is deactivated.
Return values
0if successful.
-EINVALif input argument was invalid.
-EFAULTif AT command failed.
-EBADMSGif no active time and/or TAU value was received, including the case when modem is not registered to network.