Hi,
I've read posts on the subject, but didn't see any answer, so...
My project has a Zigbee network with many ZRs and ZEDs (hoping to reach ~150 devices), all communicating ONLY with the ZC: they send an application string and receive a reply.
Within each Zigbee-data sent to the ZC is the 'ParentMAC' (the Zigbee parent of each element), obtained by NLME_GetCoordExtAddr().
The ZC communicates with a remote server, forwarding the Zigbee data, so the server has the topology-tree of the Zigbee network, using their IEEE address as an ID.
As long as my network is static (nothing moves, nothing gets broken, nothing changed) - all is well.
ZEDs work fine: if its parent disappears and it finds new parent - NLME_GetCoordExtAddr() is updated.
My problem - ZRs don't update their parent!!!
If a ZR's parent disappears (for example - ZR moved during installation of the network) - there is no indication, thus the server has an incorrect topology-tree.
I guess the behavior is correct (I understand ZRs don't become 'orphans', they just 'hang-around' - ???), but I still need a solution for my problem.
Maybe what I need is the MAC Source Address (a apposed to the NWK Source Address) of the ZRs? That would be the address from the 'last hop'? How can I receive that?
I'm using CC2530, ZStack 2.5.1, ZIGBEEPRO.
There are many ZStak defines which I'm not sure are relevant: ZIGBEE_MANY_TO_ONE, NWK_MANAGER (on ZC), etc. I understand from the code that most are defined by default?
Thanks, Rami.