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

Openthread sleepy Child re-attach process

Hello,

I'm using NRF52840 module to make a customer device. I'm using nRF5 SDK for Thread and Zigbee v3.0.0.

I have a Thread mesh with some routers devices and one child, Periodically, the child leave the mesh when it goes out of range of any node in the network. I would like to know how to improve the current consume.

If I plot the current consume versus time (see attached figure), I can see serveral re-attach processes. The first retries are very close in time, and then the interval increases as 2^n, (n is the try number). Also, I can see that the duration timeout of each try is about 2 seconds.. Is this correct?

I would like to know if this timeout and interval period can be set or modified. 

I have taken a screen shoot with nrf Connect Power Profile, In this picture I have observed that the check timeout(T1, green arrow) is 2 seconds and the time between retries(T2, blues arrows) is 2^n seconds (n is the number of times when the child can't attach).

Can I set this periods?

Any help is wellcome. Thank you in advance.

Parents Reply
  • Hi again.

    Sorry for the late reply.

    Yes, you have to clone that specific commit i posted in my last reply.

    You see, OpenThread is an open-source implementation of the Thread Protocol, that means that anyone can propose modifications to the implementation. So, we release the SDK with a stable commit and a precompiled library that we test thoroughly.

    If you try to build your own library with another commit you have a very high chance of getting into trouble.

    Best regards,

    Andreas

Children
Related