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: routing

Part Number: CC2530


hello… I have some questions… thanks in advance for any replies

I did two experiments with one ZC, one ZR and two ZEDs.

In the first experiment ZC creates the network, then I turn the ZR on and after it joins, I turn the ZEDs on. This way they join the network and transmit data to ZC through ZR.

In the second experiment I turn the ZR on after the ZEDs! This time ZEDs can’t transmit thorough ZR and they communicate with ZC directly.

I conclude that “ZEDs can’t transmit data to ZC through the ZR, unless the ZR had been joined to network before them and if ZR joins the network after ZEDs, they ignore ZR and transmit data to ZC directly”.

Am I right???

  • No, that’s not. If you turn off ZC to make ZED join ZR as its parent node and turn on ZC again, the message would go through ZR.

  • Hi,

    The ZED joins the network through a parent (which would be a ZR or ZC). When the ZED needs to transmit a message, it will always send the message to it's parent, then the parent will send that message through the network.

    In your first experiment, the ZEDs joined the network through the ZR, so that ZR is the ZED's parent. That's why the ZED sends the message for the ZC through the ZR.

    In your second experiment, the ZEDs cannot communicate with the ZR, so they join the network through the ZC, so the ZC is the ZED's parent. That's why the ZED sends the message for the ZC directly to the ZC.

    If the ZED cannot communicate with its parent, it will attempt to find another parent. An example of this scenario has been provided by YK above.

    Regards,
    Toby