19 #ifndef __ARTIK_ZIGBEE_CLUSTERS_H__ 20 #define __ARTIK_ZIGBEE_CLUSTERS_H__ 39 ARTIK_ZIGBEE_GROUPS_ADD = 3230,
40 ARTIK_ZIGBEE_GROUPS_REMOVE,
41 ARTIK_ZIGBEE_GROUPS_REMOVE_ALL,
42 ARTIK_ZIGBEE_GROUPS_ADD_IF_IDENTIFYING
49 unsigned short group_id;
51 artik_zigbee_group_command group_cmd;
57 unsigned char scene_count;
58 unsigned char current_scene;
59 unsigned short current_group;
60 unsigned char scene_valid;
67 ARTIK_ZIGBEE_ONOFF_OFF = 3220,
68 ARTIK_ZIGBEE_ONOFF_ON,
69 ARTIK_ZIGBEE_ONOFF_TOGGLE
76 artik_zigbee_onoff_status prev_value;
77 artik_zigbee_onoff_status curr_value;
78 artik_zigbee_onoff_status command;
85 ARTIK_ZIGBEE_MOVE_TO_LEVEL = 0x00,
86 ARTIK_ZIGBEE_MOVE = 0x01,
87 ARTIK_ZIGBEE_STEP = 0x02,
88 ARTIK_ZIGBEE_STOP = 0x03,
89 ARTIK_ZIGBEE_MOVE_TO_LEVEL_ONOFF = 0x04,
90 ARTIK_ZIGBEE_MOVE_ONOFF = 0x05,
91 ARTIK_ZIGBEE_STEP_ONOFF = 0x06,
92 ARTIK_ZIGBEE_STOP_ONOFF = 0x07
98 ARTIK_ZIGBEE_LEVEL_CONTROL_UP = 0x00,
99 ARTIK_ZIGBEE_LEVEL_CONTROL_DOWN = 0x01
135 ARTIK_ZIGBEE_MOVE_TO_HUE = 0x00,
136 ARTIK_ZIGBEE_MOVE_HUE,
137 ARTIK_ZIGBEE_STEP_HUE,
138 ARTIK_ZIGBEE_MOVE_TO_SATURATION,
139 ARTIK_ZIGBEE_MOVE_SATURATION,
140 ARTIK_ZIGBEE_STEP_SATURATION,
141 ARTIK_ZIGBEE_MOVE_TO_HUE_SATURATION,
142 ARTIK_ZIGBEE_MOVE_TO_COLOR,
143 ARTIK_ZIGBEE_MOVE_COLOR,
144 ARTIK_ZIGBEE_STEP_COLOR,
145 ARTIK_ZIGBEE_MOVE_TO_COLOR_TEMP,
146 ARTIK_ZIGBEE_EMOVE_TO_HUE = 0x40,
147 ARTIK_ZIGBEE_EMOVE_HUE,
148 ARTIK_ZIGBEE_ESTEP_HUE,
149 ARTIK_ZIGBEE_EMOVE_TO_HUE_SATURATION,
150 ARTIK_ZIGBEE_COLOR_LOOP_SET,
151 ARTIK_ZIGBEE_STOP_MOVE_STEP = 0x47,
152 ARTIK_ZIGBEE_MOVE_COLOR_TEMP = 0x4b,
153 ARTIK_ZIGBEE_STEP_COLOR_TEMP = 0x4c
159 ARTIK_ZIGBEE_COLOR_CONTROL_DIRECTION_SHORTEST_DISTANCE = 0x00,
160 ARTIK_ZIGBEE_COLOR_CONTROL_DIRECTION_LONGEST_DISTANCE = 0x01,
161 ARTIK_ZIGBEE_COLOR_CONTROL_DIRECTION_UP = 0x02,
162 ARTIK_ZIGBEE_COLOR_CONTROL_DIRECTION_DOWN = 0x03
168 ARTIK_ZIGBEE_COLOR_CONTROL_MOVE_MODE_STOP = 0x00,
169 ARTIK_ZIGBEE_COLOR_CONTROL_MOVE_MODE_UP = 0x01,
170 ARTIK_ZIGBEE_COLOR_CONTROL_MOVE_MODE_DOWN = 0x03
176 ARTIK_ZIGBEE_COLOR_CONTROL_STEP_MODE_UP = 0x01,
177 ARTIK_ZIGBEE_COLOR_CONTROL_STEP_MODE_DOWN = 0x03
183 ARTIK_ZIGBEE_COLOR_CONTROL_LOOP_ACTION_DEACTIVATE = 0x00,
184 ARTIK_ZIGBEE_COLOR_CONTROL_LOOP_ACTION_ACTIVATE_FROM_START_ENHANCED_HUE = 0x01,
185 ARTIK_ZIGBEE_COLOR_CONTROL_LOOP_ACTION_ACTIVATE_FROM_ENHANCED_CURRENT_HUE = 0x02
242 } move_to_color_temp;
280 ARTIK_ZIGBEE_OCCUPIED,
281 ARTIK_ZIGBEE_UNOCCUPIED
288 ARTIK_ZIGBEE_OCCUPANCY_PIR,
289 ARTIK_ZIGBEE_OCCUPANCY_ULTRASONIC,
290 ARTIK_ZIGBEE_OCCUPANCY_PIR_ULTRASONIC
294 ARTIK_ZIGBEE_FAN_MODE_OFF,
295 ARTIK_ZIGBEE_FAN_MODE_LOW,
296 ARTIK_ZIGBEE_FAN_MODE_MEDIUM,
297 ARTIK_ZIGBEE_FAN_MODE_HIGH,
298 ARTIK_ZIGBEE_FAN_MODE_ON,
299 ARTIK_ZIGBEE_FAN_MODE_AUTO,
300 ARTIK_ZIGBEE_FAN_MODE_SMART,
301 ARTIK_ZIGBEE_FAN_MODE_RESERVED
302 } artik_zigbee_fan_mode;
305 ARTIK_ZIGBEE_FAN_MODE_SEQUENCE_LOW_MED_HIGH,
306 ARTIK_ZIGBEE_FAN_MODE_SEQUENCE_LOW_HIGH,
307 ARTIK_ZIGBEE_FAN_MODE_SEQUENCE_LOW_MED_HIGH_AUTO,
308 ARTIK_ZIGBEE_FAN_MODE_SEQUENCE_LOW_HIGH_AUTO,
309 ARTIK_ZIGBEE_FAN_MODE_SEQUENCE_ON_AUTO,
310 ARTIK_ZIGBEE_FAN_MODE_SEQUENCE_RESERVED
311 } artik_zigbee_fan_mode_sequence;
317 ARTIK_ZIGBEE_SETPOINT_MODE_HEAT = 0x00,
318 ARTIK_ZIGBEE_SETPOINT_MODE_COOL,
319 ARTIK_ZIGBEE_SETPOINT_MODE_BOTH,
320 ARTIK_ZIGBEE_SETPOINT_MODE_RESERVED
327 ARTIK_ZIGBEE_SYSTEM_MODE_OFF = 0x00,
328 ARTIK_ZIGBEE_SYSTEM_MODE_AUTO,
329 ARTIK_ZIGBEE_SYSTEM_MODE_COOL,
330 ARTIK_ZIGBEE_SYSTEM_MODE_HEAT,
331 ARTIK_ZIGBEE_SYSTEM_MODE_EMERGENCY_HEATING,
332 ARTIK_ZIGBEE_SYSTEM_MODE_PRECOOLING,
333 ARTIK_ZIGBEE_SYSTEM_MODE_FAN_ONLY,
334 ARTIK_ZIGBEE_SYSTEM_MODE_RESERVED
341 ARTIK_ZIGBEE_CONTROL_SEQUENCE_COOLING_ONLY = 0x00,
342 ARTIK_ZIGBEE_CONTROL_SEQUENCE_COOLING_WITH_REHEAT,
343 ARTIK_ZIGBEE_CONTROL_SEQUENCE_HEATING_ONLY,
344 ARTIK_ZIGBEE_CONTROL_SEQUENCE_HEATING_WITH_REHEAT,
345 ARTIK_ZIGBEE_CONTROL_SEQUENCE_COOLING_HEATING,
346 ARTIK_ZIGBEE_CONTROL_SEQUENCE_COOLING_HEATING_WITH_REHEAT,
347 ARTIK_ZIGBEE_CONTROL_SEQUENCE_RESERVED
artik_zigbee_thermostat_control_sequence
The Thermostat control sequence of operation.
artik_zigbee_color_control_move_mode
The move mode for Color Control.
artik_zigbee_thermostat_system_mode
The Thermostat system mode.
artik_zigbee_onoff_status
On/Off status for On/Off cluster This is used when both sending and receiving command.
artik_zigbee_group_command
Group command for Group cluster This is used when both sending and receiving command.
The Color current values.
artik_zigbee_color_control_loop_set_action
The loop action for Color Control.
artik_zigbee_level_control_type
Level Control cluster command type.
The command for cluster Color Control.
artik_zigbee_color_control_direction
Color Control cluster command direction.
artik_zigbee_occupancy_type
The sensor type of occupancy.
Structure for receiving a notification of group command from ZigBee Daemon.
artik_zigbee_color_control_type
Color Control cluster command type.
Structure for receiving a command notification of On/Off cluster from ZigBee Daemon.
artik_zigbee_color_control_step_mode
The step mode for Color Control.
artik_zigbee_occupancy_status
The status of occupancy.
Structure for saving Scene information.
Structure for receiving a update notification of Level Control cluster from ZigBee Daemon...
Structure for Level Control cluster command.
artik_zigbee_thermostat_setpoint_mode
The Thermostat setpoint mode.
artik_zigbee_level_control_mode
Level Control cluster command mode.