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

Page 21

Advertising
background image

DOC101356-1_ - rev 2 – 2013-09-24 - Created by:6644

Page 21 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


l)

J2534_ERROR_CODE

J2534::PassThruStartPer

iodicMsg

( unsigned long

ChannelID,

PASSTHRU_MS
G

*

pMsg,

unsigned long
*

pMsgID,

unsigned long

TimeInterv
al

)

This function will immediately queue the specified message for transmission, and repeat
at the specified interval. Periodic messages are limited in length to a single frame
message of 12 bytes or less, including header or CAN ID. If the function is successful, a
value of STATUS_NOERROR is returned. The Pass-Thru device must support a minimum

of ten periodic messages.

Parameters:

[in]

ChannelID

The channel ID assigned by the PassThruConnect function.

[in]

*pMsg

Pointer to message structure(s).

[in]

*pMsgID

Pointer to location for the message ID that is assigned by the
library.

[in]

TimeInterval

Time interval between the start of successive transmissions of
this message, in milliseconds. The valid range is 5-65535
milliseconds.

Returns:

Status, see function return codes in

hdj2534.h

.

m)

J2534_ERROR_CODE

J2534::PassThruStopMsgFilter

(

unsigned
long

ChannelID,

unsigned
long

FilterID

)

This function removes the specified filter. If the function is successful, a value of
STATUS_NOERROR is returned. After this call the FilterID will be invalid.

Parameters:

[in]

ChannelID

The channel ID assigned by the PassThruConnect function.

[in]

FilterID

Filter ID that is assigned by the PassThruStartMsgFilter function.

Returns:

Status, see function return codes in

hdj2534.h

.

Advertising