Documentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
_DoIP_VehicleIdentificationCompleteInd
Valid for: CANoe DE
Note
Please use only the CAPL functions described under Example. Only the functions described are guaranteed to work with the callback.
Function Syntax
void _DoIP_VehicleIdentificationCompleteInd();
Description
The vehicle identification phase has completed, i.e. the tester is about to select the vehicle to communicate with. This is called when the timeout A_DoIP_Ctrl (standard: 2 s) expires after a Vehicle Identification Request (VIR) Message has been sent. It is also called when the vehicle responds that is targeted by the VIR message, i.e. before communication with this vehicle is initiated.
Parameters
—
Return Values
—
Example
void _DoIP_VehicleIdentificationCompleteInd()
{
write( "[%.3f] _DoIP_VehicleIdentificationCompleteInd, %d vehicles found", timenow()/100000.0, gVehiclesFound);
if(gVehiclesFound > 1)
{
// Select the second vehicle that has responded
DoIP_SelectVehicle(gVehicleAnswered[gVehiclesFound – 2]);
}
// else: a single vehicle will be selected automatically
}