+
+ switch(noti_id) {
+ case ZBLIB_ZCL_IAS_ZONE_NOTI_ZONE_STATUS_CHANGE_NOTI: {
+ ZigbeeZclIasZoneStatusChangeNoti_t *rsp =
+ (ZigbeeZclIasZoneStatusChangeNoti_t*)noti_data;
+
+ Z_LOGD("status_change_rsp from : [0x%X]", rsp->node_id);
+
+ zigbee_zcl_ias_zone_emit_status_change_rsp(ias_object, rsp->node_id, rsp->src_ep,
+ rsp->zone_status, rsp->extended_status, rsp->zone_id, rsp->delay);
+ }
+ break;
+ case ZBLIB_ZCL_IAS_ZONE_NOTI_ENROLL_REQUEST: {
+ ZigbeeZclIasEnrollRequestNoti_t *rsp =
+ (ZigbeeZclIasEnrollRequestNoti_t*)noti_data;
+
+ Z_LOGD("enroll_request from : [0x%X]", rsp->node_id);
+
+ zigbee_zcl_ias_zone_emit_enroll_request(ias_object, rsp->node_id, rsp->src_ep,
+ rsp->zone_type, rsp->mfg_code);
+ }
+ break;
+ default:
+ Z_LOGE("Unexpected notification [%x]", noti_id);
+ break;
+ }
+
+ /* ZigbeeZcl_ias_zone should be dereferenced */
+ g_object_unref(ias_object);