Skip to main content

DoIP_ConfigureVehicleAnnouncement

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_ConfigureVehicleAnnouncement(dword toInitial_ms, dword messageCount, dword toInterval_ms);

Description

Configures when the Vehicle Announcement Messages are sent.

Parameters

  • toInitial_ms
    Initial timeout before sending the first announcement message after measurement start.
    Note
    This parameter is ignored, if the function DoIP_AnnounceVehicle is used for sending Vehicle Announcement Messages.
  • messageCount
    Number of announcement messages sent when the measurement starts, or DoIP_AnnounceVehicle is called.
  • toInterval_ms
    Time between the announcement messages when more than 1 is configured.

Return Values

Example

// Send 5 announcement messages after 200 ms, with 100 ms interval
DoIP_ConfigureVehicleAnnouncement( 200, 5, 100);
DoIP_AnnounceVehicle();
DoIP_GetAnnounceIntervalDoIP_GetAnnounceMessageCountDoIP_GetAnnounceMessageCountDoIP_AnnounceVehicle