Hd can module programmer’s guide (windows) – Hatteland Display HT B22 (Fanless) User Manual
Page 17
![background image](/manuals/737785/17/background.png)
DOC101357-1_ - rev 2 – 2013-09-23 - Created by:6644
Page 17 of 25
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 (Windows)
All intellectual properties belongs to Hatteland Display AS
c)
J2534_ERROR_CODE
J2534::PassThruDisconne
ct
(
unsigned
long
ChannelI
D
)
This function is used to terminate a logical connection with a protocol channel. If the
function is successful, a value of STATUS_NOERROR is returned. After this call, all filters
associated with the channel will be cleared, all periodic messages associated with the
channel will be stopped, the associated pins will return to their default state (see Section
6.8) and the Channel ID will no longer be valid.
Parameters:
[in]
ChannelID
The channel ID assigned by the PassThruConnect function.
Returns:
Status Disconnect request status, see function return codes in
hdj2534.h
.
d)
J2534_ERROR_CODE
J2534::PassThruGetLastError
(
char
*
pErrorDescriptio
n
)
This function returns the text string description for an error detected during the last
function call (except PassThruGetLastError). The error string must be retrieved before
calling any other function. The buffer pointed to by pErrorDescription is allocated by the
application and must be at least eighty (80) characters.
Parameters:
[in]
*pErrorDescription
Pointer to buffer for error description string.
Returns:
Status, see function return codes in
hdj2534.h
.
e)
J2534_ERROR_CODE
J2534::PassThruGetStat
us
( unsigned long
ChannelID
,
unsigned long
*
Status
)
This method was added to give the user-application a way to read the status of the CAN-
Gateway and maps to the CAN-Status Register in the LPC17xx. This works for RAWCAN
only.
Parameters:
[in]
ChannelID
Channel ID returned from PassThruOpen.
[out]
*Status
Pointer to location for the Status to set to.
Returns:
Connect request status.
- 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)