Skip to content

Releases: c4deszes/ldfparser

v0.8.0

01 Jun 21:56
09d1926
Compare
Choose a tag to compare

Added

  • Standard JSON schema for parsed LDFs

Fixed

  • Missing encoders causing KeyError instead of ValueError

v0.7.1

21 Apr 20:27
2d42781
Compare
Choose a tag to compare

Fixes frame encoder incorrectly encoding zero valued signals into their initial values ( #40 )

v0.7.0

04 Jan 13:46
f53956c
Compare
Choose a tag to compare

Adds a CLI interface for basic LDF tasks (#33), entrypoint is added, documentation available in the docs folder
LDF container now contains the source dictionary, may be removed in the future for performance reasons
Frames are now linked to the publishing node
Variant value now defaults to 0 instead of None

Fixes signals incorrectly being appended to the published frame list

v0.6.0

27 Nov 23:05
Compare
Choose a tag to compare

Signal and LIN node objects are now linked when subscribers and publishers are specified
Signals with no subscribers are now allowed, while this is not to spec. OEMs use it ( @kayoub5 )

The following node attributes are now parsed into the LDF objects

  • P2_min, ST_min, N_As_timeout, N_Cr_timeout

Node attributes section can now be empty ( @kayoub5 )

Schedule table commands are now correctly parsed

  • Added UnassignFrameId command which is in LIN 2.0 spec
  • AssignFrameIdRange now accepts either 0 or 4 PID values

v0.5.2

13 Nov 20:19
3e9e90c
Compare
Choose a tag to compare

Fixed AssignFrameIdRange command syntax in schedule tables ( #18 )
Allows specifying the file encoding when parsing LDF files ( #19 )
Updated comment syntax to the one used in lark commons ( #17 ) this requires lark-parser >= 0.10.0

Thanks to @kayoub5 for the contributions

v0.5.1

09 Nov 20:10
7be1f90
Compare
Choose a tag to compare

Added support for capturing comments present in the LDF
Fixed empty block comments not being allowed

v0.5.0

03 Nov 08:09
345c3fb
Compare
Choose a tag to compare

Reworked Lark parser to better support different LDF versions, 1.3 to 2.2 should be supported
Created factory method for parsing LDF files, this breaks scripts still using 0.4.1 and below
Created method for converting LDF into dictionary, example showcases this feature
Added support for reading node attributes
Added support for array type signals
Added support for BCD and ASCII values

v0.4.1

15 Oct 11:39
9004940
Compare
Choose a tag to compare

Fixed multiple slaves not being allowed in the LDF, specified in the LIN standard, section 9.2.2.1

v0.4.0

06 Oct 17:23
6a81fef
Compare
Choose a tag to compare

Added support for comments as specified in the LIN standard, section 9.3

v0.3.2

28 Sep 12:34
e2e38c0
Compare
Choose a tag to compare

Fixed signal encoding/decoding using MSB instead of LSB order specified in the LIN 2.1 standard