* limitations under the License.
*/
-#ifndef __ZIGBEE_LIB_ZCLIDENTIFY_CONTROL_H__
-#define __ZIGBEE_LIB_ZCLIDENTIFY_CONTROL_H__
+#ifndef __ZIGBEE_LIB_DRIVER_ZCLIDENTIFY_CONTROL_H__
+#define __ZIGBEE_LIB_DRIVER_ZCLIDENTIFY_CONTROL_H__
/**< ZigBee 'Zclidentify control' driver operations */
typedef struct {
- gboolean (*identify)(ZigBeeDriver *driver);
- gboolean (*query)(ZigBeeDriver *driver);
+ gboolean (*identify)(ZigBeeDriver *driver, guint request_id);
+ gboolean (*query)(ZigBeeDriver *driver, guint request_id);
} ZblibDriverZclidentifyControlOps_t;
+/**< ZigBee 'Zclidentify control' ops IDs */
+typedef enum {
+ ZBLIB_ZCLIDENTIFY_CONTROL_OPS_IDENTIFY = 1, /**< Identify */
+ ZBLIB_ZCLIDENTIFY_CONTROL_OPS_QUERY, /**< Query */
+} ZblibZclidentifyControlOps_e;
+
/* ZigBee 'Zclidentify control' driver APIs */
ZigBeeDriver *zblib_driver_zclidentify_control_new(ZigBeePlugin *plugin,
const gchar *driver_name,
ZblibDriverZclidentifyControlOps_t *ops);
void zblib_driver_zclidentify_control_free(ZigBeeDriver *driver);
-#endif /* __ZIGBEE_LIB_ZCLIDENTIFY_CONTROL_H__ */
+#endif /* __ZIGBEE_LIB_DRIVER_ZCLIDENTIFY_CONTROL_H__ */