Hi,
I have been running thingy91 to learn more about nRF_Connect SDK and the assets tracker project.
I did all the beginner-level steps, hardware setup, nRF cloud setup and it was working fine up until few days ago.
I only programmed the fw build from git for this Asses_tracker_v2, which didn't work, then I reprogrammed the pre-built fw along with modem firmware via nRF Connect Desktop's Cellular Monitor App.
I selected Modem Firmware v1.3.5 AssestTrackerV2 version.
After programming, I read the details via Monitor:
FW: mfw_nrf9160_1.3.5
HW: nRF9160 SICA B1A
Here are the snippets of serial logs.
/*********************************** Logs *************************************/
*** Booting Zephyr OS build v3.2.99-ncs2 ***
[00:00:01.524,688] <inf> app_event_manager: APP_EVT_START
[00:00:01.539,031] <inf> app_event_manager: DATA_EVT_CONFIG_INIT
[00:00:01.539,733] <inf> app_event_manager: MODEM_EVT_INITIALIZED
[00:00:01.624,023] <inf> app_event_manager: MODEM_EVT_LTE_CONNECTING
%CESQ: 49,2,10,1
+CEREG: 2,"36D0","0112BC2A",7
+CSCON: 1
[00:00:03.539,093] <inf> app_event_manager: MODEM_EVT_LTE_CELL_UPDATE
+CGEV: ME PDN ACT 0,0
+CNEC_ESM: 50,0
%MDMEV: SEARCH STATUS 2
+CEREG: 5,"36D0","0112BC2A",7,,,"00001010","01011111"
%XTIME: "80","42906090101580","01"
[00:00:04.824,066] <inf> app_event_manager: MODEM_EVT_LTE_CONNECTED
[00:00:04.825,195] <inf> app_event_manager: CLOUD_EVT_CONNECTING
[00:00:04.939,361] <inf> app_event_manager: MODEM_EVT_LTE_PSM_UPDATE
[00:00:04.940,032] <inf> app_event_manager: DATA_EVT_DATE_TIME_OBTAINED
%CESQ: 46,2,5,0
%CESQ: 48,2,10,1
%CESQ: 47,2,5,0
%CESQ: 47,2,11,1
%CESQ: 46,2,6,0
[00:00:34.830,230] <inf> app_event_manager: CLOUD_EVT_CONNECTING
%CESQ: 47,2,12,1
[00:00:36.825,256] <inf> app_event_manager: CLOUD_EVT_CONNECTION_TIMEOUT
[00:00:36.825,927] <inf> app_event_manager: CLOUD_EVT_CONNECTING
%CESQ: 51,2,18,2
%CESQ: 49,2,12,1
%CESQ: 44,2,5,0
%CESQ: 46,2,11,1
%CESQ: 49,2,16,2
%CESQ: 50,2,11,1
%CESQ: 46,2,6,0
%CESQ: 47,2,11,1
%CESQ: 45,2,6,0
[00:01:06.839,782] <inf> app_event_manager: CLOUD_EVT_CONNECTING
%CESQ: 47,2,13,1
+CSCON: 0
+CEREG: 5,"36D0","0112BC29",7,,,"00001010","01011111"
[00:01:15.218,872] <inf> app_event_manager: MODEM_EVT_LTE_CELL_UPDATE
%CESQ: 255,0,255,0
%CESQ: 48,2,15,2
%MDMEV: SEARCH STATUS 2
+CSCON: 1
[00:01:40.825,927] <inf> app_event_manager: CLOUD_EVT_CONNECTION_TIMEOUT
[00:01:40.826,599] <inf> app_event_manager: CLOUD_EVT_CONNECTING
%CESQ: 51,2,10,1
%CESQ: 52,2,16,2
[00:02:10.840,454] <inf> app_event_manager: CLOUD_EVT_CONNECTING
+CSCON: 0
%CESQ: 255,0,255,0
%CESQ: 46,2,8,1
%MDMEV: SEARCH STATUS 2
+CSCON: 1
[00:03:48.826,629] <inf> app_event_manager: CLOUD_EVT_CONNECTION_TIMEOUT
[00:03:48.827,301] <inf> app_event_manager: CLOUD_EVT_CONNECTING
%CESQ: 50,2,14,2
%CESQ: 51,2,9,1
%CESQ: 51,2,15,2
[00:04:18.840,789] <inf> app_event_manager: CLOUD_EVT_CONNECTING
+CSCON: 0
%CESQ: 255,0,255,0
%CESQ: 50,2,18,2
%MDMEV: SEARCH STATUS 2
+CSCON: 1
%CESQ: 50,2,13,1
[00:08:04.827,301] <inf> app_event_manager: CLOUD_EVT_CONNECTION_TIMEOUT
[00:08:04.827,972] <inf> app_event_manager: CLOUD_EVT_CONNECTING
%CESQ: 53,2,18,2
%CESQ: 52,2,11,1
%CESQ: 52,2,16,2
[00:08:34.840,545] <inf> app_event_manager: CLOUD_EVT_CONNECTING
+CSCON: 0
%CESQ: 255,0,255,0
%CESQ: 50,2,19,2
%MDMEV: SEARCH STATUS 2
+CSCON: 1
%CESQ: 49,2,14,2
[00:16:36.827,972] <inf> app_event_manager: CLOUD_EVT_CONNECTION_TIMEOUT
[00:16:36.828,643] <inf> app_event_manager: CLOUD_EVT_CONNECTING
%CESQ: 50,2,19,2
%CESQ: 50,2,14,2
%CESQ: 50,2,19,2
> at AT
ERROR
[00:17:06.841,217] <inf> app_event_manager: CLOUD_EVT_CONNECTING
%CESQ: 50,2,14,2
%CESQ: 49,2,19,2
+CSCON: 0
/*------------------------------------------------------------------------------------------*/
From the logs, it always generated even "CLOUD_EVT_CONNECTION_TIMEOUT", but I don't see any error or warning.
Could the cloud service not have much time to connect because LTE cell updates keep interrupting? Or low Signal quality? But I'm not sure, since I'm just a beginner.
I need help on this. How do I check where the issue is?
Is there a command or logs I can enable to check the real reason behind this?
I checked the network status, and certificates (AT%CMNG), and they are all there, the device is registered on of cloud as well (as a few days ago it was sending data, and its sim and cloud limit is not been reached yet), but shows no data as its not connecting.
Any help or suggestion would be highly appreciated.
Best Regards.