2 * Copyright (c) 2016 Samsung Electronics Co., Ltd. All rights reserved.
4 * Contact: Suresh Kumar N (suresh.n@samsung.com)
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
19 #ifndef __ZIGBEE_ZCL_ALARM_TYPE_H__
20 #define __ZIGBEE_ZCL_ALARM_TYPE_H__
22 #include <zigbee_types.h>
25 * @brief Definition for ZCL Alarm get alarm count structure.
29 char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
30 char endpoint; /**< Endpoint */
31 } ZigbeeZclAlarmGetAlarmCount_t;
34 * @brief Definition for ZCL Alarm reset alarm structure.
38 short node_id; /**< Node ID */
39 char endpoint; /**< Endpoint */
40 char alarm_code; /**< Alarm code */
41 short cluster_id; /**< Cluster ID */
42 } ZigbeeZclAlarmResetAlarm_t;
45 * @brief Definition for ZCL Alarm reset all alarm structure.
49 short node_id; /**< Node ID */
50 char endpoint; /**< Endpoint */
51 } ZigbeeZclAlarmResetAllAlarm_t;
54 * @brief Definition for ZCL Alarm alarm structure.
58 char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
59 char endpoint; /**< Endpoint */
60 char alarm_code; /**< Alarm code */
61 short cluster_id; /**< Cluster ID */
62 } ZigbeeZclAlarmAlarm_t;
65 * @brief Definition for ZCL Alarm reset all alarm logs structure.
69 short node_id; /**< Node ID */
70 char endpoint; /**< Endpoint */
71 } ZigbeeZclAlarmResetAlarmLogs_t;
74 * @brief Definition for ZCL Alarm get alarm structure.
78 short node_id; /**< Node ID */
79 char endpoint; /**< Endpoint */
80 } ZigbeeZclAlarmGetAlarm_t;
82 #endif /* __ZIGBEE_ZCL_ALARM_TYPE_H__ */