Skip to content

Conversion improvements #2

Description

@janimm

Let me propose some improvements into the conversion.

  • units="None" can be omitted from the output
  • units="deg C", units="deg F" or units="deg K" should be units="C", units="F", units="K"
  • signed="false" can be omitted from the output
  • rangeMin="None" and rangeMax="None" can be omitted from the output
  • endianess="little" can be omitted from the output, especially from value tags when endianess is already set into owning frame.
  • the startbit and bitcount attributes should be replaced by offset and length attributes when they fit into 8 bit boundaries. This gives some performance benefits when parsing incoming data. For example:
    • startbit="0" bitcount="8" -> replaced by offset="0" length="1"
    • startbit="16" bitcount="16" -> replaced by offset="2" length="2"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions