Data Structures | |
struct | zb_zcl_color_ctrl_attrs_set_color_inf_t |
Color information set for Color cluster attributes according to ZCL Spec 5.2.2.2.1. More... | |
struct | zb_zcl_color_ctrl_attrs_set_color_inf_ext_t |
Color information extended set for Color cluster attributes according to ZCL Spec 5.2.2.2.1. More... | |
struct | zb_zcl_color_ctrl_attrs_set_defined_primaries_inf_t |
Defined primaries information attribute set for Color cluster attributes according to ZCL Spec 5.2.2.2.2. More... | |
struct | zb_zcl_color_ctrl_attrs_set_defined_primaries_inf_ext_t |
Defined primaries information extended attribute set for Color cluster attributes according to ZCL Spec 5.2.2.2.2. More... | |
struct | zb_zcl_color_ctrl_attrs_set_add_prim_inf_ext_t |
Color cluster extended attributes according to ZCL Spec 5.2.2.2.3. More... | |
struct | zb_zcl_color_control_attrs_t |
Color cluster attributes according to ZCL Spec 5.2.2.2. More... | |
struct | zb_zcl_color_control_attrs_ext_t |
Color cluster extended attributes according to ZCL Spec 5.2.2.2. More... | |
Macros | |
#define | ZB_ZCL_COLOR_CONTROL_SEND_MOVE_TO_HUE_SATURATION_REQ_NO_APS_ACK(buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, hue, saturation, transition_time) |
Macro equivalent to ZB_ZCL_COLOR_CONTROL_SEND_MOVE_TO_HUE_SATURATION_REQ, but command is sent without APS ACK. More... | |
#define | ZB_ZCL_DECLARE_COLOR_CONTROL_CLIENT_ATTRIB_LIST(attr_list) |
Declare attribute list for Color control cluster (client). More... | |
#define | ZB_ZCL_DECLARE_COLOR_CONTROL_ATTRIB_LIST_HS(attr_list, current_hue, current_saturation,color_mode, options, number_primaries, enhanced_color_mode, color_capabilities) |
Declare attribute list for Color Control cluster (extended with hue and saturation attributes) More... | |
Copyright (c) 2018 - 2021, Nordic Semiconductor ASA
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define ZB_ZCL_COLOR_CONTROL_SEND_MOVE_TO_HUE_SATURATION_REQ_NO_APS_ACK | ( | buffer, | |
addr, | |||
dst_addr_mode, | |||
dst_ep, | |||
ep, | |||
prfl_id, | |||
def_resp, | |||
cb, | |||
hue, | |||
saturation, | |||
transition_time | |||
) |
Macro equivalent to ZB_ZCL_COLOR_CONTROL_SEND_MOVE_TO_HUE_SATURATION_REQ, but command is sent without APS ACK.
#define ZB_ZCL_DECLARE_COLOR_CONTROL_ATTRIB_LIST_HS | ( | attr_list, | |
current_hue, | |||
current_saturation, | |||
color_mode, | |||
options, | |||
number_primaries, | |||
enhanced_color_mode, | |||
color_capabilities | |||
) |
Declare attribute list for Color Control cluster (extended with hue and saturation attributes)
attr_list | - attribute list name |
current_hue | - pointer to variable to store current_hue attribute value |
current_saturation | - pointer to variable to store current_saturation attribute value |
color_mode | - pointer to variable to store color_mode attribute value |
options | - pointer to variable to store options attribute value |
number_primaries | - pointer to variable to store number_primaries attribute value |
enhanced_color_mode | - pointer to variable to store Enhanced Color Mode attribute value |
color_capabilities | - pointer to variable to store Color Capabilities attribute value |
#define ZB_ZCL_DECLARE_COLOR_CONTROL_CLIENT_ATTRIB_LIST | ( | attr_list | ) |
Declare attribute list for Color control cluster (client).
attr_list | - attribute list name. |