https://github.com/froks/dlt-core
kotlin dlt library to parse autosar dlt files
https://github.com/froks/dlt-core
automotive autosar diagnostic-log-and-trace dlt kotlin library parser
Last synced: 4 months ago
JSON representation
kotlin dlt library to parse autosar dlt files
- Host: GitHub
- URL: https://github.com/froks/dlt-core
- Owner: froks
- License: apache-2.0
- Created: 2024-06-15T20:14:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-15T17:44:44.000Z (11 months ago)
- Last Synced: 2025-08-15T19:33:06.144Z (11 months ago)
- Topics: automotive, autosar, diagnostic-log-and-trace, dlt, kotlin, library, parser
- Language: Kotlin
- Homepage:
- Size: 91.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://central.sonatype.com/artifact/io.github.froks/dlt-core)
# dlt-core
dlt-core is a kotlin library to parse autosar dlt files.
It currently only supports dlt version 1.
Usage:
Add `io.github.froks:dlt-core:` to your dependencies - see [mavencentral](https://central.sonatype.com/artifact/io.github.froks/dlt-core) for snippets.
Code:
```kotlin
DltMessageParser.parseFile(Path.of("file.dlt")).forEach {
val msg = it.dltMessage as? DltMessageV1
if (msg?.extendedHeader?.apIdText != "MYAP") {
return@forEach
}
// do stuff with msg
}
```