#include <zigbee_types.h>
+/* --------------------------------------------------------------------------------------
+ * For Request
+ * -------------------------------------------------------------------------------------*/
+
/**
* @brief Definition for ZCL color control move to hue structure.
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- char hue; /**< Hue */
- char direction; /**< Direction */
- short transition_time; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned char hue; /**< Hue */
+ unsigned char direction; /**< Direction */
+ unsigned short transition_time; /**< Transition time */
} ZigbeeZclColorControlMoveToHue_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- char move_mode; /**< Move mode */
- char rate; /**< Rate */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned char move_mode; /**< Move mode */
+ unsigned char rate; /**< Rate */
} ZigbeeZclColorControlMoveHue_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- char step_mode; /**< Step mode */
- char step_size; /**< Step size */
- short transition_time; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned char step_mode; /**< Step mode */
+ unsigned char step_size; /**< Step size */
+ unsigned char transition_time; /**< Transition time */
} ZigbeeZclColorControlStepHue_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- char saturation; /**< Saturation */
- short transition_time; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned char saturation; /**< Saturation */
+ unsigned short transition_time; /**< Transition time */
} ZigbeeZclColorControlMoveToSaturation_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- char move_mode; /**< Move mode */
- char rate; /**< Rate */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned char move_mode; /**< Move mode */
+ unsigned char rate; /**< Rate */
} ZigbeeZclColorControlMoveSaturation_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- char step_mode; /**< Step mode */
- char step_size; /**< Step size */
- short transition_time; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned char step_mode; /**< Step mode */
+ unsigned char step_size; /**< Step size */
+ unsigned char transition_time; /**< Transition time */
} ZigbeeZclColorControlStepSaturation_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- char hue; /**< Hue */
- char saturation; /**< Saturation */
- short transition_time; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned char hue; /**< Hue */
+ unsigned char saturation; /**< Saturation */
+ unsigned short transition_time; /**< Transition time */
} ZigbeeZclColorControlMoveToHueAndSaturation_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- short color_x; /**< Color X */
- short color_y; /**< Color Y */
- short transition_time; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned short color_x; /**< Color X */
+ unsigned short color_y; /**< Color Y */
+ unsigned short transition_time; /**< Transition time */
} ZigbeeZclColorControlMoveToColor_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- short rate_x; /**< Rate X */
- short rate_y; /**< Rate Y */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned short rate_x; /**< Rate X */
+ unsigned short rate_y; /**< Rate Y */
} ZigbeeZclColorControlMoveColor_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- short rate_x; /**< Rate X */
- short rate_y; /**< Rate Y */
- short transition_time; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned short step_x; /**< Step X */
+ unsigned short step_y; /**< Step Y */
+ unsigned short transition_time; /**< Transition time */
} ZigbeeZclColorControlStepColor_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- short color_temperature; /**< Color temperature*/
- short transition_time; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned short color_temperature; /**< Color temperature*/
+ unsigned short transition_time; /**< Transition time */
} ZigbeeZclColorControlMoveColorTemperature_t;
#endif /* __ZIGBEE_ZCL_COLOR_CONTROL_TYPE_H__ */