Fix return value of disable method
[platform/core/connectivity/zigbee-manager.git] / common / include / zigbee_zcl_identify_type.h
index 484edf9..18bfe2b 100644 (file)
 
 #include <zigbee_types.h>
 
+/* --------------------------------------------------------------------------------------
+ * For Request
+ * -------------------------------------------------------------------------------------*/
+
 /**
  * @brief Definition for ZCL Identify identify structure.
  * @since_tizen 3.0
  */
 typedef struct {
-       short node_id; /**< Node ID */
-       char dest_ep; /**< Destination endpoint */
-       short identify_time; /**< Identify time */
+       unsigned short node_id; /**< Node ID */
+       unsigned char dest_ep; /**< Destination endpoint */
+       unsigned short identify_time; /**< Identify time */
 } ZigbeeZclIdentifyIdentify_t;
 
 /**
@@ -36,8 +40,21 @@ typedef struct {
  * @since_tizen 3.0
  */
 typedef struct {
-       short node_id; /**< Node ID */
-       char dest_ep; /**< Destination endpoint */
+       unsigned short node_id; /**< Node ID */
+       unsigned char dest_ep; /**< Destination endpoint */
 } ZigbeeZclIdentifyQuery_t;
 
+/* --------------------------------------------------------------------------------------
+ * For Notifications
+ * -------------------------------------------------------------------------------------*/
+
+/**
+ * @brief Definition for ZCL Identify query response structure.
+ * @since_tizen 3.0
+ */
+typedef struct {
+       unsigned short node_id; /**< Node ID */
+       unsigned short identify_time; /**< Identify time */
+} ZigbeeZclIdentifyQueryNoti_t;
+
 #endif /* __ZIGBEE_ZCL_IDENTIFY_TYPE_H__ */