![]() |
nRF Connect SDK API 3.3.99
|
| int lte_lc_edrx_req | ( | bool | enable | ) |
#include <include/modem/lte_lc.h>
Request modem to enable or disable use of eDRX.
eDRX parameters can be set using CONFIG_LTE_EDRX_REQ_VALUE_LTE_M, CONFIG_LTE_EDRX_REQ_VALUE_NBIOT, CONFIG_LTE_PTW_VALUE_LTE_M and CONFIG_LTE_PTW_VALUE_NBIOT, or by calling lte_lc_edrx_param_set() and lte_lc_ptw_set().
For reference see 3GPP 27.007 Ch. 7.40.
CONFIG_LTE_EDRX_REQ can be set to enable eDRX, which is generally sufficient. This option allows explicit disabling/enabling of eDRX requesting after modem initialization. Calling this function for run-time control is possible, but it should be noted that conflicts may arise with the value set by CONFIG_LTE_EDRX_REQ if it is called during modem initialization.CONFIG_LTE_LC_EDRX_MODULE to be enabled.| [in] | enable | true to enable eDRX, false to disable eDRX. |
| 0 | if successful. |
| -EFAULT | if AT command failed. |