Hi all,
Hoping someone can shine some light on these logs from a dev-edition monitor one. Specifically, I've been working on developing our file-backed logging strategy. This includes char[]
buffers being opened, written, appended to, and read through the LittleFS API per the docs. Notably, our app appears to have continued running throughout (albeit in a limited capacity) based on the timestamps and continued output via RS-485 and IO relay. While logging these errors, the status LED is bouncing between rapid cyan, rapid green, and an occasional pair of orange pulses corresponding with the 'internet test failed' log. Eventually it does self-recover, but after a while, without rebooting, it loses access to the session data in persistent storage and the whole process repeats. Is there anything I could be doing in the filesystem inadvertently that could explain this? I have used the DFU reset approach to wipe the 4MB flash section, but my understanding was that Device-OS had a separate 4MB section that the user firmware couldn't access.
Thanks!
0003833906 [system] WARN: Failed to load session data from persistent storage
0003849274 [system] ERROR: Failed to determine server address
0003849274 [system] WARN: Cloud socket connection failed: -230
0003854842 [system] WARN: Internet test failed: network
0003854842 [system] WARN: Handling cloud error: 2
0003854843 [system] INFO: Cloud: connecting
0003854849 [system] WARN: Failed to load session data from persistent storage
0003870274 [system] ERROR: Failed to determine server address
0003870274 [system] WARN: Cloud socket connection failed: -230
0003876950 [system] WARN: Internet test failed: network
0003876950 [system] WARN: Handling cloud error: 2
0003876952 [system] INFO: Cloud: connecting
0003876956 [system] WARN: Failed to load session data from persistent storage
0003892274 [system] ERROR: Failed to determine server address
0003892274 [system] WARN: Cloud socket connection failed: -230
0003894237 [system] WARN: Internet available, cloud not reachable
0003894237 [system] WARN: Handling cloud error: 3
0003894338 [system] INFO: Cloud: connecting
0003894341 [system] WARN: Failed to load session data from persistent storage
0003901120 [system] INFO: Cloud socket connected
0003901120 [comm.protocol.handshake] INFO: Establish secure connection
0003901126 [comm.dtls] INFO: (CMPL,RENEG,NO_SESS,ERR) restoreStatus=2
0003908318 [comm.protocol.handshake] INFO: Sending HELLO message
0003908663 [comm.protocol.handshake] INFO: Handshake completed
0003908663 [comm.dtls] INFO: session cmd (CLS,DIS,MOV,LOD,SAV): 4
0003908665 [comm.dtls] INFO: session cmd (CLS,DIS,MOV,LOD,SAV): 3
0003910760 [comm.protocol] INFO: Sending subscriptions
0003912774 [comm.dtls] INFO: session cmd (CLS,DIS,MOV,LOD,SAV): 4
0003913856 [comm.dtls] INFO: session cmd (CLS,DIS,MOV,LOD,SAV): 3
0003913958 [comm.protocol] INFO: Received TIME response: 1743630916
0003914160 [comm.protocol] INFO: Received DESCRIBE request; flags: 0x02
0003914521 [comm.dtls] INFO: session cmd (CLS,DIS,MOV,LOD,SAV): 4
0003914522 [comm.dtls] INFO: session cmd (CLS,DIS,MOV,LOD,SAV): 3
0003915664 [comm.protocol] INFO: Received DESCRIBE request; flags: 0x04
0003917055 [comm.dtls] INFO: session cmd (CLS,DIS,MOV,LOD,SAV): 4
0003917057 [comm.dtls] INFO: session cmd (CLS,DIS,MOV,LOD,SAV): 3
0003917370 [comm.dtls] INFO: session cmd (CLS,DIS,MOV,LOD,SAV): 4
0003917372 [comm.dtls] INFO: session cmd (CLS,DIS,MOV,LOD,SAV): 3
0003917474 [system] INFO: Cloud connected