DBC Framework
DBC parsing and CAN signal decoding framework
Loading...
Searching...
No Matches
dbc_decoder.h File Reference

Created: 2026-03-13 Author: Deeaitch (Dim. Himro) More...

#include <cstdint>
#include <variant>
#include <vector>
#include "decode_database.h"

Go to the source code of this file.

Classes

struct  RawCanFrame
 Raw CAN frame used for runtime or trace decoding. More...
 
struct  DecodedSignalValue
 One decoded signal value. More...
 
struct  DecodedFrameValue
 Fully decoded frame. More...
 
class  DbcDecoder
 Runtime CAN decoder using prebuilt decode database. More...
 

Enumerations

enum class  SignalDecodeStatus {
  InvalidDefinition , InsufficientPayload , SelectorUnavailable , Inactive ,
  Valid , PhysicalConversionFailed
}
 
enum class  FrameDecodeStatus { UnknownFrame , InsufficientPayload , SignalErrors , Valid }
 

Detailed Description

Created: 2026-03-13 Author: Deeaitch (Dim. Himro)

Licensed under the MIT License. See LICENSE file in the project root for full license text.

Definition in file dbc_decoder.h.

Enumeration Type Documentation

◆ SignalDecodeStatus

enum class SignalDecodeStatus
strong

Definition at line 32 of file dbc_decoder.h.

◆ FrameDecodeStatus

enum class FrameDecodeStatus
strong

Frame summary: short payload takes precedence over individual signal errors.

Definition at line 42 of file dbc_decoder.h.