int MXCommon__SysToHardwareClock ( void *  _,
struct MXCommon__Response Response 
)
Parameters:
[in] _ No input parameter
[out] Response 
  • sResponse.iReturnValue : Return value
    • 0 : success
    • -1: system error (see syserrno)
  • sResponse.syserrno : System-error code. The value of the libc "errno" code, see MXCommon__Strerror().
Return values:
SOAP_OK SOAP call success
otherwise SOAP protocol error

If this function fails, it means the module does not have a hardware RTC, or the hardware is not functional. Check the "hwclock" subsystem status.