Public Attributes#
Contains information required for Supervision and True Status.
The switch must be tied to an endpoint.
The ZAF actuator handles transitions between values.
That will be invoked on changes of the current value.
As this is a binary switch, the old value must be kept until the target value is reached (in case of a duration higher than zero).
Public Attribute Documentation#
rxOpt#
RECEIVE_OPTIONS_TYPE_EX cc_binary_switch_t::rxOpt
Contains information required for Supervision and True Status.
Must be the first element in this struct because TSE assumes this location.
33
of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/BinarySwitch/inc/CC_BinarySwitch.h
endpoint#
uint8_t cc_binary_switch_t::endpoint
The switch must be tied to an endpoint.
Must be set to 0 if no endpoints. The endpoint value MUST be located as the second element in this struct as ZAF depends on that for generation of the Node Information Frame.
36
of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/BinarySwitch/inc/CC_BinarySwitch.h
actuator#
s_Actuator cc_binary_switch_t::actuator
The ZAF actuator handles transitions between values.
41
of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/BinarySwitch/inc/CC_BinarySwitch.h
callback#
cc_binary_switch_callback_t cc_binary_switch_t::callback
That will be invoked on changes of the current value.
Will only be invoked if no callback is passed to cc_binary_switch_init().
42
of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/BinarySwitch/inc/CC_BinarySwitch.h
default_duration#
uint8_t cc_binary_switch_t::default_duration
45
of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/BinarySwitch/inc/CC_BinarySwitch.h
old_value#
uint8_t cc_binary_switch_t::old_value
As this is a binary switch, the old value must be kept until the target value is reached (in case of a duration higher than zero).
46
of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/BinarySwitch/inc/CC_BinarySwitch.h