#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] | tau | Periodic TAU interval in seconds. A non-negative integer. |
[out] | active_time | Active time in seconds. A non-negative integer, or -1 if PSM is deactivated. |
- Return values
-
0 | if successful. |
-EINVAL | if input argument was invalid. |
-EFAULT | if AT command failed. |
-EBADMSG | if no active time and/or TAU value was received, including the case when modem is not registered to network. |