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.

CC2530: Router to Coordinator hops count

Part Number: CC2530


Hi,


We have several networks deployed that consist of one znp coordinator and ~40 routers each.

Question :

a) I want to know  how many hops will be there in in the network  when the znp coordinator receives packet from the router.

b) Is there any way to find the hops count .

  • You can try to use ZDP_MgmtLqiReq() to get neighbor lists and ZDP_MgmtRtgReq() to get routing tables, and use those information to know routing details.

  • Hi Nandu,

    If you are creating a proprietary network for which you determine the behavior of every node, then you could define a common radius so that when you receive an incoming message on the ZC it would be possible to deduce the number of hops needed to transfer the message by evaluating how much the radius has decremented.  Some Packet Sniffer solutions such as Ubiqua can provide visuals of the network topology to further surmise how many hops are required.  There are also stack definitions such as NWK_MAX_DEVICE_LIST/MAX_NEIGHBOR_ENTRIES to help determine how many devices can associate to a single node.  Otherwise, network discovery as proposed by YK is the best solution.

    Regards,
    Ryan