Fix return value of disable method
[platform/core/connectivity/zigbee-manager.git] / common / include / zigbee_zcl_color_control_type.h
index ac125a3..3ddcfeb 100644 (file)
 
 #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;
 
 /**
@@ -38,10 +42,10 @@ typedef struct {
  * @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;
 
 /**
@@ -49,11 +53,11 @@ typedef struct {
  * @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;
 
 /**
@@ -61,10 +65,10 @@ typedef struct {
  * @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;
 
 /**
@@ -72,10 +76,10 @@ typedef struct {
  * @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;
 
 /**
@@ -83,11 +87,11 @@ typedef struct {
  * @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;
 
 /**
@@ -95,11 +99,11 @@ typedef struct {
  * @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;
 
 /**
@@ -107,11 +111,11 @@ typedef struct {
  * @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;
 
 /**
@@ -119,10 +123,10 @@ typedef struct {
  * @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;
 
 /**
@@ -130,11 +134,11 @@ typedef struct {
  * @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;
 
 /**
@@ -142,10 +146,10 @@ typedef struct {
  * @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__ */