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.

Best way to get a full list of all devices on a network

Other Parts Discussed in Thread: CC2531

Hey,

like the heading may suggest, I'd like to know the best way to get a list of all devices known to the network of a CC2531 ZNP coordinator. I could do a IEEE address request on the coordinator itself, but i heard that this is not a good way. So,..is there any way where i could get a reliable list of all devices in the network?

thanks!

  • Hi Thomas,

    For that purpose, I think using Mgmt_Lqi_Req/Rsp is the best way.

    If you are the coordinator and you know who your end-device children and router children are, send Mgmt_Lqi_Req to each of the router children, and you will get Mgmt_Lqi_Rsp's from them. In each of Mgmt_Lqi_Rsp, you will find the list of neighbor descriptors, each of which contains a neighbor's information such as address, device type, and the relationship to the responder itself. Then, send Mgmt_Lqi_Reqs to the responder's router children whose addresses you got from the former process. You can repeat this operation throughout the hierarchy until you get the whole picture.

    - Cetri