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

nrf9160 modem : Could not get response prefix, error: -22

Hello,

Developing on Zephyr 1.2 and modem fw 1.2.

Developing a client LTE application. If I run the below sequence of commands periodically every 2 min:

lte_lc_offline();
lte_lc_init();
lte_lc_connect();

 eventually lte_lc_connect(); returns the errors below.

 Could not get response prefix, error: -22
 Could not get network registration status

After this the modem seems to be stuck in a bad state , as I can't get it to reconnect to the network running the above sequence.

Is there a good way to recover that modem, and what does that error mean excactly?

Thank you.

Parents Reply Children
Related