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
  • Dear Lukasz Duda,

    I tried again and followed the Nordic instructions here, but I got the same errors like I posted above:

    Building the library with GCC on Windows

    1. Download or clone the OpenThread stack repository to the /external/openthread/project/openthread folder.
    2. Run the build_gcc_libs.bat script to build all of the libraries.
    3. After the libraries are built, use the provided script (/external/openthread/project/import_gcc_libs.bat) to copy the compiled libraries to the output folder.
    4. Copy the /external/project/openthread/include folder into the /external/openthread folder.
    5. Now you can recompile the examples with the latest libraries.
Reply
  • Dear Lukasz Duda,

    I tried again and followed the Nordic instructions here, but I got the same errors like I posted above:

    Building the library with GCC on Windows

    1. Download or clone the OpenThread stack repository to the /external/openthread/project/openthread folder.
    2. Run the build_gcc_libs.bat script to build all of the libraries.
    3. After the libraries are built, use the provided script (/external/openthread/project/import_gcc_libs.bat) to copy the compiled libraries to the output folder.
    4. Copy the /external/project/openthread/include folder into the /external/openthread folder.
    5. Now you can recompile the examples with the latest libraries.
Children
No Data
Related