mergCanBus

- Main Page
- Classes
- Files

- Class List
- Class Index
- Class Members

All Classes Functions Variables Typedefs
Public Member Functions | List of all members
CANMessage Class Reference

## Public Member Functions
| CANMessage (byte data[DATA_SIZE], byte header[HEADER_SIZE])
byte * | getData ()
void | setData (byte val[DATA_SIZE])
byte * | get_header ()
void | set_header (byte val[HEADER_SIZE])
void | setRTR ()
void | unsetRTR ()
bool | getRTR ()
void | clear ()
byte | getCanId ()
byte | getOpc ()
byte | getDataSize ()
void | setCanMsgSize (byte val)
byte | getCanMsgSize ()

## Member Function Documentation

void CANMessage::clear | ( |  | ) |

Clear the buffers

byte CANMessage::getOpc | ( |  | ) |

first byte contains the opc and the number of bytes in the message the first 3 bits are the number of bytes the 5 last bits are the OPC

The documentation for this class was generated from the following files:

- CANMessage.h
- CANMessage.cpp