Common.Message.SerialControl (xmavlink_util v0.4.3)

View Source

Summary

Types

t()

Control a serial port. This can be used for raw access to an onboard serial peripheral such as a GPS or telemetry radio. It is designed to make it possible to update the devices firmware via MAVLink messages or change the devices settings. A message with zero bytes can be used to change just the baudrate.

Types

t()

@type t() :: %Common.Message.SerialControl{
  baudrate: XMAVLink.Types.uint32_t(),
  count: XMAVLink.Types.uint8_t(),
  data: [XMAVLink.Types.uint8_t()],
  device: Common.Types.serial_control_dev(),
  flags: MapSet.t(Common.Types.serial_control_flag()),
  target_component: XMAVLink.Types.uint8_t(),
  target_system: XMAVLink.Types.uint8_t(),
  timeout: XMAVLink.Types.uint16_t()
}

Control a serial port. This can be used for raw access to an onboard serial peripheral such as a GPS or telemetry radio. It is designed to make it possible to update the devices firmware via MAVLink messages or change the devices settings. A message with zero bytes can be used to change just the baudrate.