* limitations under the License.
*/
-#ifndef __ZIGBEE_LIB_DRIVER_ZCLIDENTIFY_CONTROL_H__
-#define __ZIGBEE_LIB_DRIVER_ZCLIDENTIFY_CONTROL_H__
+#ifndef __ZIGBEE_LIB_DRIVER_ZCL_IDENTIFY_H__
+#define __ZIGBEE_LIB_DRIVER_ZCL_IDENTIFY_H__
-/**< ZigBee 'Zclidentify control' driver operations */
+/**< ZigBee 'ZCL Identify' driver operations */
typedef struct {
- gboolean (*identify)(ZigBeeDriver *driver, guint request_id);
- gboolean (*query)(ZigBeeDriver *driver, guint request_id);
-} ZblibDriverZclidentifyOps_t;
+ gboolean(*identify) (ZigBeeDriver *driver, guint request_id);
+ gboolean(*query) (ZigBeeDriver *driver, guint request_id);
+} ZblibDriverZclIdentifyOps_t;
-/**< ZigBee 'Zclidentify control' ops IDs */
+/**< ZigBee 'ZCL Identify' ops IDs */
typedef enum {
- ZBLIB_ZCLIDENTIFY_CONTROL_OPS_IDENTIFY = 1, /**< Identify */
- ZBLIB_ZCLIDENTIFY_CONTROL_OPS_QUERY, /**< Query */
-} ZblibZclidentifyOps_e;
+ ZBLIB_ZCL_IDENTIFY_OPS_IDENTIFY = 1, /**< Identify */
+ ZBLIB_ZCL_IDENTIFY_OPS_QUERY, /**< Query */
+} ZblibZclIdentifyOps_e;
-/* ZigBee 'Zclidentify control' driver APIs */
+/**< ZigBee 'ZCL Identify' notification IDs */
+typedef enum {
+ ZBLIB_ZCL_IDENTIFY_NOTI_QUERY_RSP = 1, /**< Identify Query Response */
+} ZblibZclIdentifyNoti_e;
+
+
+/* ZigBee 'ZCL Identify' driver APIs */
ZigBeeDriver *zblib_driver_zcl_identify_new(ZigBeePlugin *plugin,
const gchar *driver_name,
- ZblibDriverZclidentifyOps_t *ops);
+ ZblibDriverZclIdentifyOps_t *ops);
void zblib_driver_zcl_identify_free(ZigBeeDriver *driver);
-#endif /* __ZIGBEE_LIB_DRIVER_ZCLIDENTIFY_CONTROL_H__ */
+#endif /* __ZIGBEE_LIB_DRIVER_ZCL_IDENTIFY_H__ */