All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.divpundir.mavlink.connection.MavFrameV1Impl.kt Maven / Gradle / Ivy

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
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy