Command ‘f’ – clear all pass filters, Command ‘e’ – add a handshake filter – Innovate Motorsports OT-2 SDK User Manual

Page 41

Advertising
background image

41

Command ‘f’ – Clear all Pass Filters

Sent:

1 byte
{

U8 Cmd;

// ‘f’

}


Responds:

1 byte
{

U8 Result;

// Should be 0

}


Notes:

Clear all pass filters. New filters are added with ‘F’
(above).

Command ‘E’ – Add a Handshake Filter

Sent:

9 bytes
{

U8 Cmd;

// ‘E’

U32 Identifier;

// Identifier to pass on/FC

U32 HSAddress;

// Identifier to send FC messages
// to

}


Responds:

1 byte
{

U8 Result;

// Number of handshake filters in
// use

}


Notes:

Reminder, the U32 values above are in little endian!

These filters do two things. First, they specify and
identifier to pass on. Second, matching identifier messages
are checked for ISO 15765 flow control messages. If a
multipart message is detected, a flow control message is
sent to the identifier specified in HSAddress. Although
standard OBD-II messages use a -8 offset for standard CAN
messages and a BYTE swap (src/dest) for extended CAN
messages, this is not honored in vehicle specific
applications.

Advertising