Indicator#
Indicator CC is mandatory since Z-Wave+ V2.
It can be used to identify a device in the network, by sending command that will, for example, set the LED indicator to ON over a certain period.
Modules#
Typedefs#
Struct used to pass operational data to TSE module.
Functions#
Resets the indicator CC properties to their "off" values.
CC Indicator handler that MUST be defined by the platform specific application source code to signal patterns.
Macros#
Typedef Documentation#
s_CC_indicator_data_t#
typedef struct s_CC_indicator_data_t_ s_CC_indicator_data_t
Struct used to pass operational data to TSE module.
See ZAF_TSE_Trigger() for more information.
Receive options MUST be the first element as TSE relies on the receive options.
44
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/Indicator/inc/CC_Indicator.h
Function Documentation#
CC_Indicator_RefreshIndicatorProperties#
void CC_Indicator_RefreshIndicatorProperties (void )
Resets the indicator CC properties to their "off" values.
N/A |
If the application manually de-activates the Indicator (e.g. learn mode), it should call this function to have the CC Indicator values refreshed before it reports its state to the Lifeline destinations.
When starting a blink sequence we simply off load the blinking to a board specific indicator LED implementation. The indicator command class does not keep time on when the indicator LED has completed its blink sequence, instead it queries the board when a GET request is received.
59
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/Indicator/inc/CC_Indicator.h
cc_indicator_handler#
void cc_indicator_handler (uint32_t on_time_ms, uint32_t off_time_ms, uint32_t num_cycles)
CC Indicator handler that MUST be defined by the platform specific application source code to signal patterns.
N/A | on_time_ms | ON duration (in milliseconds) for a single blink cycle. If on_time_ms is zero the indicator should be turned off. |
N/A | off_time_ms | OFF duration (in milliseconds) for a single blink cycle. |
N/A | num_cycles | Number of blink cycles. If num_cycles is zero the indicator LED should blink "forever" or until the next time this function is called. |
Even though on/off time parameters are given in milliseconds, the resolution is 1/10'th of a second.
77
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/Indicator/inc/CC_Indicator.h
Macro Definition Documentation#
INDICATOR_IND_NA#
#define INDICATOR_IND_NAValue:
INDICATOR_SET_NA_V3
24
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/Indicator/src/CC_IndicatorPrivate.h
INDICATOR_IND_NODE_IDENTIFY#
#define INDICATOR_IND_NODE_IDENTIFYValue:
INDICATOR_SET_NODE_IDENTIFY_V3
25
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/Indicator/src/CC_IndicatorPrivate.h
INDICATOR_PROP_ON_OFF_PERIOD#
#define INDICATOR_PROP_ON_OFF_PERIODValue:
INDICATOR_SET_ON_OFF_PERIOD_V3
28
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/Indicator/src/CC_IndicatorPrivate.h
INDICATOR_PROP_ON_OFF_CYCLES#
#define INDICATOR_PROP_ON_OFF_CYCLESValue:
INDICATOR_SET_ON_OFF_CYCLES_V3
29
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/Indicator/src/CC_IndicatorPrivate.h
INDICATOR_PROP_ON_TIME#
#define INDICATOR_PROP_ON_TIMEValue:
INDICATOR_SET_ONE_TIME_ON_OFF_PERIOD_V3
30
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/Indicator/src/CC_IndicatorPrivate.h
INDICATOR_OBJECT_COUNT_MASK#
#define INDICATOR_OBJECT_COUNT_MASKValue:
INDICATOR_SET_PROPERTIES1_INDICATOR_OBJECT_COUNT_MASK_V3
33
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/Indicator/src/CC_IndicatorPrivate.h
INDICATOR_RESERVED_MASK#
#define INDICATOR_RESERVED_MASKValue:
INDICATOR_SET_PROPERTIES1_RESERVED_MASK_V3
34
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/Indicator/src/CC_IndicatorPrivate.h
INDICATOR_RESERVED_SHIFT#
#define INDICATOR_RESERVED_SHIFTValue:
INDICATOR_SET_PROPERTIES1_RESERVED_SHIFT_V3
35
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/Indicator/src/CC_IndicatorPrivate.h