Skip to main content

DoIP_GetVehicleDiscoveryTimeout, DoIP_SetVehicleDiscoveryTimeout

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_SetVehicleDiscoveryTimeout(dword toVehicleDiscovery); // form 1
dword DoIP_GetVehicleDiscoveryTimeout(); // form 2

Description

Sets or returns the timeout waiting for Vehicle Identification Response Messages after a Vehicle Identification Request was sent (in milliseconds).

Parameters

  • toVehicleDiscovery: Time in milliseconds [ms]

Return Values

  • Form 1: —
  • Form 2: Timeout waiting for Vehicle Identification Response Messages

Example

This value can also be configured in the DoIP.INI file.
// Wait longer than the standard suggests to detect more vehicles
DoIP_SetVehicleDiscoveryTimeout( 10000);