This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NRF9160: socket stall forever when making modem offline with GPS

I have encountered problem that i'm not really sure how to even debug for more info.

Steps to reproduce:
1. Enable modem with both LTE and GPS. GPS priority flag is set.
2. Disable modem with lte_lc_offline() function before LTE_LC_NW_REG_REGISTERED_HOME event occures).

This will stall code forever on first nrf_setsockopt call forever. In my app it is usually `stop_gps` from `nrf9160_gps.c` driver.
If modem was able to connect to network (LTE_LC_NW_REG_REGISTERED_HOME event occurred) before disabling everything works file.


I'm using:

- sdk-nrf - 1.6.0
- nrfxlib - 1.6.0

 - zephyr  v2.6.0-rc1-ncs1

Parents Reply Children
No Data
Related