Setting EDRx

Hi,

I am trying to set EDRx en LOG_INF the result using following code:

static struct lte_lc_edrx_cfg drx_cfg;

//enable EDRx
LOG_INF("== Setting EDRx ==");
lte_lc_edrx_req (true);
lte_lc_edrx_param_set (LTE_LC_LTE_MODE_LTEM, NULL);
lte_lc_edrx_get (&drx_cfg);
LOG_INF("== drx_cfg.edrx (eDRX interval in seconds): %f",  drx_cfg.edrx);
LOG_INF(" == drx_cfg.ptw (Paging time window in seconds): %f",  drx_cfg.ptw);

Resulting in output:

[00:00:38.473,785] <inf> A:  == drx_cfg.edrx (eDRX interval in seconds): *float*

[00:00:38.473,815] <inf> A: == drx_cfg.ptw (Paging time window in seconds): *float*

So I get "*float*" and not the values. It seems the network also does not set edrx.

What am I doing wrong?

Best regards,

Mart

Parents Reply Children
No Data
Related