Raw ISO/KW2K/LIN Receive Packet -
Intrepidcs API
Main
Overview
The ISO/KW2K/LIN channel will forward all received messages to the host. Table 1 and Table 2 below details the received frame format.
When receiving a long message ( > 12 bytes) the channel will set the the long message bit. This bit means that the next received frame is part of the current message. The end of the message is indicated by the last consecutive frame with the long message bit clear.
The channel maintains a two message receive buffer. If the device does not empty this buffer before it can be read a overflow will result. If the overflow bit is set then one or more messages were lost.
Table 1 - ISO/KW2K/LIN Receive Frame Format
| BYTE 1 | BYTE 2 | BYTE 3 | BYTE 4 |
BYTES 5-16 |
| NETID_ISO |
TIMESTAMP MSB |
TIMESTAMP LSB |
See Table 2 below |
Message Bytes including ISO/LIN checksum if present |
Table 2 - Byte 4 for a Receive Frame
|
Lower Nibble Number of Bytes of frame including checksum if present |
| intrepidcs API Documentation - (C) Copyright 2000-2009 Intrepid Control Systems, Inc. |
Last Update: Thursday, May 22, 2003