DLT reader for AUTOSAR Diagnostic, Log and Trace Protocol.
Project description
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.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file dltreader-0.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: dltreader-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 27.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7914060749c89f942b090f445d53c3dde30a7e7f0e784333976c6f7e3f26feaa |
|
MD5 | ed4633d378582c624e566fc547b4d59a |
|
BLAKE2b-256 | c240e035dd222081cd3aee7cff41fad545f9df86eee85166194de3a957ac7477 |