IoDrvKNXDiag.GetDeviceState (METH)
METHOD GetDeviceState : 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
GetDeviceStateDEVICE_STATEcurrent device state
Output
xDiagnosisInfoAvailableBOOLif true, diagnosis info can be read by calling |IDevice.GetDeviceDiagnosisInfo| (if supported)
eErrorERROR