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.

Windows lifting

Other Parts Discussed in Thread: CC2538, Z-STACK

Hi all,

I am using cc2538 for making end device.I am working on window clusters.I have gone through the zcl home automation specification but i am not clear that when i have to use the following command.

zclClosures_SendStop(a, b, c, d);

Please suggest when i have to use this stop command.

Thanks

Amit

  • This function is used to send the Stop Command for Window Covering cluster.
  • hi Y.chen,

    ok, but actually when we have to send this command

    ie, after zclClosures_SendUpOpen/zclClosures_SendUpClose

    but in specification it is written that opening and closing should be as fast as possible
    so if i send this stop command in between then curtain will be opened/closed fully

    please suggest some solution

    Thanks for reply
    amit
  • Your application can send stop command anytime when you want moving window covering to stop.
  • Hi Y.Chen,
    What does these commands do.

    1.Go To Lift Setpoint Command
    2.Go To Lift Value

    I have gone through the zcl home automation specification.Both of these commands are detailed that they will lift the window cover to the specific value.Even they are detailed same to same there.
    So what is the difference between them and when we have to use each.

    Thanks for reply
    Amit
  • 1. Can you specify which API you refer to in Z-Stack?
    2. It would send a command to your window covering device and ask it to lift to a specific value.
  • Hi Y.Chen,
    I am working on window covering clusters
    The following callbacks are given in zcl_closures.h

    //This callback is called to process an incoming Window Covering cluster goto setpoint commands
    typedef uint8 (*zclClosures_WindowCoveringGotoSetpoint_t) ( uint8 index );

    //This callback is called to process an incoming Window Covering cluster program setpoint commands
    typedef bool (*zclClosures_WindowCoveringProgramSetpoint_t) ( programSetpointPayload_t *setpoint );

    But they are not given in zclClosures_WindowCoveringAppCallbacks_t .Also i cant find any commands which are used for above callbacks.

    Please clarify.

    Thanks
    Amit
  • I am not sure what these two typedef for in application. Anyway, if you send window covering commands, it would be processed in zclClosures_ProcessInWindowCovering.