Vector BLF: LinMessageDescriptor.h Source File

Vector BLF

Loading...
Searching...
No Matches
LinMessageDescriptor.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/LinSynchFieldEvent.h>
11#include <Vector/BLF/ObjectHeader.h>
12
13#include <Vector/BLF/vector_blf_export.h>
14
15namespace Vector {
16namespace BLF {
17
21 struct VECTOR_BLF_EXPORT LinMessageDescriptor : LinSynchFieldEvent {
22 void read(AbstractFile & is) override;
23 void write(AbstractFile & os) override;
24 uint32_t calculateObjectSize() const override;
25
33 uint16_t supplierId {};
34
46 uint16_t messageId {};
47
55 uint8_t nad {};
56
62 uint8_t id {};
63
69 uint8_t dlc {};
70
77 uint8_t checksumModel {};
78};
79
80}
81}
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::LinMessageDescriptor
Definition LinMessageDescriptor.h:21
Vector::BLF::LinSynchFieldEvent
Definition LinSynchFieldEvent.h:21