int MSXE351x__SingleWatchdogGetStatusAndValue ( xsd__unsignedLong  ulWatchdog,
xsd__unsignedLong  ulOption1,
xsd__unsignedLong  ulOption2,
struct MSXE351x__SingleWatchdogGetStatusAndValueResponse Response 
)
Parameters:
[in] ulWatchdog : Watchdog index.
[in] ulOption1 : Reserved. Set to 0
[in] ulOption2 : Reserved. Set to 0
[out] Response :
sResponse.iReturnValue :

  • 0: OK
  • -1: Means an system error occured (check errno in this case)
  • -2: Wrong watchdog index.
  • -100 : Kernel function error

ulStatus : Watchdog status

  • 0: Disabled
  • 1: Running
  • 2: Disabled and run down
  • 3: Enabled and run down

ulValue : Current watchdog down counter value (0 to 65535)
ulInfo : reserved
sResponse.syserrno : system-error code (the value of the libc "errno" code)

Returns:
  • 0: SOAP_OK
  • <> 0: See SOAP error