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

CAN frame decoding API and result types. 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
}
 Outcome of signal extraction and physical conversion. More...
 
enum class  FrameDecodeStatus {
  UnknownFrame , InsufficientPayload , SignalErrors , Valid ,
  AmbiguousFrame
}
 

Detailed Description

CAN frame decoding API and result types.

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

Outcome of signal extraction and physical conversion.

Definition at line 33 of file dbc_decoder.h.

◆ FrameDecodeStatus

enum class FrameDecodeStatus
strong

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

Definition at line 43 of file dbc_decoder.h.