nRF Connect SDK API 2.8.99
|
int lte_lc_ptw_set | ( | enum lte_lc_lte_mode | mode, |
const char * | ptw ) |
#include <include/modem/lte_lc.h>
Set the Paging Time Window (PTW) value to be used with eDRX.
eDRX can be requested using lte_lc_edrx_req(). PTW is set individually for LTE-M and NB-IoT.
Requesting a specific PTW configuration should be done with caution. The requested value must be compliant with the eDRX value that is configured, and it is usually best to let the modem use default PTW values.
For reference to which values can be set, see subclause 10.5.5.32 of 3GPP TS 24.008.
CONFIG_LTE_LC_EDRX_MODULEto be enabled.
[in] | mode | LTE mode to which the PTW value applies. |
[in] | ptw | Paging Time Window value as a null-terminated string. Set to NULL to use modem's default value. |
0 | if successful. |
-EINVAL | if an input parameter was invalid. |