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 Andreas,

    I followed your advise and I downloaded the new SDK, and I did the next steps.Everything was fine but step 5. When I tried to complie the example "simple thread client"  I got an error .Please see the screeen shot at the step 5 bellow.

    Step 1:

      clone https://github.com/openthread/openthread

    Step 2:

      Copy the openThread master folder to this location in the SDK: (Thread and Zigbee SDK v3\external\openthread\project)

    Step 3:

       py -3 build_gcc_libs.py

    Step 4:

       py -3 import_libs.py gcc

    Step 5:

    C:\Nordic\nRF5_SDK_for_Thread_and_Zigbee_v3.1.0\examples\thread\simple_coap_client\pca10056\blank\armgcc>make

       

    What I did wrong??

    Thanks in advance.

     Edward.

Children
Related