DoIP_SetVehicleAddress
Valid for: CANoe DE NoteThis function is intended mainly for tester nodes in order to set the target vehicle address. In order to set the IP address for ECU simulation nodes, DoIP_SetLocalIPAddress should be used instead. 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
Description
Sets the address to be used by the DoIP layer. If given, the address is used to access the DoIP entity from the tester equipment, i.e. in case an IP address is used, a Vehicle Identification Request is omitted. In a vehicle simulation it will determine the adapter used for communication; in this case this function must be called in on preStart.Parameters
- address
The address of the DoIP layer. Can be a VIN, IPv4 address, IPv6 address or EID (Entity ID, typically a MAC address).
Note: If an IPv4/IPv6 address is given as address, the Vehicle Identification Sequence is omitted.