This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to use PSM and eDRX mode in custom code?

Hi,

We are using nRF9160 and want to use PSM & eDRX mode in one of our project.
We referred 'Asset tracker Application' & found that lte_lc_psm_req() and lte_lc_edrx_req() are APIs to activate/deactivate corresponding modes.
Please correct me if I am wrong here.

Using above mentioned 2 APIs require changes in prj.conf & Kconfig.
But, as we are customisig our code from the scratch, we dont have Kconfig file.

Can you please tell us how to prepare these files & how to add them in a project ?


Thank You,
shital

Parents Reply
  • Hi,

    Thanks for contributing with solution.

    We tried PSM and eDRX APIs in our customized code (from the scratch) by modifing prj.conf file, as suggested by you. It compiles good without warning and error.

    Now I am curios to test the PSM / eDRX modes, but my city doesn't have LTE Cat-M1 / NB-IoT network.

    - Is it possible to test PSM / eDRX mode without the network ?
    Please suggest me a way, if it is possible.

    - If the network is available, please suggest me a way/setup to cross check that the device is in PSM/eDRX mode?

    Thank You,
    Shital

Children
Related