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

◆ lte_lc_ptw_set()

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.

Note
Requires
CONFIG_LTE_LC_EDRX_MODULE 
to be enabled.
Parameters
[in]modeLTE mode to which the PTW value applies.
[in]ptwPaging Time Window value as a null-terminated string. Set to NULL to use modem's default value.
Return values
0if successful.
-EINVALif an input parameter was invalid.