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.

Zigbee Z-Stack gateway as End Point

Other Parts Discussed in Thread: Z-STACK

Can the Z-Stack gateways be configured to run as an end point (or router).  I have tried by modifying the value of DEVICE_TYPE in the config.ini file, but this change seems to have no effect.  I have also tried modifying the ZDAPP_CONFIG_PAN_ID and PERMIT_JOIN parameters, but see no effect here either.

  • It is not only device type needed to change. It is about application code too. I suppose you can not do it on Zigbee gateway.

  • Yes, I understand that the application needs to be changed, but before getting to the application, I am familiarizing myself with the controls which should be application independent. For example, I am trying to change the PAN ID and frequency but changes to config.ini seem to have no effect. Since these seem to have no effect, I am asking if any of the controls in config.ini have an effect, i.e. DEVICE_TYPE.

    Ken
  • Hi Ken,

    The gateway is designed around its role as a coordinator and trust center. There is no support for it being a router or an end device. While the ZNP firmware on the ZigBee SoC (being a generic ZigBee network processor firmware) does support the other operation modes, the Linux middleware does not.

    Regarding the PAN ID and the Channel Mask - After modifying the configuration file, you must perform a hard reset of the gateway in order for the changes to take effect. You can do so either by calling the reset API with the right argument (hard reset), or by pressing capital X in the gateway sample application (which will cause it to send the reset API to the gateway middleware).

    Best regards,

    OD

  • OK, this is good. First, I 'thought' that I had tried a hard reset (actually, restarting the entire server subsystem) after changing the config file, but I now sure that I am mistaken. I can change the PAN ID and channel in the config file and see the results. The comment about the middleware is also very relevant and the comment explains why I do not see all of the API commands that I might expect to see in order to support and END DEVICE or ROUTER.