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.

CC2650: Setting a no-children router

Part Number: CC2650

Hi,

I am currently using the CC2650 with your Zstack home 1.02.02a, and I am very satisfied with it!

In our project, the CC2650 radio module is plugged in:

  • a Linux gateway, where it is programmed as a coordinator
    • it is connected through ethernet to a PC acting as a server for the mobile applications

  • one or more Android HHUs, where it is currently programmed as a router:
    • we have chosen the router built instead of the end device one because our HHUs need to reply in a short time to the requests coming from the network, and the router seemed very efficient in doing so
    • but the networking capability of the router comes as un undesired feature:
      • we would prefer to disable it, and to set the network topology more like a starred one, where the coordinator is the parent of all the HHUs, and the HHUs have no children
      • on our network, the HHUs could be switched off / on at any time, or they could simply go off-range for some minutes, and we found that sometimes after an HHU power cycle, the network seems to disconnect into different parts, depending apparently on the parent/child relationships of the devices involved in the power cycle
      • we would like to check if a simpler topology could benefit our network against this kind of conditions
    • we checked the Zstack documentation and we found out that maybe our setting would be possible setting in nwk_globals.h the NWK_MAX_ROUTERS value to 0 from the default value  of 6, this just for the router build, while the coordinator would be untouched
    • we think some other changes will be needed, e.g. the stack profile id needs to be set to network_specific according to the Zstackdevelper's guide, etc
    • my questions are:
      • do you think that it would be possible to have a coordinator with N router children, and the routers always childless, using the setting described above?
      • or maybe do you think that -in order to achieve to achieve the described topology- it would be better e.g. to set the HHUs as end devices and to work instead on the polling rate to improve their response time?
      • suggestions are welcome!

Many thanks for your help!

Michele

*edit dyslexia

*edit 2 anacoluthon and phrasing

  • When you have multiple routers in Zigbee network, they would do mesh automatically and you cannot make them act as star topology. I would suggest you to use RX_ALWAYS_ON device instead of router configuration if you only want star topology.
  • Many thanks Mr Chen for your reply!
    Please let me elaborate to check if I have correctly understood your suggestion:
    1 set the HHU build as end device
    2 set -DRFD_RCVC_ALWAYS_ON=TRUE and not as FALSE like in my current configuration
    3 et voilà I'll have end devices replying very fast to the external requests, and a free star topology as a side effect!
    Am I right?
    Many thanks again
  • Yes, that is correct.
  • Hi Michele,

    Right now I would like to build a router using CC2650 and zstack home 1.02.02a. I saw you also did that. Is it ok to teach me how to change a end device to router in zstack home 1.02.02.

    Thanks for your help,

    James Duan

  • I don't think you can configure a no child router. The alternative is to configure an end device to RX always on.
  • Hi Mr. Duan!

    Thanks for your request!

    To build the firmware for a router device, I load the TI IAR workspace in the IAR IDE, then I select the appropriate build configuration, and finally I build the corresponding firmware.

    Note: you need the IAR IDE to build the firmware for the CC2650! If you do not have the IAR IDE, you can just use one of the pre-built images available from TI.

    I selected in the IAR project options to generate a binary file that I use to upgrade the firmware of the CC2650 chip using its bootloader.

    If you need further help, please do not hesitate to contact me!

    Best regards

    Michele