Skip to main content

DoIP_SetTesterUdpPort

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_SetTesterUdpPort( dword port);

Description

Sets the UDP port (UDP_TEST_EQUIPMENT_LISTEN) to be used by the DoIP layer. This function must be called in on preStart.

Parameters

  • port: The UDP_TEST_EQUIPMENT_LISTEN port of the test equipment.

Return Values

Example

dword port;
port = DiagGetCommParameter( "DoIP.TESTER_UDP_Data");
// Set the tester UDP port
DoIPSetTesterUdpPort( port);
DiagGetCommParameter