nRF Connect SDK API 0.1.0
|
int lte_lc_psm_get | ( | int * | tau, |
int * | active_time | ||
) |
#include <include/modem/lte_lc.h>
Get the current PSM (Power Saving Mode) configuration.
[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. |
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. |