Skip to main content

DoIP_GetAliveCheckTimeout, DoIP_SetAliveCheckTimeout

CAPL Functions » Diagnostics » DoIP_GetAliveCheckTimeout, DoIP_SetAliveCheckTimeout Valid for: CANoe DE Note The following DoIP CAPL function is only available with the modeling library DoIP.dll and eventually an appropriate implementation of the CAPL Callback Interface. Information about the DoIP DLL and the CAPL Callback Interface you find here:

Function Syntax

void DoIP_SetAliveCheckTimeout(dword toAliveCheck_ms);
dword DoIP_GetAliveCheckTimeout();

Description

Sets or returns Alive Check Timeout (T_TCP_Alive_Check)) in milliseconds. This function must be called in on preStart.

Parameters

  • toAliveCheck_ms: The timeout parameter in milliseconds.

Return Values

  • Form 1: —
  • Form 2: The timeout parameter in milliseconds

Example

This value can also be configured in the DoIP.INI file.
// Set T_TCP_Alive_Check to 3s
DoIP_SetAliveCheckTimeout( 3000);