Main Page   Data Structures   File List   Data Fields   Globals  

canmsg_t Struct Reference

The CAN message structure. More...

#include <can4linux.h>


Data Fields

int flags
 flags, indicating or controlling special message properties.

int cob
 CAN object number, used in Full CAN.

unsigned long id
 CAN message ID, 4 bytes.

timeval timestamp
 time stamp for received messages.

short int length
 number of bytes in the CAN message.

unsigned char data [CAN_MSG_LENGTH]
 data, 0...8 bytes.


Detailed Description

The CAN message structure.

Used for all data transfers between the application and the driver using read() or write().


Generated at Die Aug 20 08:08:32 CEST 2002 CAN driver can4linux by port GmbH service@port.de , © 1997-2001