This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

how to get IEEE address

Other Parts Discussed in Thread: CC2538, Z-STACK

hi

I am designing a gateway with cc2538 as a ZC.

I can query IEEE address by MT_ZDO_IEEE_ADDR_REQ successfully at any time if the ZR is powered on.

I can use IEEE_addr_req to query the sleeping ZE's IEEE address successfullly through ZE's parent.

my question is:

if ZR is powered off and ZC is rebooted,  whether ZC only remember associated ZR's short address? How can I query the IEEE address from somewhere?

Same question exist as to the node descriptions etc. I dont see cache machanism in z-stack as zigbee specification outlined. I dont want to maintain device information permantly. I hope I can rely on ZC to get any thing after gateway is powered on, is it possible?

 

  • 1. Yes, ZC only keeps associated devices' short addresses. If you want to query IEEE address of any device, it must be alive in the network.

    2. You can grab associated table on ZC, keep all of short address of all associated devices first. Then, find out ZR in the list and request associated table on those ZR. Keep doing the same thing will make you collect all of devices in the mesh network.

  • thanks for your reply, although the answer is negtive.

    Yes, I can get any information through the methord  you suggested as loog as all devices are working properly . But in case of some bad situations I have no way to recover device list if I dont store the device information in permanant storage.

    I will do my design work based on these knowledge if no other suggestions.

    thank you.