I am working on a program that uses both CoAP and GPS in the form of thread. Since both CoAP and GPS uses the modem, I have to turn it off so the other thread can use it. Working on v1.2.0 I can use these functions :
lte_lc_power_off(); lte_lc_offline(); lte_lc_deinit();
Which works on v1.2.0. But since I am using v1.3.1 , the first two functions give an error and the third function (deinit) is removed in v.1.3.1. To summarize I am looking for a way to turn off the modem in v1.3.1.