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

[nRF52840 + zigbee] Who is parent ?

Hi,

I have a question about parent.

Firstly, make topogoy as belows.

ZC --- ZR --- ZED

In this situation ZED's parent is ZR. correct ?

Let ZED's ERASE_PERSISTENT_CONFIG to ZB_FALSE.

and then, i turn off ZR and restart ZED.

ZED successfully joined to ZC

ZC ----- ZED

In this case, ZED's parent is ZC?

but in ZED, ZR's short address is in the ZG->addr.addr_map[0] , not the ZC's address.

If set ERASE_PERSISTENT_CONFIG to ZB_TRUE, then

ZG->addr.addr_map[0] contains address as expected.

If ZED joined to ZR, then ZG->addr.addr_map[0] contains ZR's short address, 

and

if ZED joined to ZC, then it contains ZC's short address.

I assume that ZG->addr.addr_map[0] is for parent.

Thanks.

Parents Reply Children
No Data
Related