golioth / reference-design-air-quality

Apache License 2.0
7 stars 0 forks source link

Firmware stops sending data to Golioth #8

Closed cdwilson closed 6 months ago

cdwilson commented 1 year ago

Occasionally the firmware gets into a weird state where it appears that the connection to Golioth is dropped.

image (3) image (2) image (1)

Additionally, after repeatedly attempting to reconnect to Golioth, in some cases it appears that the main thread completely stops running. The UART console still works, but the main loop that takes the sensor readings and transmits sensor data to Golioth appears to be suspended. See attached logs from two cases where this behavior was observed.

2023-03-10_crash.log 2023-03-14_crash.log

cdwilson commented 6 months ago

I haven't observed this behavior since upgrading the Golioth SDK from the deprecated golioth-zephyr-sdk to the new golioth-firmware-sdk.

I'll re-open this if I see this behavior again on the new SDK.