Rename type definiton file to following Zigbee specification
[platform/core/connectivity/zigbee-manager.git] / zigbee-daemon / zigbee-interface / src / zigbee_service_dbus_interface_zcl_identify.c
index dc6a18b..05a4c7f 100644 (file)
@@ -41,12 +41,12 @@ static gboolean on_zclidentify_control_identify(ZigbeeZcl_identify *zclidentify_
        gpointer user_data)
 {
        ZigBeeServiceInterface *service_interface = (ZigBeeServiceInterface *)user_data;
-       ZigbeeZclidentifyControlIdentify_t req;
+       ZigbeeZclIdentifyIdentify_t req;
        ZigbeeServiceInterfaceRespCbData_t *resp_cb_data = NULL;
 
        gboolean ret;
 
-       memset(&req, 0x0, sizeof(ZigbeeZclidentifyControlIdentify_t));
+       memset(&req, 0x0, sizeof(ZigbeeZclIdentifyIdentify_t));
 
        /* Update request structure */
        req.node_id = node_id;
@@ -68,8 +68,8 @@ static gboolean on_zclidentify_control_identify(ZigbeeZcl_identify *zclidentify_
 
        /* Dispatch request */
        ret = zigbee_service_dbus_interface_dispatch_request(service_interface,
-               ZBLIB_DRIVER_TYPE_ZCLIDENTIFY_CONTROL,
-               ZBLIB_ZCLIDENTIFY_CONTROL_OPS_IDENTIFY,
+               ZBLIB_DRIVER_TYPE_ZCL_IDENTIFY,
+               ZBLIB_ZCL_IDENTIFY_OPS_IDENTIFY,
                &req, sizeof(req),
                on_zclidentify_control_identify_resp, resp_cb_data);
        if (FALSE == ret) {
@@ -107,12 +107,12 @@ static gboolean on_zclidentify_control_query(ZigbeeZcl_identify *zclidentify_con
        gpointer user_data)
 {
        ZigBeeServiceInterface *service_interface = (ZigBeeServiceInterface *)user_data;
-       ZigbeeZclidentifyControlQuery_t req;
+       ZigbeeZclIdentifyQuery_t req;
        ZigbeeServiceInterfaceRespCbData_t *resp_cb_data = NULL;
 
        gboolean ret;
 
-       memset(&req, 0x0, sizeof(ZigbeeZclidentifyControlQuery_t));
+       memset(&req, 0x0, sizeof(ZigbeeZclIdentifyQuery_t));
 
        /* Update request structure */
        req.node_id = node_id;
@@ -133,8 +133,8 @@ static gboolean on_zclidentify_control_query(ZigbeeZcl_identify *zclidentify_con
 
        /* Dispatch request */
        ret = zigbee_service_dbus_interface_dispatch_request(service_interface,
-               ZBLIB_DRIVER_TYPE_ZCLIDENTIFY_CONTROL,
-               ZBLIB_ZCLIDENTIFY_CONTROL_OPS_QUERY,
+               ZBLIB_DRIVER_TYPE_ZCL_IDENTIFY,
+               ZBLIB_ZCL_IDENTIFY_OPS_QUERY,
                &req, sizeof(req),
                on_zclidentify_control_query_resp, resp_cb_data);
        if (FALSE == ret) {