Trident IoT Z-Wave SDK
 
Loading...
Searching...
No Matches
cc_binary_switch_t Struct Reference

#include <CC_BinarySwitch.h>

+ Collaboration diagram for cc_binary_switch_t:

Data Fields

RECEIVE_OPTIONS_TYPE_EX rxOpt
 
uint8_t endpoint
 
s_Actuator actuator
 The ZAF actuator handles transitions between values.
 
cc_binary_switch_callback_t callback
 
uint8_t default_duration
 
uint8_t old_value
 

Field Documentation

◆ actuator

s_Actuator cc_binary_switch_t::actuator

The ZAF actuator handles transitions between values.

◆ 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().

◆ default_duration

uint8_t cc_binary_switch_t::default_duration

◆ 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.

◆ 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).

◆ 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.


The documentation for this struct was generated from the following file: