Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 664 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 664 Bytes

Maven Central

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:<version> to your dependencies - see mavencentral for snippets.

Code:

DltMessageParser.parseFile(Path.of("file.dlt")).forEach { 
    val msg = it.dltMessage as? DltMessageV1
    if (msg?.extendedHeader?.apIdText != "MYAP") {
        return@forEach
    }
    // do stuff with msg
}