Copyright 2017. All rights reserved. Advantech Co. Ltd.
Page 59
wait function completed.
wait function OK.
Figure 44: The ‘wait’ Command
3.10.3.8
status
The ‘status’ command retrieves the current status of a specific diagnostic or update
function:
cli > status <service ID> <function ID>
For example, check the current status of cpu_ver function which is in cpu diagnostic service
(see
Sections 3.10.3.3
cli > status 1 3
status code: st_ready
Figure 45: The ‘status’ Command
The status codes returned are:
st_ready = the diagnostic/update function is ready to run
st_notready = the diagnostic/update function is not ready to run
st_stopped = the diagnostic/update function is either stopped or cancelled
st_running = the diagnostic/update function is running
st_error = the diagnostic/update function is executed but returned with error
3.10.3.9
result
This command returns the last time execution result of a specific diagnostic/update function:
cli > result <service ID> <Function ID>
The command below returns the last time execution result of cpu_ver function (see
Sections
and
cli > result 1 3
exit code : ERR_SUCCESS
error message: OK
success count: 1
fail count : 0
test log : /var/log/dui_01_03_20180531_073510401.log
Figure 46: The ‘result’ Command
3.10.3.10
info
The ‘info’ command provides the detailed information for a specific diagnostic/update
function, such as function description, service impact level as well as default parameter
values or current parameter values:
cli > info <service ID> <Function ID>
The command below returns the information about the cpu_ver function (see
Section