Type Alias ProtocolVersion

Source
pub type ProtocolVersion = ProtocolVersion;
Expand description

Originally defined in minimal::messages::protocol_version.

Aliased Type§

struct ProtocolVersion {
    pub version: u16,
    pub min_version: u16,
    pub max_version: u16,
    pub spec_version_hash: [u8; 8],
    pub library_version_hash: [u8; 8],
}

Fields§

§version: u16

MAVLink field version.

Currently active MAVLink version number * 100: v1.0 is 100, v2.0 is 200, etc.

§min_version: u16

MAVLink field min_version.

Minimum MAVLink version supported

§max_version: u16

MAVLink field max_version.

Maximum MAVLink version supported (set to the same value as version by default)

§spec_version_hash: [u8; 8]

MAVLink field spec_version_hash.

The first 8 bytes (not characters printed in hex!) of the git hash.

§library_version_hash: [u8; 8]

MAVLink field library_version_hash.

The first 8 bytes (not characters printed in hex!) of the git hash.