Package-level declarations

Types

Link copied to clipboard

A connection state aware abstract implementation of MavConnection.

Link copied to clipboard
class BufferedMavConnection(source: BufferedSource, sink: BufferedSink, resource: Closeable, dialect: MavDialect) : MavConnection

A MavConnection implementation that reads MavFrames form a BufferedSource and writes them to a BufferedSink. The dialect is used to deserialize the raw frame to a MavFrame. The resource is the origin of the source and the sink. For example, a TCP Socket or a serial port.

Link copied to clipboard
interface MavConnection : Closeable

A connection interface with a MAVLink device.

Link copied to clipboard
data class MavRawFrame(val stx: UByte, val len: UByte, val incompatFlags: UByte, val compatFlags: UByte, val seq: UByte, val systemId: UByte, val componentId: UByte, val messageId: UInt, val payload: ByteArray, val checksum: UShort, val signatureLinkId: UByte, val signatureTimestamp: UInt, val signature: ByteArray, val rawBytes: ByteArray)

Represents a mid-level MAVLink Frame, i.e., a frame that is in between a fully deserialized high-level object, and a wire-format ByteArray.

Link copied to clipboard
sealed interface StreamState

Represents the state of a MavConnection stream.