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.

Z-Stack Lighting - No Device Announce

Other Parts Discussed in Thread: Z-STACK

Hi,

Doing a large scale test with a ZLL network with one Bridge and a remote controller, touchlinking >100 lamps into the network one by one (i.e. only one lamp is powered on at the same time).


So: turn FN lamp on, touch-link with remote, sometimes not getting ZDO_DEVICE_ANNCE.


When this happens, the lamp is controllable with the remote, and also through broadcast messages.


Power cycling the lamp: Get device announce.

How could the device annouce message get lost? Is there something I can do to make it more reliable?

Thanks!

  • Sjef,

        The Device Announce is a broadcast message and as such is prone to getting lost as there are no MAC Acknowledgements. You could tweak the MAX_BCAST and MAX_BCAST_RETRIES to make it more reliable for you network size (these are described in "Application Level Tuning of Z-Stack.pdf", but looks like the doc is missing from the ZStack-Lighting SDK, so you will need to get it from ZStack-Home). But ultimately if you want to guarantee device discovery you need to use  ZDP_MgmtLqiReq (described in z-Sarck API.pdf) exposed through the ZDO_MGMT_LQI_REQ ZNP command. Typically the device is added by user interaction (i.e. opening the network), but if the device enters via touch link then there may need to be an operation on the Hub to start the discovery or make this happen at some interval.

    Regards, TC.