DoIP_SelectVehicle
Valid for: CANoe DE NoteThese functions only work if the tester program uses the built-in DoIP channels, i.e. they do not work if the tester program uses the CAPL Callback Interface (CCI).
Function Syntax
Description
Specify which vehicle the tester shall target, i.e. indicate in the Vehicle Identification Request Message, or select one of the responding vehicles for communication.- If this function is called before a Vehicle Identification Request (VIR) Message is sent, it will set the Vehicle Identification Number (VIN) or Entity ID (EID) in the VIR messages.
- If this function is called during a vehicle identification phase, a matching vehicle will be selected if its Vehicle Identification Response (or Announcement Message, VAM) has been received. It is possible to call this function from the DoIP_VehicleIdentificationCompleteInd callback.
Parameters
- EID: (6 bytes) entity ID, typically an Ethernet MAC address.
- VIN: The vehicle identification number (17 characters). If an empty string is given, VIR messages without parameter are sent.