commonMain.com.divpundir.mavlink.connection.MavFrameV1Impl.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of connection-core Show documentation
Show all versions of connection-core Show documentation
A modern MAVLink library for the JVM written in Kotlin.
The newest version!
package com.divpundir.mavlink.connection
import com.divpundir.mavlink.api.MavFrameV1
internal data class MavFrameV1Impl(
private val rawFrame: MavRawFrame,
override val message: T
) : MavFrameV1 {
override val sequence: UByte get() = rawFrame.seq
override val systemId: UByte get() = rawFrame.systemId
override val componentId: UByte get() = rawFrame.componentId
override val checksum: UShort get() = rawFrame.checksum
}