svlad-90 / DLT-Message-Analyzer

"Extended search" plugin for the DLT-viewer
Other
76 stars 13 forks source link

[CONSOLE_VIEW] convert-txt-to-dlt-file function does not work with dlt-viewer 2.24.0 #175

Closed svlad-90 closed 1 year ago

svlad-90 commented 1 year ago

Describe the bug

The dlt-viewer 2.24.0 has switched to the v2 dlt protocol.

Old protocol - https://www.autosar.org/fileadmin/standards/R20-11/FO/AUTOSAR_PRS_LogAndTraceProtocol.pdf New protocol - https://www.autosar.org/fileadmin/standards/R22-11/FO/AUTOSAR_PRS_LogAndTraceProtocol.pdf

It seems that we should support that in 'convert-txt-to-dlt-file' console function.

Without that support, the generated dlt file is opened with no visible messages.

To Reproduce

Steps to reproduce the behavior:

  1. Use 'convert-txt-to-dlt-file' console function to generate a dlt file out of any textual data
  2. Try to open the file
  3. Observe the empty content in the "Payload" column

Expected behavior

  1. Documentation says, that version 1 of dlt protocol remains supported. So there is certainly a bug in the current implementation of the 'convert-txt-to-dlt-file' function.
  2. We need support of the generation of the dlt files with v2 protocol, as v1 protocol will be removed one day

Desktop (please complete the following information):