We are using nrf9160 and Modem firmware 1.2.3. This might be a regression of this bug.
Our concept is to switch the modem on via lte_lc_connect_async(), exchange some MQTT messages and then go back to low power idle by switching the modem off via. lte_lc_offline().
On the 30th cycle (31st time switching the modem on after power-on reset), we suddenly fail to get a LTE connection and run into our timeout handling. All subsequent tries also fail.
Attached you can find a trace of the last successful connection cycle (29.log) and the first unsuccessful cycle (30.log).
[00:17:19.126,464] [0m<inf> modem_manager: Periodic wake up 29[0m [00:17:19.126,739] [0m<inf> datastore: Ignoring Event 0x104: 0[0m [00:17:29.128,570] [0m<inf> modem_manager: Battery state of charge: 95[0m [00:17:29.130,096] [0m<inf> modem_manager: Powering on modem for forced upload...[0m [00:17:29.130,432] [0m<inf> datastore: Ignoring Event 0x201: 0[0m [00:17:29.130,676] [0m<inf> modem_manager: Trying to connect to LTE network[0m [00:17:29.130,981] [0m<dbg> lte_lc.lte_lc_system_mode_set: Sending AT command to set system mode: AT%XSYSTEMMODE=0,1,1,0[0m [00:17:29.131,408] [0m<dbg> at_cmd.at_write: Sending command AT%XSYSTEMMODE=0,1,1,0[0m [00:17:29.137,969] [0m<dbg> at_cmd.at_write: Awaiting response for AT%XSYSTEMMODE=0,1,1,0[0m [00:17:29.139,038] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 5 bytes, OK [0m [00:17:29.139,343] [0m<dbg> at_cmd.at_write: Bytes sent: 22[0m [00:17:29.139,617] [0m<dbg> at_cmd.at_write: Sending command AT+CFUN=1[0m [00:17:29.139,923] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:29.140,258] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:29.146,148] [0m<dbg> at_cmd.at_write: Awaiting response for AT+CFUN=1[0m [00:17:29.174,926] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 5 bytes, OK [0m [00:17:29.175,262] [0m<dbg> at_cmd.at_write: Bytes sent: 9[0m [00:17:29.175,537] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:29.175,842] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:38.013,549] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 58 bytes, +CEREG: 2,"C382","01B2240A",9,0,0,"11100000","11100000" [0m [00:17:38.014,068] [0m<dbg> lte_lc.at_handler: +CEREG notification: +CEREG: 2,"C382","01B2240A",9,0,0,"11100000","11100000" [0m [00:17:38.014,770] [0m<dbg> lte_lc.parse_psm_cfg: TAU: -1 sec, active time: -1 sec [0m [00:17:38.015,136] [0m<inf> modem_manager: LTE_LC_EVT_NW_REG_STATUS: 2[0m [00:17:38.015,411] [0m<inf> modem_manager: LTE_LC_EVT_CELL_UPDATE id: 28451850 tac: 50050[0m [00:17:38.015,808] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:38.016,113] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:38.311,889] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 12 bytes, +CSCON: 1 [0m [00:17:38.312,255] [0m<dbg> lte_lc.at_handler: +CSCON notification[0m [00:17:38.312,622] [0m<inf> modem_manager: LTE_LC_EVT_RRC_UPDATE: 1[0m [00:17:38.312,927] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:38.313,262] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:41.189,819] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 56 bytes, +CEREG: 5,"C382","01B2240A",9,,,"11100000","01011111" [0m [00:17:41.190,307] [0m<dbg> lte_lc.at_handler: +CEREG notification: +CEREG: 5,"C382","01B2240A",9,,,"11100000","01011111" [0m [00:17:41.190,979] [0m<dbg> lte_lc.parse_psm_cfg: TAU: 1116000 sec, active time: -1 sec [0m [00:17:41.191,406] [0m<inf> modem_manager: LTE_LC_EVT_NW_REG_STATUS: 5[0m [00:17:41.191,711] [0m<dbg> at_cmd.at_write: Sending command AT%XCBAND[0m [00:17:41.192,016] [0m<dbg> at_cmd.so[00:17:41.192,260] [0m<dbg> at_cmd.at_write: Awaiting response for AT%XCBAND[0m cket_thread_fn: Allocating memory slab for AT socket[0m [00:17:41.192,749] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:41.193,054] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 17 bytes, %XCBAND: 8 OK [0m [00:17:41.193,420] [0m<dbg> at_cmd.at_write: Bytes sent: 9[0m [00:17:41.193,756] [0m<dbg> at_cmd.at_write: Sending command AT%XCBAND=?[0m [00:17:41.194,091] [0m<dbg> at_cmd.so[00:17:41.194,335] [0m<dbg> at_cmd.at_write: Awaiting response for AT%XCBAND=?[0m cket_thread_fn: Allocating memory slab for AT socket[0m [00:17:41.194,824] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:41.195,129] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 56 bytes, %XCBAND: (1,2,3,4,5,8,12,13,17,19,20,25,26,28,66) OK [0m [00:17:41.195,617] [0m<dbg> at_cmd.at_write: Bytes sent: 11[0m [00:17:41.195,892] [0m<dbg> at_cmd.at_write: Sending command AT+CGDCONT?[0m [00:17:41.196,228] [0m<dbg> at_cmd.so[00:17:41.196,472] [0m<dbg> at_cmd.at_write: Awaiting response for AT+CGDCONT?[0m cket_thread_fn: Allocating memory slab for AT socket[0m [00:17:41.196,960] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:41.197,265] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 56 bytes, +CGDCONT: 0,"IP","iot.1nce.net","100.70.44.4",0,0 OK [0m [00:17:41.197,723] [0m<dbg> at_cmd.at_write: Bytes sent: 11[0m [00:17:41.198,211] [0m<dbg> at_cmd.at_write: Sending command AT+CEMODE?[0m [00:17:41.198,547] [0m<dbg> at_cmd.socket_thread_fn: Allocating me[00:17:41.198,913] [0m<dbg> at_cmd.at_write: Awaiting response for AT+CEMODE?[0m mory slab for AT socket[0m [00:17:41.199,340] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:41.199,645] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 17 bytes, +CEMODE: 0 OK [0m [00:17:41.200,012] [0m<dbg> at_cmd.at_write: Bytes sent: 10[0m [00:17:41.200,378] [0m<dbg> at_cmd.at_write: Sending command AT+COPS?[0m [[00:17:41.200,805] [0m<dbg> at_cmd.at_write: Awaiting response for AT+COPS?[0m 00:17:41.200,714] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:41.201,446] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:41.201,721] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 27 bytes, +COPS: 0,2,"26201",9 OK [0m [00:17:41.202,117] [0m<dbg> at_cmd.at_write: Bytes sent: 8[0m [00:17:41.202,514] [0m<dbg> at_cmd.at_write: Sending command AT+CEREG?[0m [[00:17:41.202,941] [0m<dbg> at_cmd.at_write: Awaiting response for AT+CEREG?[0m 00:17:41.202,850] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:41.203,582] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:41.203,887] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 62 bytes, +CEREG: 5,5,"C382","01B2240A",9,,,"11100000","01011111" OK [0m [00:17:41.204,376] [0m<dbg> at_cmd.at_write: Bytes sent: 9[0m [00:17:41.204,895] [0m<dbg> at_cmd.at_write: Sending command AT+CEREG?[0m [00[00:17:41.205,322] [0m<dbg> at_cmd.at_write: Awaiting response for AT+CEREG?[0m :17:41.205,230] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:41.205,963] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:41.206,268] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 62 bytes, +CEREG: 5,5,"C382","01B2240A",9,,,"11100000","01011111" OK [0m [00:17:41.206,756] [0m<dbg> at_cmd.at_write: Bytes sent: 9[0m [00:17:41.207,305] [0m<dbg> at_cmd.at_write: Sending command AT%XSYSTEMMODE?[0m [00:17:41.[00:17:41.207,794] [0m<dbg> at_cmd.at_write: Awaiting response for AT%XSYSTEMMODE?[0m 207,641] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:41.208,404] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:41.208,679] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 28 bytes, %XSYSTEMMODE: 0,1,1,0 OK [0m [00:17:41.209,075] [0m<dbg> at_cmd.at_write: Bytes sent: 15[0m [00:17:41.209,503] [0m<dbg> at_cmd.at_write: Sending command AT%XSYSTEMMODE?[0m [[00:17:41.209,930] [0m<dbg> at_cmd.at_write: Awaiting response for AT%XSYSTEMMODE?[0m 00:17:41.209,838] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:41.210,601] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:41.210,876] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 28 bytes, %XSYSTEMMODE: 0,1,1,0 OK [0m [00:17:41.211,273] [0m<dbg> at_cmd.at_write: Bytes sent: 15[0m [00:17:41.211,639] [0m<dbg> at_cmd.at_write: Sending command AT%XSYSTEMMODE?[0m [[00:17:41.212,097] [0m<dbg> at_cmd.at_write: Awaiting response for AT%XSYSTEMMODE?[0m 00:17:41.212,005] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:41.212,738] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:41.213,043] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 28 bytes, %XSYSTEMMODE: 0,1,1,0 OK [0m [00:17:41.213,439] [0m<dbg> at_cmd.at_write: Bytes sent: 15[0m [00:17:41.213,806] [0m<dbg> at_cmd.at_write: Sending command AT+CGDCONT?[0m [[00:17:41.214,233] [0m<dbg> at_cmd.at_write: Awaiting response for AT+CGDCONT?[0m 00:17:41.214,141] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:41.214,874] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:41.215,179] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 56 bytes, +CGDCONT: 0,"IP","iot.1nce.net","100.70.44.4",0,0 OK [0m [00:17:41.215,637] [0m<dbg> at_cmd.at_write: Bytes sent: 11[0m [00:17:41.216,125] [0m<dbg> at_cmd.at_write: Sending command AT%XSIM?[0m [[00:17:41.216,552] [0m<dbg> at_cmd.at_write: Awaiting response for AT%XSIM?[0m 00:17:41.216,461] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:41.217,193] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:41.217,468] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 15 bytes, %XSIM: 1 OK [0m [00:17:41.217,834] [0m<dbg> at_cmd.at_write: Bytes sent: 8[0m [00:17:41.218,200] [0m<dbg> at_cmd.at_write: Sending command AT+CRSM=176,12258,0,0,10[0m [00:17:41.218,[00:17:41.218,780] [0m<dbg> at_cmd.at_write: Awaiting response for AT+CRSM=176,12258,0,0,10[0m 566] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:41.219,360] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:41.238,616] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 42 bytes, +CRSM: 144,0,"98888260660020892915" OK [0m [00:17:41.239,044] [0m<dbg> at_cmd.at_write: Bytes sent: 24[0m [00:17:41.239,471] [0m<dbg> at_cmd.at_write: Sending command AT+CIMI[0m [[00:17:41.239,868] [0m<dbg> at_cmd.at_write: Awaiting response for AT+CIMI[0m 00:17:41.239,776] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:41.240,509] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:41.240,814] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 22 bytes, 901405100298925 OK [0m [00:17:41.241,180] [0m<dbg> at_cmd.at_write: Bytes sent: 7[0m [00:17:41.241,546] [0m<dbg> at_cmd.at_write: Sending command AT+CGMR[0m [[00:17:41.241,943] [0m<dbg> at_cmd.at_write: Awaiting response for AT+CGMR[0m 00:17:41.241,851] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:41.242,584] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:41.242,889] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 24 bytes, mfw_nrf9160_1.2.3 OK [0m [00:17:41.243,255] [0m<dbg> at_cmd.at_write: Bytes sent: 7[0m [00:17:41.243,591] [0m<dbg> at_cmd.at_write: Sending command AT%XVBAT[0m [[00:17:41.244,018] [0m<dbg> at_cmd.at_write: Awaiting response for AT%XVBAT[0m 00:17:41.243,927] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:41.244,659] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:41.244,964] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 19 bytes, %XVBAT: 4375 OK [0m [00:17:41.245,330] [0m<dbg> at_cmd.at_write: Bytes sent: 8[0m [00:17:41.245,666] [0m<dbg> at_cmd.at_write: Sending command AT+CGSN[0m [[00:17:41.246,063] [0m<dbg> at_cmd.at_write: Awaiting response for AT+CGSN[0m 00:17:41.245,971] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:41.246,704] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:41.247,009] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 22 bytes, 352656100353419 OK [0m [00:17:41.247,375] [0m<dbg> at_cmd.at_write: Bytes sent: 7[0m [00:17:41.247,711] [0m<inf> modem_manager: cellposition mcc 262 mnc 1 lac 50050 cellid 28451850[0m [00:17:41.248,107] [0m<inf> modem_manager: LTE_LC_EVT_PSM_UPDATE tau: 1116000 active_time: -1[0m [00:17:41.248,474] [0m<inf> datastore: Ignoring Event 0x202: 0[0m [00:17:41.248,748] [0m<inf> modem_manager: Connected to LTE network[0m [00:17:41.249,084] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:41.250,183] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:49.465,362] [0m<dbg> moto_cloud.moto_mqtt_evt_handler: MQTT_EVT_CONNACK: 0[0m [00:17:49.465,667] [0m<inf> modem_manager: CLOUD_EVT_CONNECTED[0m [00:17:49.466,583] [0m<inf> datastore: Written 38 bytes for 2 records[0m [00:17:49.468,322] [0m<inf> moto_cloud: mqtt_input: 0[0m [00:17:49.468,627] [0m<inf> modem_manager: Transmission ok for 38 bytes[0m [00:17:50.057,952] [0m<dbg> moto_cloud.moto_mqtt_evt_handler: MQTT_EVT_SUBACK: id=88 result=0[0m [00:17:50.058,288] [0m<inf> datastore: Ignoring Event 0x404: 0[0m [00:17:50.059,600] [0m<inf> moto_cloud: mqtt_input: 0[0m [00:17:50.540,496] [0m<dbg> moto_cloud.moto_mqtt_evt_handler: MQTT_EVT_PUBLISH: id=0 len=0 topic=$aws/things/%s/shadow/get[0m [00:17:50.540,954] [0m<inf> moto_cloud: mqtt_input: 0[0m [00:17:50.621,093] [0m<dbg> moto_cloud.moto_mqtt_evt_handler: MQTT_EVT_PUBLISH: id=0 len=2 topic=embedded/%s/delta[0m [00:17:50.621,643] [0m<inf> datastore: Ignoring Event 0x410: 0[0m [00:17:50.621,917] [0m<inf> datastore: Ignoring Event 0x401: 0[0m [00:17:50.622,192] [0m<inf> moto_cloud: Nothing new in received shadow from cloud[0m [00:17:50.622,528] [0m<inf> moto_cloud: mqtt_input: 0[0m [00:17:50.725,341] [0m<dbg> moto_cloud.moto_mqtt_evt_handler: MQTT_EVT_DISCONNECT: result=0[0m [00:17:50.725,677] [0m<inf> modem_manager: CLOUD_EVT_DISCONNECTED[0m [00:17:51.726,074] [0m<dbg> at_cmd.at_write: Sending command AT+CFUN=4[0m [00:17:51.732,604] [0m<dbg> at_cmd.at_write: Awaiting response for AT+CFUN=4[0m [00:17:52.440,063] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 58 bytes, +CEREG: 0,"C382","01B2240A",9,0,0,"11100000","11100000" [0m [00:17:52.440,582] [0m<dbg> lte_lc.at_handler: +CEREG notification: +CEREG: 0,"C382","01B2240A",9,0,0,"11100000","11100000" [0m [00:17:52.441,284] [0m<dbg> lte_lc.parse_psm_cfg: TAU: -1 sec, active time: -1 sec [0m [00:17:52.441,680] [0m<inf> modem_manager: LTE_LC_EVT_NW_REG_STATUS: 0[0m [00:17:52.441,955] [0m<inf> modem_manager: LTE_LC_EVT_PSM_UPDATE tau: -1 active_time: -1[0m [00:17:52.442,321] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:52.442,626] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:52.530,273] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 12 bytes, +CSCON: 0 [0m [00:17:52.530,639] [0m<dbg> lte_lc.at_handler: +CSCON notification[0m [00:17:52.531,005] [0m<inf> modem_manager: LTE_LC_EVT_RRC_UPDATE: 0[0m [00:17:52.531,311] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:52.531,646] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:52.559,570] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 5 bytes, OK [0m [00:17:52.559,906] [0m<dbg> at_cmd.at_write: Bytes sent: 9[0m [00:17:52.560,180] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:17:52.560,577] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:17:52.561,096] [0m<inf> modem_manager: Going back to sleep[0m
[00:17:57.561,645] [0m<inf> modem_manager: Periodic wake up 30[0m [00:17:57.561,920] [0m<inf> datastore: Ignoring Event 0x104: 0[0m [00:18:07.563,751] [0m<inf> modem_manager: Battery state of charge: 95[0m [00:18:07.565,277] [0m<inf> modem_manager: Powering on modem for forced upload...[0m [00:18:07.565,612] [0m<inf> datastore: Ignoring Event 0x201: 0[0m [00:18:07.565,856] [0m<inf> modem_manager: Trying to connect to LTE network[0m [00:18:07.566,162] [0m<dbg> lte_lc.lte_lc_system_mode_set: Sending AT command to set system mode: AT%XSYSTEMMODE=0,1,1,0[0m [00:18:07.566,589] [0m<dbg> at_cmd.at_write: Sending command AT%XSYSTEMMODE=0,1,1,0[0m [00:18:07.573,150] [0m<dbg> at_cmd.at_write: Awaiting response for AT%XSYSTEMMODE=0,1,1,0[0m [00:18:07.574,218] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 5 bytes, OK [0m [00:18:07.574,523] [0m<dbg> at_cmd.at_write: Bytes sent: 22[0m [00:18:07.574,798] [0m<dbg> at_cmd.at_write: Sending command AT+CFUN=1[0m [00:18:07.575,103] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:18:07.575,439] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:18:07.581,329] [0m<dbg> at_cmd.at_write: Awaiting response for AT+CFUN=1[0m [00:18:07.610,107] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 5 bytes, OK [0m [00:18:07.610,443] [0m<dbg> at_cmd.at_write: Bytes sent: 9[0m [00:18:07.610,717] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:18:07.611,053] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:18:08.956,054] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 58 bytes, +CEREG: 2,"C382","01B2240A",9,0,0,"11100000","11100000" [0m [00:18:08.956,573] [0m<dbg> lte_lc.at_handler: +CEREG notification: +CEREG: 2,"C382","01B2240A",9,0,0,"11100000","11100000" [0m [00:18:08.957,275] [0m<dbg> lte_lc.parse_psm_cfg: TAU: -1 sec, active time: -1 sec [0m [00:18:08.957,672] [0m<inf> modem_manager: LTE_LC_EVT_NW_REG_STATUS: 2[0m [00:18:08.957,977] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:18:08.958,312] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:19:07.610,778] [0m<inf> datastore: Ignoring Event 0x204: 1[0m [00:19:07.611,022] [1;31m<err> modem_manager: lte_lc_connect timed out: -11[0m [00:20:12.567,138] [1;31m<err> modem_manager: timeout while waiting for shadow sync. Disconnecting anyway.[0m [00:20:12.567,504] [0m<dbg> at_cmd.at_write: Sending command AT+CFUN=4[0m [00:20:12.574,035] [0m<dbg> at_cmd.at_write: Awaiting response for AT+CFUN=4[0m [00:20:12.586,791] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 58 bytes, +CEREG: 0,"C382","01B2240A",9,0,0,"11100000","11100000" [0m [00:20:12.587,310] [0m<dbg> lte_lc.at_handler: +CEREG notification: +CEREG: 0,"C382","01B2240A",9,0,0,"11100000","11100000" [0m [00:20:12.588,012] [0m<dbg> lte_lc.parse_psm_cfg: TAU: -1 sec, active time: -1 sec [0m [00:20:12.588,378] [0m<inf> modem_manager: LTE_LC_EVT_NW_REG_STATUS: 0[0m [00:20:12.588,714] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:20:12.589,019] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:20:12.741,302] [0m<dbg> at_cmd.socket_thread_fn: at_cmd_rx 5 bytes, OK [0m [00:20:12.741,607] [0m<dbg> at_cmd.at_write: Bytes sent: 9[0m [00:20:12.741,882] [0m<dbg> at_cmd.socket_thread_fn: Allocating memory slab for AT socket[0m [00:20:12.742,279] [0m<dbg> at_cmd.socket_thread_fn: Allocation done[0m [00:20:12.742,828] [0m<inf> modem_manager: Going back to sleep[0m