ndDoIPSendVehicleIdentReqVIN
- Updated2025-10-07
- 1 minute(s) read
Purpose
Sends a UDP request to all DoIP-capable vehicles with a certain VIN (Vehicle Identification Number) in the local subnet to identify themselves.
Format
long ndDoIPSendVehicleIdentReqVIN(
TD1 *diagRef,
char VIN[]);
Input
diagRef
Specifies the handle for the diagnostic session, obtained from ndOpenDiagnosticOnIPStack and passed to subsequent diagnostic functions. Normally, it is not necessary to manually manipulate the elements of this struct.
VIN
The 17-character Vehicle Identification Number of the DoIP entity that is assumed to respond (zero-terminated string). Output
Return Value
The return value indicates the function call status as a signed 32-bit integer. Zero means the function executed successfully. A negative value specifies an error, which means the function did not perform the expected behavior. A positive value specifies a warning, which means the function performed as expected, but a condition arose that may require attention.
Use the ndStatusToString function to obtain a descriptive string for the return value.
DescriptionndDoIPSendVehicleIdentReqVIN sends a Vehicle Identification Request to all DoIP entities in the local subnet identified by the given VIN.
Usually, this is done as part of ndDoIPGetEntities and does not need to be executed separately.
To specify a different broadcast address than the local subnet on the default Network Interface Controller, use the ndDoIPSendVehicleIdentReqVINEx function.