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
  • Thank you Lukasz Duda.

    1. No I do not have a Thread sniffer. What do you mean exactly by that? Is there something on the market available? Or do I need to be ThreadGroup member for getting one? Or can I build one by myself?

    2. I haven't built the OpenThread library myself ever. It is quite an effort I think because I have to build the crypto library first and then build OpenThread library adding it?

    3. I use NCP over USB

    4. Before reprogramming the Border Router, I tried several time resolving the issue by power-off-reset the Border Router. However, this did not help resolving the issue. I had to reprogram it, then the issue was solved.

    It would be nice to hear if you see the same problem. I observe this issue since the very fist version of your SDK (V0.8.0).

    Best, Reto

Reply
  • Thank you Lukasz Duda.

    1. No I do not have a Thread sniffer. What do you mean exactly by that? Is there something on the market available? Or do I need to be ThreadGroup member for getting one? Or can I build one by myself?

    2. I haven't built the OpenThread library myself ever. It is quite an effort I think because I have to build the crypto library first and then build OpenThread library adding it?

    3. I use NCP over USB

    4. Before reprogramming the Border Router, I tried several time resolving the issue by power-off-reset the Border Router. However, this did not help resolving the issue. I had to reprogram it, then the issue was solved.

    It would be nice to hear if you see the same problem. I observe this issue since the very fist version of your SDK (V0.8.0).

    Best, Reto

Children
No Data
Related