Hd can module programmer’s guide (linux) – Hatteland Display HT B22 (Fanless) User Manual
Page 17

DOC101356-1_ - rev 2 – 2013-09-24 - Created by:6644
Page 17 of 24
Hatteland Display AS, Åmsosen, N-5578 Nedre Vats, Norway
Tel: (+47) 4814 2200 - [email protected] - www.hatteland-display.com
HD CAN Module Programmer’s Guide (Linux)
All intellectual properties belongs to Hatteland Display AS
f)
J2534_ERROR_CODE
J2534::PassThruIoctl
( unsigned long
ChannelID,
J2534_IOCTL
IoctlID,
void *
pInput,
void *
pOutput
)
This function is used to read and write all the protocol hardware and software
configuration parameters. If the function is successful, a value of STATUS_NOERROR is
returned. The structures pointed to by pInput and pOutput are determined by the
IoctlID. param[in] ChannelID The channel ID assigned by the PassThruConnect function,
except in designated Ioctls where the device ID is passed instead. (!!!) param[in] IoctlID
Ioctl ID. param[in,out] *pInput Pointer to input structure. param[in,out] *pOutput
Pointer to output structure.
Returns:
Status, see function return codes in
hdj2534.h
g)
J2534_ERROR_CODE
J2534::PassThruOpen
( void *
pName,
unsigned long *
pDeviceID
)
This function is used to establish a connection and initialize the Pass-Thru Device. This
function must be called one time before any other function with the exception of
PassThruGetLastError. Any function called before a successful call to PassThruOpen must
return ERR_INVALID_DEVICE_ID. If the function is successful, a value of
STATUS_NOERROR is returned. The Device ID returned is used as a handle to the
initialized SAE
J2534
device.
Parameters:
[in]
*pName
Used for selecting which device to use (reserved
in
J2534
spec).
[out]
*pDeviceID
Pointer to location for the device ID that is assigned by the
library.
Returns:
Status, see function return codes in
hdj2534.h
.
- 26 inch - HD 26T21 MMC (Widescreen) 24 inch - HD 24T21 MMC (Widescreen) 19 inch - HD 19T21 MMC 17 inch - HD 17T21 MMC 15 inch - HD 15T21 MMC 12 inch - HD 12T21 MMC 13 inch - HD 13T21 MMC (Widescreen, Inte Cor2 Duo CPU) 13 inch - HD 13T21 MMC (Widescreen, Inte Ato CPU) 8 inch - HD 08T21 MMC (Widescreen)