Implement ZCL IAS Zone Cluster
[platform/core/connectivity/zigbee-manager.git] / common / include / zigbee_zcl_ias_zone_type.h
index 8ad7135..c8c2dab 100644 (file)
 
 #include <zigbee_types.h>
 
+/* --------------------------------------------------------------------------------------
+ * For Request
+ * -------------------------------------------------------------------------------------*/
+
 /**
  * @brief Definition for ZCL IAS zone enroll response structure.
  * @since_tizen 3.0
@@ -32,4 +36,32 @@ typedef struct {
        char zone_id; /**< Zone ID */
 } ZigbeeZclIasZoneEnrollResponse_t;
 
+/* --------------------------------------------------------------------------------------
+ * For Notifications
+ * -------------------------------------------------------------------------------------*/
+
+/**
+ * @brief Definition for ZCL IAS zone status change notification structure.
+ * @since_tizen 3.0
+ */
+typedef struct {
+       short node_id; /**< Node ID */
+       char src_ep; /**< Source endpoint */
+       short zone_status; /**< Zone status */
+       char extended_status; /**< Extended status */
+       char zone_id; /**< Zone ID */
+       short delay; /**< Delay */
+} ZigbeeZclIasZoneStatusChangeNoti_t;
+
+/**
+ * @brief Definition for ZCL IAS zone enroll request notification structure.
+ * @since_tizen 3.0
+ */
+typedef struct {
+       short node_id; /**< Node ID */
+       char src_ep; /**< Source endpoint */
+       short zone_type; /**< Zone type */
+       char mfg_code; /**< Manufacturer code */
+} ZigbeeZclIasEnrollRequestNoti_t;
+
 #endif /* __ZIGBEE_ZCL_IAS_ZONE_TYPE_H__ */