nRF Connect SDK API 0.1.0
|
int lte_lc_psm_param_set | ( | const char * | rptau, |
const char * | rat | ||
) |
#include <include/modem/lte_lc.h>
Set modem PSM parameters.
Requested periodic TAU (RPTAU) and requested active time (RAT) are used when PSM mode is subsequently enabled using lte_lc_psm_req(). These are the requested values and network determines the final values.
For encoding of the variables, see nRF AT Commands Reference Guide, 3GPP 27.007 Ch. 7.38., and 3GPP 24.008 Ch. 10.5.7.4a and Ch. 10.5.7.3.
[in] | rptau | Requested periodic TAU as a null-terminated 8 character long bit field string. Set to For example, value of 32400 s is represented as '00101001'. Bits 5 to 1 represent the binary coded timer value that is multiplied by timer unit. Bits 8 to 6 define the timer unit as follows:
|
[in] | rat | Requested active time as a null-terminated string. Set to For example, value of 120 s is represented as '00100010'. Bits 5 to 1 represent the binary coded timer value that is multiplied by timer unit. Bits 8 to 6 define the timer unit as follows:
|
0 | if successful. |
-EINVAL | if an input parameter was invalid. |