commonMain.com.divpundir.mavlink.connection.MavFrameV1Impl.kt Maven / Gradle / Ivy
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
}