> **Sokil documentation pack**
> Language: English
> Station software: 20261126_usb_cameras
> UI build: c6b2dc620
> Generated: 2026-11-26
> Generated by the Sokil ground station UI from the documentation it ships. Download it again after every software update - the pack describes the version it was generated from.

<a id="mavlink-radio"></a>

# A radio that speaks MAVLink

**Summary:** Flying from Skyline LRS, ELRS in MAVLink mode or SineLink - the station reads the sticks out of the radio's own MAVLink stream, with no CRSF adapter and nothing extra to install.

**Audience:** field integrators

Open in the UI: http://10.1.1.30/help/guides/mavlink-radio

Most Sokil kits read the pilot's sticks as CRSF: a handset, an ESP32 adapter on USB, and the
station passing the channels on. Some radios do not work that way. **Skyline LRS**, **ELRS in
MAVLink mode** and **SineLink** hand you the sticks as MAVLink instead, the same protocol the
aircraft's telemetry already uses.

Since 2026-09-18 that is an input of its own. The station opens the radio's MAVLink stream, reads
the channels out of it, and everything downstream - RC actions, the channel map, the CRSF that
goes out to the aircraft - works exactly as it does with a handset. Nothing extra is installed on
the pilot's computer.

[Handset and CRSF](handset-crsf.md#handset-crsf) is the page for the ordinary adapter path. Read this
one only if your radio speaks MAVLink.

<a id="mavlink-radio--what-it-looks-like-in-the-interface"></a>

### What it looks like in the interface

One card: **MAVLink RC**, on [Control](http://10.1.1.30/gs/control-settings) > **RC Wiring**. It is the MAVLink row
of the **RC input** card - open that row and the card's settings are inside it.

This input is in testing and may not be offered on every station yet; an admin always sees it on
a station that already has the input switched on. It is a ground-station card - a camera never
shows it.

The card carries an enable switch (parameter `rc_mavlink_enabled`) and these rows:

| Row                                                                              | What it is                                                                                               |
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| **Connection** (parameter `rc_mavlink_transport`)                                       | **TCP - connect to the radio**, **UDP - listen for the radio**, or **Serial port**. TCP is the usual one |
| **Radio address** (parameter `rc_mavlink_tcp_addr`)                                     | where to dial, on TCP. Two quick picks: **This computer** and **The pilot's computer**                   |
| **Listen address (in)** (parameter `rc_mavlink_in_addr`)                                | the port to bind, on UDP. `0.0.0.0:14542` by default                                                     |
| **Serial port** (parameter `rc_mavlink_serial`) and **Baudrate** (parameter `rc_mavlink_baud`) | a radio module wired or plugged into the station                                                         |
| **Forward to a ground control app** (parameter `rc_mavlink_fwd_addr`)                   | a two-way copy of the radio's stream for QGroundControl or Mission Planner. Empty means off              |

Two more rows are expert-only, because they are right as they ship and wrong to guess at: how often
the station asks the far end for the channel stream (parameter `rc_mavlink_req_hz`), and the system id it
speaks with (parameter `rc_mavlink_gcs_sysid`).

<a id="mavlink-radio--the-two-shapes"></a>

### The two shapes

**Sokil on the pilot's own computer.** The radio's software and Sokil run on the same machine, so
the station dials the loopback address - **Radio address** `127.0.0.1:5761`, the **This computer**
quick pick. This is the shape for an x86 laptop station, and it is what the setup wizard writes
there.

**A radio head on a mast, reading the pilot's computer over the network.** The pilot's computer
runs only the radio's own software - no Sokil - and the ground station dials it. **Radio address**
is `{{vrx_target}}:5761`, the **The pilot's computer** quick pick: `{{vrx_target}}` is whatever
**Pilot IP** (parameter `vrx_target`) on **VRX settings > Receive > Destinations** is set to, so the
address follows the station's own target and there is no second address to keep in step. The card
prints what it currently resolves to under the row.

Two alternatives, for a radio that cannot be dialed:

- **UDP listen.** Set **Connection** to _UDP - listen for the radio_ and leave **Listen address
  (in)** at `0.0.0.0:14542`; point whatever is sending at the station on that port. The station
  replies to whoever it last heard.
- **Serial.** A radio module in MAVLink mode wired or plugged into the station: set **Connection**
  to _Serial port_, pick the port and set the baudrate. The port picker draws the board and lights
  the socket.

<a id="mavlink-radio--skyline-lrs-step-by-step"></a>

### Skyline LRS, step by step

Skyline's PC software serves MAVLink on **TCP port 5761** of the computer it runs on. It also puts
that computer on its own network, in the `192.168.144.x` range, and the station has to be able to
reach it there.

> **Confirm on the bench:** the addressing below comes from the recipe the team used with the
> MAVProxy workaround, not from a Skyline endpoint anyone has pointed this input at yet. Check the
> subnet your own radio hands out before you re-address a station in the field.

1. **Put the computer and the station on the radio's network.** On the pilot's own laptop station
   that is one machine and one address. With a separate ground station, give the station an address
   in the same range: [Control](http://10.1.1.30/gs/control-settings) > **Network** > the **Ethernet** card >
   **IP address** (parameter `eth_ip`). It takes more than one address, so the station can keep its
   ordinary `10.1.1.30` and answer on the radio's network as well - add the second one with Enter.
2. **Set Pilot IP.** On a separate station, **VRX settings > Receive > Destinations** >
   **Pilot IP** (parameter `vrx_target`) is the pilot computer's address on that network. The MAVLink RC
   card's **The pilot's computer** quick pick then resolves to it.
3. **Start the radio's software** on the pilot's computer and check it is serving. Until it is,
   the station has nothing to connect to.
4. **Switch the input on.** [Control](http://10.1.1.30/gs/control-settings) > **RC Wiring** > **RC input** > the
   **MAVLink** row: turn it on, leave **Connection** on _TCP - connect to the radio_, and pick the
   quick pick that matches your shape.
5. **Pin the input.** On the **RC input** card's first row, pick **MAVLink** rather than **Any
   input** (parameter `rc_ch_source`). This matters - **The sticks are the pilot's own** below says why.
6. **Send the sticks on.** On the **CRSF (ELRS)** row of the same card, set **Input** to **Generate
   from RC input** (parameter `rc_crsf_gen`) with a **CRSF rate (Hz)** of `50`, and leave its **Serial
   port** empty. The station then builds CRSF frames from the MAVLink channels and sends them to
   the aircraft exactly as it would a handset's.

Step 6 is skipped on a radio head: it already receives CRSF from the pilot's station and drives the
transmitter modules with it, and generating locally as well would put two sources on the same
modules. Leave its CRSF rows alone.

<a id="mavlink-radio--through-the-setup-wizard"></a>

### Through the setup wizard

[Setup](http://10.1.1.30/gs/setup)'s **Control** step asks what the sticks arrive on, and **MAVLink radio** is one
of the answers. On the pilot's own laptop station the question is **The pilot's handset** and there
are three answers - a CRSF adapter, a USB joystick, or the MAVLink radio. On a radio head the
question is **How the sticks arrive** and there are two - from the pilot's station as CRSF, or the
MAVLink radio.

Answer **MAVLink radio** and the wizard does steps 4, 5 and 6 above for you: it switches the input
on, sets the address for the box it is planning (loopback on the laptop, the pilot's computer from a
radio head), pins the RC input to MAVLink, and on the laptop turns the CRSF card to generate at
50 Hz with no serial port. Nothing is written until Apply. The MAVLink RC card is shown under the
answer with no switch of its own, so you can set the address and the forwarding before you apply.

The same step also asks **MAVLink to the flight controller** on a camera and on a ground station:
_Through Sokil's link_ or _Through my MAVLink radio_. The second answer is
[The radio as the whole MAVLink link](mavlink-radio.md#mavlink-radio--the-radio-as-the-whole-mavlink-link) below, and on a station
it goes on to ask how the station reaches the radio and who sends the RC.

The answer follows the card: while the input is in testing it may not be offered on every station
yet, and any admin sees it on a station that already has the input on. It is a ground-station
answer only.

On a station whose software is older than this input, the answer is shown grayed with the reason,
or - on a radio head, where it is the only extra answer - the question does not appear at all.
[Software compatibility](compatibility.md#compatibility) has the whole picture.

<a id="mavlink-radio--feeding-qgroundcontrol-or-mission-planner"></a>

### Feeding QGroundControl or Mission Planner

The radio's stream usually carries more than the sticks, and the station can hand a copy to ground
control software without a second connection to the radio. Set **Forward to a ground control app**
to the computer running it - the **The pilot's computer** quick pick is `{{vrx_target}}:14550`,
which is the port both QGroundControl and Mission Planner listen on by default.

It is **two-way**: everything the radio sends goes to that address, and everything the app answers
goes back to the radio. Leave the row empty and nothing is forwarded.

This is a separate leg from the aircraft's own telemetry, which the station sends to **Pilot IP** on
its own MAVLink port. Running one ground control app on both at once means two MAVLink sources in
one program - decide which one you want it watching.

<a id="mavlink-radio--what-the-status-page-shows"></a>

### What the Status page shows

The RC lane on [Status](http://10.1.1.30/gs/status) draws **MAVLink radio -> ground station -> ...**, with the
address the input is dialing under the radio's node, and the rate arriving from it on the wire. The
verdict (parameter `rc_mavlink_stats`) has five states, and the **MAVLink** row of the **RC input** card
shows the same five in short:

| State             | RC input row      | What the lane says                                                                                                            |
| ----------------- | ----------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| off               | switched off      | the lane is not drawn                                                                                                         |
| no connection     | no connection     | red. The input cannot reach the radio - check the address, and that the radio's software is running and serving MAVLink there |
| connected, silent | connected, silent | red. The connection is open and nothing at all is arriving from the radio                                                     |
| MAVLink, no RC    | MAVLink, no RC    | red. MAVLink is arriving, but it carries no RC channels - the radio is not sending the sticks, or is not being asked for them |
| RC arriving       | receiving RC      | green, and the lane goes on to draw what carries the sticks onward                                                            |

**All three silences are red, not amber.** An RC input that delivers no sticks is not a degraded
station, it is a station with no control.

Diagnostics raises two findings of its own from the same state: one when the input cannot reach the
radio, naming which of the three connections failed, and one when it is connected but no sticks
arrive. Both have a fix link to the MAVLink RC card and a Guide button to the matching block of
[Troubleshooting](troubleshooting-rc.md#troubleshooting-rc).

Below the state the card prints what is actually flowing: the rate from the radio, which of the
three RC messages carried the last frame and the system id it came from, and - where forwarding is
on - how much the ground control app is sending back. The app answering at all is proof it is there;
an app that only listens is a normal way to run one, so a silent forward leg is drawn gray and never
red.

<a id="mavlink-radio--the-sticks-are-the-pilot-s-own"></a>

### The sticks are the pilot's own

**The channels this input reads are the radio's stick positions.** The RC link generates the
`RC_CHANNELS` it hands the station out of what the pilot is holding, the same way an ELRS receiver
builds CRSF frames out of it. Nothing is asked of the aircraft and nothing comes back from it, so
the numbers the station reads are as fresh as the radio's own uplink.

That leaves one thing worth knowing, because it decides how many ways into the aircraft there are.
The radio is already flying it: the sticks go out over the radio's own link to the flight
controller. If the camera's **RC to VTX MAVLink** card on [Control](http://10.1.1.30/cam/control-settings) is on as
well, Sokil's link carries the same sticks a second time and the camera writes them into the same
flight controller as MAVLink overrides. That is a second control path beside the radio's own, not a
copy of a copy - but it is a second path, and it is a choice:

- **Leave it off if the radio alone should fly the aircraft.** The camera still reads the channels
  for its **own** actions - zoom, gimbal, presets, video presets - and that is what they are there
  for. This is how a kit flown from a MAVLink radio is normally set up.
- **Switch it on where you want Sokil's link as a way in too** - the usual reason is the station's
  backup control over MAVLink when the radio's own link drops, which has a gate of its own
  ([Channel plans and RC actions](channels-switches.md#channels-switches) explains it). Know that both
  paths can then be live at once. Which one controls the aircraft depends on the FC firmware
  and settings: ArduPilot uses valid, accepted MAVLink overrides ahead of its receiver
  input until those overrides expire or are released.
- **Either way, pin the station's RC input to MAVLink** rather than leaving it on **Any input**.
  Pinned, the channel store takes nothing but this radio; on **Any input** a camera's own MAVLink
  source - which on a camera is the flight controller's channel report, not this radio - can keep
  the store alive after the radio has gone quiet.

The setup wizard says the same thing under the answer.

<a id="mavlink-radio--if-your-station-is-still-set-up-the-old-way"></a>

### If your station is still set up the old way

Before this input existed, a station read a MAVLink radio by pretending the radio was an aircraft:
the **VTX MAVLink** proxy switched on with a junk drone address, and - for a radio serving TCP - an
extra **MAVProxy** process on the pilot's computer bridging that TCP port to a UDP port the station
listened on.

**It still works and nothing changed it.** No configuration says "this was a radio, not an
aircraft", so an updated station keeps running exactly as it did. But it costs a whole camera tier
on a box with no camera, it needs a program installed and kept running, it fires stream requests,
system-id probes and transmit tests at a radio that is not a flight controller, and it has no status
of its own - nothing on Status or Diagnostics tells you the radio went away.

To move a station off it:

1. **Note the radio's address and port** out of the MAVProxy command you are running today.
2. **Switch the input on** as above, with **Radio address** set to that address and port, and pin
   the **RC input** card to **MAVLink**.
3. **Check Status** before touching anything else. The RC lane should be green and the rate should
   match what you had. If it is red, the address is wrong or the radio's software is not serving -
   nothing else has changed yet, so you can go back by switching the input off.
4. **Switch the old path off.** On the station, turn the **VTX MAVLink** card (parameter `vtx_mavfwd_enabled`)
   off - on a ground station with no camera of its own it was only ever carrying this. Then stop the
   MAVProxy process on the pilot's computer and remove it from whatever starts it.
5. **Fly the checks.** Sticks move on the RC card, the switches on the handset still run their RC
   actions, and the failsafe still fires when you switch the radio off.

Re-running [Setup](http://10.1.1.30/gs/setup) and answering **MAVLink radio** does steps 2 and 4 in one Apply, and
shows you the whole diff before it writes.

<a id="mavlink-radio--the-radio-as-the-whole-mavlink-link"></a>

### The radio as the whole MAVLink link

Everything above is a radio that gives the station the sticks while the aircraft's telemetry still
arrives over Sokil's own link. This is the other shape: **the radio is the station's whole MAVLink
link**, the way an ELRS transmitter in MAVLink or Airport mode, Skyline LRS or SineLink serves a
ground control app. The telemetry, the commands, the ground control app's traffic and Sokil's own
control messages all travel over the radio, and Sokil's link carries video only - it carries no
MAVLink for that camera. It works with any link type (WiFi, Ethernet, ZeroTier).

**Not yet verified on hardware.** This path is in development, and no real radio has flown it yet. Treat it as a bench setup until a field pass says
otherwise, and keep Sokil's link as the MAVLink path on an aircraft you cannot afford to lose.

**What you change**

- On the ground station, **VRX settings > Receive > MAVLink**: set **MAVLink comes from** (parameter `vrx_mavlink_transport`)
  to _MAVLink radio_. Then pick **Radio connection** (parameter `vrx_mavlink_radio_kind`) - **TCP**
  (**Radio address** (parameter `vrx_mavlink_radio_addr`), with the same two quick picks as the RC card),
  **UDP** (the address to listen on) or **Serial port** (**Serial port** (parameter `vrx_mavlink_radio_serial`)
  and **Baudrate** (parameter `vrx_mavlink_radio_baud`)).
- On the camera, **VTX settings > Telemetry > MAVLink**: set **Send to the ground through** (parameter `vtx_mavlink_transport`)
  to _The flight controller_. The camera then has no ground leg of its own: it writes what it used
  to send over Sokil's link onto the flight controller's serial port, and the flight controller
  carries it to the radio.

The rows appear only on a station and a camera that report these settings; on older firmware the
cards look exactly as they did.

**Who sends the RC.** **Who sends the RC** (parameter `vrx_mavlink_radio_rc`) has two answers.

- _The radio's handset_ - the radio carries the pilot's handset itself (ELRS in MAVLink mode with a
  handset, Skyline, SineLink). The station sends no RC; it only reads the sticks off the radio for
  the RC lane and the channel view. Set the RC input to **MAVLink**.
- _This station_ - the radio is a transparent pipe (ELRS Airport, a SiK radio), so the station
  sends its own RC to the aircraft over it, at the **RC rate** (parameter `vrx_mavlink_radio_rc_hz`) shown
  for this answer. Pin the **RC input** to the real source - CRSF or a USB joystick, never Any input
  or MAVLink - or the sticks read back from the aircraft would be sent out again. The flight
  controller has to accept RC over MAVLink.

**Wiring.** The radio's air end goes straight to a **second UART of the flight controller**, next to
the UART the camera is on. The camera and the radio never meet each other: the flight controller
sits between them and passes the traffic along.

**The flight controller has to route.** Without that, the ground station hears the radio and the
camera hears the flight controller, and nothing from the camera reaches the ground.

| Firmware         | What to set                                                                                                                                                                                                                             |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ArduPilot        | the camera's port and the radio's port both set to MAVLink2 (`SERIALx_PROTOCOL = 2`), and the "do not forward MAVLink" option (bit 1 of `MAVn_OPTIONS` on ArduPilot 4.7 and later, bit 10 of `SERIALx_OPTIONS` before it) clear on both |
| PX4              | the forwarding option of both MAVLink instances set to 1 (`MAV_x_FORWARD`)                                                                                                                                                              |
| INAV, Betaflight | they cannot pass MAVLink between ports - switch **Write ground messages to the flight controller** (parameter `vtx_mavlink_fc_inject`) off                                                                                                     |

With that switch off the camera sends nothing toward the ground. What you lose on the ground
station is everything the camera itself says: the camera and gimbal controls, the video stream
information, tracking, selection and ballistic data, node events, navigation messages, the adaptive
bandwidth command (the station holds its last value) and the binding warnings. The flight
controller's own telemetry and the ground control app are unaffected.

**RC over Sokil's link beside the radio.** Sokil's own RC keeps working on the radio path: the
station's CRSF from a real handset input, the camera's RC to VTX MAVLink, and Sokil Link's RC if
the setup has it. Each is a second RC carrier into the flight controller, and the flight controller
arbitrates between its inputs - a common use is the radio for MAVLink with Sokil's CRSF as the
backup for RC. The setup wizard sets up the station's side as it does without the radio; on an Ethernet or
ZeroTier camera it asks _RC over Sokil's link too_ and passes the station's sticks to the flight
controller only on yes - answer yes only when the station sends them, or the camera reports that
it has no CRSF input. Two things do not
work beside the radio: RC over MAVLink as a failsafe never acts, and CRSF must not be generated
from sticks the station reads off the radio (_The radio's handset_) - those are the flight
controller's own sticks coming back, and the aircraft would keep flying them after the real link
is gone. Either one raises the RC message in Diagnostics. On the RC card the connection rows go
away - the sticks are read from the same radio link.

**On a repeater.** A repeater keeps sending its one MAVLink stream to the ground as it always did,
and the camera-side setting does nothing there. Its link to the **relayed** aircraft can be the
radio: set **MAVLink comes from** on the repeater's own **VRX settings > Receive > MAVLink** card,
exactly as on a ground station. The setup wizard does not ask this on a repeater yet.

**What the radio costs.** A telemetry radio is slow, and the flight controller's own telemetry
shares it. The camera therefore sends its messages at a low rate on this path, and a few things
that were cheap over Sokil's link are slower or less detailed. Adaptive link still works - its
messages ride the radio like everything else - and reacts at the radio's speed.

**Status and diagnostics.** The telemetry stream draws the link as **MAVLink** with the radio's
throughput and who it is talking to. Diagnostics adds five messages: the radio leg has no peer or no
bytes, bytes arrive but no flight controller answers, the flight controller is heard but the camera
is not (the camera is not set to send through the flight controller, or the flight controller does
not route), the station would send the flight controller's own sticks back to it, and - on the camera - nothing from the ground
comes back through the flight controller.

<a id="mavlink-radio--limits"></a>

### Limits

- **No real Skyline endpoint has been on the bench yet.** Whether the radio's software serves more
  than one TCP client at a time, whether it listens beyond its own loopback address, and at what
  rate the channels arrive - none of that is measured. **If it turns out to listen on loopback
  only, the radio-head shape does not work**: the pilot's computer then needs either Sokil of its
  own, or something that forwards the stream to the station over UDP.
- **Repeater RC has no MAVLink input.** The second lane, the handset that flies a repeater
  aircraft, takes CRSF or a USB joystick only. A MAVLink radio can fly the main aircraft, not the
  repeater.
- **The MAVLink RC card is an input, not an output.** It fills the channel store and sends nothing
  to the aircraft by itself. Generating CRSF from those channels is what flies the aircraft, and
  that stays a deliberate choice on the CRSF row rather than something switched on behind your back.
  The one place the station does send RC over a radio is the **This station** answer of
  [The radio as the whole MAVLink link](mavlink-radio.md#mavlink-radio--the-radio-as-the-whole-mavlink-link). There the station
  stops sending half a second after its own input goes stale, and ArduPilot keeps the last values
  for its `RC_OVERRIDE_TIME` (3 seconds by default) before its failsafe takes over.
- **A dropped connection fails safe.** The generator stops about half a second after the channels go
  stale, so a TCP link that dies behaves like an unplugged handset and the aircraft's own failsafe
  takes over.

<a id="mavlink-radio--related-guides"></a>

### Related guides

- [Handset and CRSF](handset-crsf.md#handset-crsf) - the ordinary adapter path, and the USB joystick.
- [Channel plans and RC actions](channels-switches.md#channels-switches) - the channel map and the switches,
  which work the same whatever delivers the channels.
- [How setup works](setup-wizard.md#setup-wizard) - the Control step and what Apply writes.
- [Sokil on the pilot's laptop](pilot-laptop.md#pilot-laptop) - the laptop station this input was built
  for.
- [Troubleshooting](troubleshooting-rc.md#troubleshooting-rc) - the RC blocks, including the two
  findings this input raises.
- [Flight controller setup](fc-parameters.md#fc-parameters) - the FC's own setup and parameters over the same MAVLink card.
