Skip to content
forked from keans/dltreader

Python module to read DLT files.

License

Notifications You must be signed in to change notification settings

pgn69/dltreader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Read Me

The dltreader Python module allows the reading of AUTOSAR ["Diagnostic, Log and Trace Protocol"](https://www.autosar.org/fileadmin/standards/foundation/1-0/AUTOSAR_PRS_DiagnosticLogAndTraceProtocol.pdf) files. files.

Why?

The goal of this module is to provide a simple, purely Python-based module to read .dlt files without further dependencies. Apart from that a permissive free software license shall is supported to make it usable in possible commercial contexts.

Setup

pip install -U dltreader

Example

from dlt import DltReader

with DltReader("example.dlt") as r:
    for storage_header, packet in r:
        if not packet.has_payload():
            # skip packets that do not have a payload
            continue

        print(packet)

Limitations

At current point in time the module is a PoC so should not be used in production software; besides, it is only a partial implementation of the overall standard and not optimized for performance.

Docs

Please check the docs/ directory for further details.

Related DLT projects

Python modules for DLT (without claim to be complete):

Similar projects in other programming languages:

About

Python module to read DLT files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%