mavlink v0.9.0 MAVLink.Types View Source

Core types that remain the same across dialects.

Link to this section Summary

Types

Connection delegate modules for MAVLink.Router

A CRC_EXTRA checksum

64-bit signed float

1 -> not an array 2..255 -> an array

Type used for field in encoded message

16-bit signed integer

32-bit signed integer

64-bit signed integer

8-bit signed integer

A system/component id tuple

A MAVLink message id

A 4-tuple network address

A non-reserved network port

A parameter description

A list of parameter descriptions

MAVLink message sequence number

16-bit unsigned integer

32-bit unsigned integer

64-bit unsigned integer

8-bit unsigned integer

MAVLink protocol version

Link to this section Types

Link to this type

connection() View Source
connection() ::
  MAVLink.SerialConnection
  | MAVLink.TCPConnection
  | MAVLink.UDPInConnection
  | MAVLink.UDPOutConnection

Connection delegate modules for MAVLink.Router

Link to this type

crc_extra() View Source
crc_extra() :: 0..255

A CRC_EXTRA checksum

Link to this type

double() View Source
double() :: Float64

64-bit signed float

Link to this type

field_ordinality() View Source
field_ordinality() :: 1..255

1 -> not an array 2..255 -> an array

Link to this type

field_type() View Source
field_type() ::
  int8_t()
  | int16_t()
  | int32_t()
  | int64_t()
  | uint8_t()
  | uint16_t()
  | uint32_t()
  | uint64_t()
  | char()
  | float()
  | double()

Type used for field in encoded message

Link to this type

int16_t() View Source
int16_t() :: -32768..32767

16-bit signed integer

Link to this type

int32_t() View Source
int32_t() :: -2_147_483_647..2_147_483_647

32-bit signed integer

64-bit signed integer

Link to this type

int8_t() View Source
int8_t() :: -128..127

8-bit signed integer

A MAVLink message id

Link to this type

net_address() View Source
net_address() :: {0..255, 0..255, 0..255, 0..255}

A 4-tuple network address

Link to this type

net_port() View Source
net_port() :: 1024..65535

A non-reserved network port

Link to this type

param_description() View Source
param_description() :: {pos_integer(), String.t()}

A parameter description

Link to this type

param_description_list() View Source
param_description_list() :: [param_description()]

A list of parameter descriptions

Link to this type

sequence_number() View Source
sequence_number() :: 0..255

MAVLink message sequence number

Link to this type

uint16_t() View Source
uint16_t() :: 0..65535

16-bit unsigned integer

Link to this type

uint32_t() View Source
uint32_t() :: 0..4_294_967_295

32-bit unsigned integer

64-bit unsigned integer

Link to this type

uint8_t() View Source
uint8_t() :: 0..255

8-bit unsigned integer

Link to this type

version() View Source
version() :: 1 | 2

MAVLink protocol version