Module_Diag.GetDeviceState (METH)

METHOD GetDeviceState : DED.DEVICE_STATE

Returns the state of the device; if device state is |DEVICE_STATE.ERROR| further information can be read by |GetDeviceError|.

InOut:

Scope

Name

Type

Comment

Return

GetDeviceState

DED.DEVICE_STATE

current device state

Output

xDiagnosisInfoAvailable

BOOL

if true, diagnosis info can be read by calling |IDevice.GetDeviceDiagnosisInfo| (if supported)

eError

DED.ERROR