MDF Lib 2.2
Interface against MDF 3/4 files
Loading...
Searching...
No Matches
canmessage.h File Reference

Simple wrapper around a CAN or CAN FD message. More...

#include "mdf/samplerecord.h"
Include dependency graph for canmessage.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mdf::CanMessage
 Helper class when logging CAN and CAN FD messages. More...
 

Namespaces

namespace  mdf
 Main namespace for the MDF library.
 

Enumerations

enum class  mdf::CanErrorType : uint8_t {
  mdf::UNKNOWN_ERROR = 0 , mdf::BIT_ERROR = 1 , mdf::FORM_ERROR = 2 , mdf::BIT_STUFFING_ERROR = 3 ,
  mdf::CRC_ERROR = 4 , mdf::ACK_ERROR = 5
}
 Enumerate yhat defines type of CAN bus error. More...
 
enum class  mdf::MessageType : int { mdf::CAN_DataFrame , mdf::CAN_RemoteFrame , mdf::CAN_ErrorFrame , mdf::CAN_OverloadFrame }
 Enumerate that defines type of CAN messages. More...
 

Detailed Description

The class is a simpler wrapper around a CAN message. It is used when logging on CAN buses.