# `Common.Message.SerialControl`
[🔗](https://github.com/fancydrones/xmavlink/blob/main/lib/common.ex#L6636)

# `t`

```elixir
@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.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
