Hi nordic. I want to turn on and off the modem of the nrf9160 when I'm not using it. When I am using it, I am using your FTP library to sent sensor data to my server.
Here is the problem, If I do this for example:
//First inited from prj conf so it starts connected lte_lc_offline(); lte_lc_init_and_connect(); //This is fine so far, it can go offline and online once. //Here is where it doesnt work anymore lte_lc_offline(); lte_lc_init_and_connect();
On the last lte_lc_init_and_connect(); I get this:
E: Could not send AT command, error: 65536
which is an error code I havent found anywhere, it is, however, a power of 2, which is strange. 2^16 to be precise.
My question is: How do I turn on and off my modem for when I need to use it?
Kindest regards and gratitude