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 1.0.2 - End Device Target

Hi,

I wanted to create a ZLL 'target' end-device for a certain device type. It doesn't seem possible though, what I did was use the SampleRemote as a starting point, removed zll_initiator files and added zll_target. Also made the changes in OSAL_SampleRemote and the other files.

When doing that, the device freezes on zllTarget_Init.. I spent some time with copying parts of the initiator's network initialisation to the target, and at some point the device started up, but no communication. It looks like zll_target can't be used for an end-device implementation, is that right? If so, is it possible to implement at all? Any pointers towards how to do that? Or does it need changes in the binary parts of the stack?

Best regards,

Sjef.

  • Sjef,

        Creating a ZLL Target End Device does not make a lot of sense. If an FN ZLL Initiator Touchlinks a FN ZLL Target the Target must create a network and the Initiator must then join the network, hence the ZLL Target must be a parent to the Initiator and allow it to associate to the network.

    What use case are you trying to realize?

    Regards, TC.

  • Hi TC,


    You have a point there. On the other hand, the situation is described in the Light Link specification (8.4.5.2). I'm looking at the options for a sensor (device type 0x0850). Unfortunately the spec isn't helpful at all about how this should work. It just states the required clusters (which is in itself confusing, as it requires Level Control and Color Control when it's just an On/Off sensor - but that's another topic) -  So the first thing that came into mind was a target end-device that I could touch-link into the network using TI's ZLLRC.

    Actually now I believe I can do the same by making it an initiator and then do an initiator-initiator touch-link. Still makes me wonder why the spec mentions end-device targets then..

    Thanks,

    Sjef.

  • Sjef,

        I agree the sensors where not defined very well in the spec. In our stack it was intended that they would be initiators. Also as these devices are typically battery powered and mobile (before fixing to a wall or such like) you can also treat this the same as a remote. The user can TouchLink a light to create the binding simply and intuitively, which would not be the case if you make it a target.

    I envisage the process for the consumer to add a new sensor to be:

    1. Press a button on bridge to open the network.

    2. Put batteries in sensor (if FN it joins the network on start up).

    (Alternatively touchlink Bridge or Remote).

    3. Touchlink the Lights you want it to control (you can add a check to make sure it is NFN so it can not steal a light if previous steps where not followed).

    4. Mount it. 

    Regards, TC.