Skip to main content

DoIP_SetTesterLogicalAddress

Valid for: CANoe DE Note
  • DoIP_AddEcu and DoIP_AddTester may cause on receiver side the rejection of DoIP messages with unknown logical addresses (in principle a kind of filtering).
  • DoIP_SetVehicleLogicalAddress and DoIP_SetTesterLogicalAddress determine the logical addresses used when sending.
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_SetTesterLogicalAddress(dword logicalAddress);

Description

Sets logical DoIP address of the tester used for sending. Note that ECU simulations will typically send responses to the tester address received in requests.

Parameters

  • logicalAddress: Address used (0x0000 to 0xFFFF)

Return Values

Example

DoIP_SetTesterLogicalAddress(0x1000);