diff options
author | Dr. Lars Völker <lars.voelker@technica-engineering.de> | 2021-08-21 14:13:36 +0200 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-09-09 09:19:36 +0000 |
commit | be7b4163dea55f242cd0f9ff6dab3a21232d9524 (patch) | |
tree | a5b3771c6d92c16710935769243df4b4d280622e /wiretap/blf.h | |
parent | a4a571e68090f8798af41d70be79d48bdafd648e (diff) |
BLF: Adding LIN support
This patch adds support for LIN Messages in BLF.
Diffstat (limited to 'wiretap/blf.h')
-rw-r--r-- | wiretap/blf.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/wiretap/blf.h b/wiretap/blf.h index 13ca1440d5..5c2522e28d 100644 --- a/wiretap/blf.h +++ b/wiretap/blf.h @@ -343,6 +343,25 @@ typedef struct blf_flexrayrcvmessageex { } blf_flexrayrcvmessageex_t; +/* see https://bitbucket.org/tobylorenz/vector_blf/src/master/src/Vector/BLF/LinMessage.h */ + +typedef struct blf_linmessage { + guint16 channel; + guint8 id; + guint8 dlc; +} blf_linmessage_t; + +typedef struct blf_linmessage_trailer { + guint8 fsmId; + guint8 fsmState; + guint8 headerTime; + guint8 fullTime; + guint16 crc; + guint8 dir; /* 0 RX, 1 TX Receipt, 2 TX Req */ + guint8 res1; + guint32 res2; +} blf_linmessage_trailer_t; + /* see https://bitbucket.org/tobylorenz/vector_blf/src/master/src/Vector/BLF/ObjectHeaderBase.h */ #define BLF_OBJTYPE_UNKNOWN 0 |