Manual

DOC101356-1_ - rev 2 2013-09-24 - Created by:6644
Page 19 of 24
Hatteland Display AS, Åmsosen, N-5578 Nedre Vats, Norway
Tel: (+47) 4814 2200 - mail@hatteland-display.com - www.hatteland-display.com
HD CAN Module Programmer’s Guide (Linux)
All intellectual properties belongs to Hatteland Display AS
i) J2534_ERROR_CODE J2534::PassThruReadVersion
(
unsigned
long
DeviceID,
char *
pFirmwareVer
sion,
char *
pLibVersion,
char *
pApiVersion
)
This function returns the version strings associated with the library. If the function is
successful, a value of STATUS_NOERROR is returned. A buffer of at least eighty (80)
characters must be allocated for each pointer by the application.
Parameters:
[in]
DeviceID
Device ID returned from PassThruOpen.
[out]
*pFirmwareVersion
Pointer to Firmware version string.
[out]
*pLibVersion
Pointer to library version string.
[out]
*pApiVersion
Pointer to API version string in YY. MM format.
Returns:
Status, see function return codes in hdj2534.h.
Note:
THIS FUNCTION IS NOT IMPLEMENTED. It is only provided to comply with
the J2534 specification.
j) J2534_ERROR_CODE J2534::PassThruSetProgramm
ingVoltage
(
unsigned
long
DeviceID,
unsigned
long
PinNumb
er,
unsigned
long
Voltage
)
This function sets a single programming voltage on a single specific pin.
Parameters:
[in]
DeviceID
Device ID returned from PassThruOpen.
[in]
PinNumber
The pin on which the programming voltage will be set.
[in]
Voltage
The voltage (in millivolts) to be set.
Returns:
Status (Always ERR_NOT_SUPPORTED), see function return codes in hdj2534.h.
Note:
THIS FUNCTION IS NOT IMPLEMENTED. It is only provided to comply with
the J2534 specification.