Vector BLF: LinReceiveError.h Source File

Vector BLF

Loading...
Searching...
No Matches
LinReceiveError.h
1// SPDX-FileCopyrightText: 2013-2021 Tobias Lorenz <tobias.lorenz@gmx.net>
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#pragma once
6
7#include <Vector/BLF/platform.h>
8
9#include <Vector/BLF/AbstractFile.h>
10#include <Vector/BLF/ObjectHeader.h>
11
12#include <Vector/BLF/vector_blf_export.h>
13
14namespace Vector {
15namespace BLF {
16
38 struct VECTOR_BLF_EXPORT LinReceiveError final : ObjectHeader {
39 LinReceiveError();
40
41 void read(AbstractFile & is) override;
42 void write(AbstractFile & os) override;
43 uint32_t calculateObjectSize() const override;
44
50 uint16_t channel {};
51
57 uint8_t id {};
58
64 uint8_t dlc {};
65
70 uint8_t fsmId {};
71
76 uint8_t fsmState {};
77
82 uint8_t headerTime {};
83
87 uint8_t fullTime {};
88
121 uint8_t stateReason {};
122
128 uint8_t offendingByte {};
129
138 uint8_t shortError {};
139
147 uint8_t timeoutDuringDlcDetection {};
148
150 uint32_t reservedLinReceiveError {};
151};
152
153}
154}
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::LinReceiveError::channel
uint16_t channel
application channel
Definition LinReceiveError.h:50
Vector::BLF::LinReceiveError::read
void read(AbstractFile &is) override
Definition LinReceiveError.cpp:14
Vector::BLF::LinReceiveError::fsmState
uint8_t fsmState
Definition LinReceiveError.h:76
Vector::BLF::LinReceiveError::timeoutDuringDlcDetection
uint8_t timeoutDuringDlcDetection
Definition LinReceiveError.h:147
Vector::BLF::LinReceiveError::headerTime
uint8_t headerTime
Definition LinReceiveError.h:82
Vector::BLF::LinReceiveError::offendingByte
uint8_t offendingByte
Definition LinReceiveError.h:128
Vector::BLF::LinReceiveError::write
void write(AbstractFile &os) override
Definition LinReceiveError.cpp:30
Vector::BLF::LinReceiveError::calculateObjectSize
uint32_t calculateObjectSize() const override
Definition LinReceiveError.cpp:46
Vector::BLF::LinReceiveError::shortError
uint8_t shortError
Definition LinReceiveError.h:138
Vector::BLF::LinReceiveError::fsmId
uint8_t fsmId
Definition LinReceiveError.h:70
Vector::BLF::LinReceiveError::dlc
uint8_t dlc
LIN DLC.
Definition LinReceiveError.h:64
Vector::BLF::LinReceiveError::stateReason
uint8_t stateReason
Definition LinReceiveError.h:121
Vector::BLF::LinReceiveError::fullTime
uint8_t fullTime
Definition LinReceiveError.h:87
Vector::BLF::LinReceiveError::reservedLinReceiveError
uint32_t reservedLinReceiveError
Definition LinReceiveError.h:150