Syntax
#include "j2534_v0404.h"long
PassThruReadVersion(unsigned long DeviceID, char
*pFirmwareVersion, char * pDllVersion,
char
*pApiVersion);
Description
Retrieve the PassThru device firmware version, the
PassThru device DLL version, and the version of the
J2534 specification that was referenced. The version
information is in the form of NULL terminated strings.
Parameters
- DeviceID
- Vehicle interface identifier.
- FirmwareVersion
- Pointer to an 80 character array, allocated by
the application, which will receive the firmware
version string.
- DllVersion
- Pointer to an 80 character array, allocated by
the application, which will receive the DLL version
string.
- ApiVersion
- Pointer to an 80 character array, allocated by
the application, which will receive the API version
string in YY.MM format. It
corresponds to the ballot date of the J2534
specification that was referenced by the PassThru
DLL implementers.
See Also
Example
unsigned long DeviceID;
char FirmwareVersion[80];
char DllVersion[80];
char ApiVersion[80];
PassThruOpen(NULL, &DeviceID);
PassThruReadVersion(DeviceID, FirmwareVersion, DllVersion, ApiVersion);
|