}
ad->command = command;
- ret = idm_command_set_power_cmd(command, IDM_CMD_POWER_REBOOT, NULL);
+ ret = idm_command_set_cmd_detail(command, IDM_CMD_REBOOT, NULL);
if (ret != 0) {
_E("failed to idm_command_set_power_cmd");
idm_command_free(command);
return;
}
- ret = idm_command_set_diagnosis_cmd(command, IDM_CMD_DIAGNOSIS_GET_LOG_ARCHIVE, request);
+ ret = idm_command_set_cmd_detail(command, IDM_CMD_GET_LOG_ARCHIVE, request);
g_free(request);
request = NULL;
return;
}
- ret = idm_command_set_info_cmd(command, IDM_CMD_INFO_GET_TASKINFO, request);
+ ret = idm_command_set_cmd_detail(command, IDM_CMD_GET_TASKINFO, request);
g_free(request);
request = NULL;