This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Losing cloud connection, Thread CoAP Cloud example (SDK 0.11.0)

Dear Thread-experts,

I have troubles with your Thread CoAP Cloud example. I am using:

  • Thread SDK V0.11.0
  • Border Router V0.11.0, ethernet (not Wi-Fi)
  • cloud_coap_client example, adapted that I send more data (buffer size =256bytes)
  • Eclipse
  • Preview DVK, V0.9.0

I observe that after a while (sometimes day, sometimes minutes), no data are sent to the cloud. I debugged and my FW is running find and I don't get any errors (function otCoapSendRequest() is executed without error). However, the data is not visible in the cloud. The only way to recover it is: erasing the FW on the Border Router Network-Co-Processor-Thread-Module (Preview DVK). After erasing and reprogramming the DVK with the NCP, I can send data again for a certain time, until it brakes down again.

What I have observed is: when I send only 64bytes (insted of 256bytes): it tends to run more stable (some samples are missing, but the system is recovering itself).

I send the 256bytes every 6 minutes.

How can I debug that issue in more detail?

Thank you, Reto

Parents
  • Hello RetoKeller,

    We haven't figure out yet, why you expirience such errors. Could you give us more details on your build environment? Which version of gcc, make, OS, you have installed?

    We will update HAL files in OpenThread according to your proposition. However the fact that also building of OpenThread libraries causes you some errors, indicates that you have some incompatible toolchains. The CI system of OpenThread builds libraries for nRF52840 successfully.

Reply
  • Hello RetoKeller,

    We haven't figure out yet, why you expirience such errors. Could you give us more details on your build environment? Which version of gcc, make, OS, you have installed?

    We will update HAL files in OpenThread according to your proposition. However the fact that also building of OpenThread libraries causes you some errors, indicates that you have some incompatible toolchains. The CI system of OpenThread builds libraries for nRF52840 successfully.

Children
No Data
Related