Boron loosing connection - ERROR: The other end has not replied to keep alives (TESTs) 5 times, considering muxed connection dead

I am working on a device that needs to wake and sleep at irregular intervals (often less than 10 minutes) so I am keeping the network connection alive when sleeping. This works very well time and again - until it does not. In looking at the logs, the issue seems to be related to keep alive tests. When these fail, the Boron (deviceOS@2.2.0) will re-establish the connection.

Here is what I have tried so far to identify the issue:

  1. Restored the Boron using the USB DFU re-imaging tool.
  2. Let Tinker run - and it keeps the cellular connection
  3. Wrote a simplified code base to exercise ULP sleep with network connection over and over again - worked just fine

Here is what the issue looks like in the monitor:

Serial connection closed.  Attempting to reconnect...
Serial monitor opened successfully:
0009364861 [app] INFO: Waking
0009364862 [app.ab1805] INFO: setWDT -1
0009364864 [app] INFO: From Napping to Idle
0009364864 [app] INFO: Occupied
0009364870 [app] INFO: From Idle to Reporting
0009403195 [gsm0710muxer] ERROR: The other end has not replied to keep alives (TESTs) 5 times, considering muxed connection dead
0009403196 [gsm0710muxer] INFO: GSM07.10 muxer thread exiting
0009403197 [system.nm] INFO: State changed: IP_CONFIGURED -> IFACE_UP
0009403199 [gsm0710muxer] INFO: Stopping GSM07.10 muxer
0009403199 [gsm0710muxer] INFO: GSM07.10 muxer stopped
0009403280 [app] INFO: {"occupancy":1, "dailyoccupancy":90, "battery":93,"key1":"Charged","temp":75, "resets":3, "alerts":20,"connecttime":1,"timestamp":1638498915000}
0009403292 [app] INFO: From Reporting to Connecting

and this is what it looks like when it works correctly:

Serial connection closed.  Attempting to reconnect...
Serial monitor opened successfully:
0000362545 [app] INFO: Waking
0000362545 [app.ab1805] INFO: setWDT -1
0000362547 [app] INFO: From Napping to Idle
0000362547 [app] INFO: Not Occupied
0000362553 [app] INFO: From Idle to Reporting
0000362672 [app] INFO: {"occupancy":0, "dailyoccupancy":90, "battery":93,"key1":"Charged","temp":75, "resets":3, "alerts":20,"connecttime":26,"timestamp":1638489875000}
0000362683 [app] INFO: From Reporting to Connecting

Any ideas what what could be causing this?

Thanks,

Chip

1 Like