> **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="channels-switches"></a>

# RC channel plans and switches

**Summary:** The two to sixteen frequencies your channel switch hops through, who owns the list, and what every other switch on the handset does.

**Audience:** pilots and field integrators

Open in the UI: http://10.1.1.30/help/guides/channels-switches

A Sokil WiFi link does not sit on one frequency. It hops between a list of frequencies (eight by default), and one switch on the
handset moves every box in the chain at once. This page is what that list is, who owns it, and what the other switches do.

**On this step of Getting started** a kit that arrives configured needs nothing written here.
First, on stock Betaflight (or INAV on MAVLink 1) the camera never sees CH10 - read
[One switch, the whole chain](channels-switches.md#channels-switches--one-switch-the-whole-chain) before you
flip the channel switch. Then check three things: that the channel switch moves both ends through
every position ([Finding which channel a switch is on](channels-switches.md#channels-switches--finding-which-channel-a-switch-is-on)),
which channel each other action sits on ([The rest of the switches](channels-switches.md#channels-switches--the-rest-of-the-switches)),
and, on Betaflight, the failsafe lines in
[What the switches do when the RC link drops](channels-switches.md#channels-switches--what-the-switches-do-when-the-rc-link-drops).
The repeater, the `rxfail` numbering and the band survey are reference - a direct camera kit can
skip them.

Three places in the app hold it: the frequency list under [VRX settings](http://10.1.1.30/gs/vrx-settings) >
Channels, the switch map under [Control](http://10.1.1.30/gs/control-settings) > RC Actions, and the
band itself on the [Spectrum page](http://10.1.1.30/gs/spectrum).

<a id="channels-switches--the-plan-one-channel-per-switch-position"></a>

### The plan: one channel per switch position

A frequency plan is one channel per switch position, stored as a single pipe-separated list.
**Any number of entries from 2 to 16, eight by default** - the number of entries is how many
positions the switch has (its travel is split evenly between them), and
both ends must use the same count, or the same click lands on a different frequency at each end
and the link drops.

On a SokilRC radio with **Switch Mode** = **Wide**, a sixteen-entry plan needs its switch on CH6
to CH12 (the default CH10 is fine) and **Telem Ratio** at **Std**, **Off** or 1:8 and slower.
CH13 to CH16 carry eight positions only, and so do CH9 to CH12 on a SokilRC 4 release from
7 October 2026 or earlier - there the plan must have eight entries or fewer
([SokilRC compared with stock ExpressLRS](sokilrc-vs-expresslrs.md#sokilrc-vs-expresslrs)).

| Band                | The plan setup writes                 |
| ------------------- | ------------------------------------- |
| 5 GHz and dual-band | `40\|52\|64\|100\|120\|140\|157\|177` |
| 2.4 GHz             | `1\|4\|6\|8\|10\|12\|13\|14`          |

Out of the box a device carries a flat `161|161|161|161|161|161|161|161`, which means "do not
hop" - that is what setup replaces.

**The ground station owns the list.** Setup writes it into the station's
**VRX WiFi channels** (parameter `rc_act_vrx_channels`) card (VRX settings > Channels, one **Position** row
per entry), and a bind copies that plan onto the camera - its channel slots and the channel switch itself. Nothing to
set on a camera: its own Channels card is read-only and says so.

You set the size on the ground station, in [VRX settings](http://10.1.1.30/gs/vrx-settings) > Channels, in the
**VRX WiFi channels** card, with the **Switch positions** row (2 to 16) above the list. Fewer
positions drops the last ones; more adds positions that repeat the last frequency, and the card's
duplicate note then asks you to give each its own frequency. Position 1 is never changed by this.
The camera's card stays read-only: the camera copies the station's plan, count included, on a bind
and on Sync.

A real 2- or 3-position toggle switch on the handset can therefore drive a plan of 2 or 3 entries
directly. The 8- and 16-position setups below work exactly as before.

<a id="channels-switches--a-camera-on-older-firmware"></a>

#### A camera on older firmware

An older camera core holds only eight or sixteen entries. Given a shorter plan it pads it to eight
by repeating the last entry (9 to 15 entries pad to sixteen). Bind and Sync still work and the
camera stays reachable on position 1, but the channel switch does not work properly on that camera
until it is updated, because the two ends split the switch differently. The app says so: an amber
**Update camera for channel switch** chip in the device header, a warning in the bind confirmation
dialog, and a note on the Channels card. A plan of eight or sixteen entries never warns, whatever
the camera runs. Updating the camera fixes it.

**The first position is the recovery channel**, and it must be the same at both ends. Both fall
back to it when their channels de-sync, so the station's card will not let you edit it and the
best-channel search will not overwrite it - it is the one frequency your whole fleet still
shares after a run.

That covers the two ends losing each other. What each end does on its own when the card, rather
than the channel, is the problem is in [WiFi link recovery](wifi-recovery.md#wifi-recovery).

One more thing can move the radio off the switch's position: **adaptive frequency**, which hops
within this same channel map when the current channel is jammed. It is off by default, and it is
why the channel card can show an "on air" frequency the switch is not pointing at - see
[Adaptive Link](adaptive-link.md#adaptive-link).

<a id="channels-switches--one-switch-the-whole-chain"></a>

### One switch, the whole chain

![One switch drives every box, and the repeater's receive leg is rotated](../img/channels-switches.svg)

Diagram: One switch drives every box, and the repeater's receive leg is rotated - img/channels-switches.svg (vector: img/channels-switches.svg)

The default channel switch is **CH10**, on both the camera's **VTX WiFi channel
switch** (parameter `rc_act_vtx_channel_sw`) and the station's **VRX WiFi channel
switch** (parameter `rc_act_vrx_channel_sw`) rows of RC Actions. Leave it there and the drone's transmitter and the station's receiver
step together on every click - not to the same instant, though: the two ends retune a moment
apart, so every click opens a short window with them on different channels, and it clears itself
within a few seconds.

**That needs CH10 to reach the camera.** A WiFi camera reads its switches from the flight
controller's MAVLink RC stream, and stock Betaflight (and INAV on MAVLink 1) sends only CH1-CH8
there. On such a flight controller the camera never sees CH10, so the station hops and the camera
does not - the link drops on the first click. On INAV, prefer **MAVLink 2**: check
`get mavlink_version`, use `set mavlink_version = 2`, then save and verify that CH10 reaches the camera. Updating
INAV alone does not change an existing MAVLink 1 setting. If you must keep the eight-channel
stream, move the channel switch to a free channel in CH5-CH8, both in the handset model and in the **VRX WiFi channel switch** row of the ground station's RC Actions card (a pilot can change that row), and bind the camera
again (the bind carries the switch across), or fly [Sokil's Betaflight build](fc-firmware.md#fc-firmware),
which sends all sixteen.

On a repeater this is not optional: it takes its RC from the **relayed drone's** channels - its
**RC input** (parameter `rc_ch_source`) is **CRSF (ELRS)**, which setup writes and an admin can see on
Control > RC Wiring - which is what makes its receive card hop the instant the drone does. A
repeater hopping on its own schedule loses the drone.

<a id="channels-switches--a-repeater-s-receive-leg-is-rotated-by-four"></a>

### A repeater's receive leg is rotated by four

A repeater terminates two radio links out of one enclosure, and one switch moves both. If the
two carried the same list, every position would put two 2 W cards on one frequency - the relay
would talk over its own input, and a bind sweep would fail. So setup writes the station's list
**rotated by four** on the repeater's receive leg, and touches the ground station not at all:

| Band                | The repeater's receive plan                         |
| ------------------- | --------------------------------------------------- |
| 5 GHz and dual-band | `120\|140\|157\|177\|40\|52\|64\|100`               |
| 2.4 GHz             | not rotated - the same `1\|4\|6\|8\|10\|12\|13\|14` |

Four is chosen because it maximizes the _smallest_ gap: no position brings the two cards closer
than 385 MHz on 5 GHz, where rotating by three would leave 285 MHz. The 2.4 GHz list is left
alone because a 2.4-to-2.4 relay does not work at all - that band is about 70 MHz end to end, and
two co-located 2 W cards desensitize each other wherever in it they sit. Keep at least one leg on
5 GHz: setup's Link settings step says so in red as soon as it sees two 2.4 GHz cards, and in
amber when one leg is 2.4 GHz and the other is not.

**Working through a repeater needs no change on the ground station**, and none on the drone - it
takes whichever list it binds to.

<a id="channels-switches--the-binding-channels-161-and-10"></a>

### The binding channels: 161 and 10

> **Never fly in binding mode.** Binding uses channels **161** on 5 GHz and **10** on
> 2.4 GHz, binding mode is not a private link, and while it lasts the radio carries nothing
> but the bind - no video, no telemetry. A normally bound link is not affected merely
> by using either frequency. Separately, keep a repeater's station-facing leg away
> from the binding frequency during a sweep: two co-located cards on one channel
> interfere with each other.

Control and 2.4 GHz video collide in the air too: a standard ELRS 2.4 control link sits on top of a
2.4 GHz video channel. On such a kit move the control link below 2200 MHz or above 2650 MHz; a 5.8 GHz video kit keeps its control a whole band away and has nothing
to move.

<a id="channels-switches--what-setup-writes"></a>

### What setup writes

| Where                 | Setting                                            | Value                                                  |
| --------------------- | -------------------------------------------------- | ------------------------------------------------------ |
| WiFi ground station   | **VRX WiFi channels** (parameter `rc_act_vrx_channels`)   | `40\|52\|64\|100\|120\|140\|157\|177`                  |
| WiFi ground station   | **RC input** (parameter `rc_ch_source`)                   | **CRSF (ELRS)** (`1`) - the handset, or **MAVLink** for a MAVLink radio |
| Repeater, receive leg | **VRX WiFi channels** (parameter `rc_act_vrx_channels`)   | `120\|140\|157\|177\|40\|52\|64\|100`                  |
| Repeater              | **RC input** (parameter `rc_ch_source`)                   | **CRSF (ELRS)** (`1`) - the relayed drone's channels   |
| WiFi camera           | **RC input** (parameter `rc_ch_source`)                   | **MAVLink** (`10`) - the flight controller's own       |
| Camera                | no plan                                            | the plan and the switch arrive with the bind           |

**MAVLink** means two different things in that column. On a camera it is the flight controller's own
channel report, arriving over telemetry. On a ground station it is the pilot's radio speaking
MAVLink instead of CRSF, which setup pins there when that is the answer on the Control step -
[a radio that speaks MAVLink](mavlink-radio.md#mavlink-radio).

**RC input** is on the **RC Wiring** tab of Control, which only an admin opens; a pilot reads the
result on the Status page's RC lane.

Setup never touches the **WiFi channel** (parameters `vrx_wifi_nchannel`, `vtx_wifi_nchannel`) row of either
end's Channels card - where a radio sits right now is settled by binding and by the switch.

<a id="channels-switches--the-rest-of-the-switches"></a>

### The rest of the switches

Core ships a default map. Setup's **Switches** step is where an admin changes it during setup, and
[Control](http://10.1.1.30/gs/control-settings) > **RC Actions** on a kit that is already configured. A row left
**Unset** never fires. A pilot can move the video, zoom, power and station channel rows; the camera's
**VTX WiFi channel switch** is locked for every role, pilot and admin alike, because the bind sets
it from the station's switch, and **VTX disable (Pit mode)**, **Camera
switch**, **Alternate camera switch**, **System reboot**, **Backup MAVLink control** and **Profile
switch** are admin-only - a pilot sees them locked.

| Action              | RC Actions row                                                                                                     | Default channel |
| ------------------- | ------------------------------------------------------------------------------------------------------------------ | --------------- |
| Absolute zoom       | **Absolute zoom** (parameter `rc_act_vtx_zoom_sw`)                                                                        | 8               |
| Preset cycle        | **Preset switch** (parameter `rc_act_vtx_preset_sw`)                                                                      | 9               |
| WiFi channel        | **VTX WiFi channel switch** (parameter `rc_act_vtx_channel_sw`) / **VRX WiFi channel switch** (parameter `rc_act_vrx_channel_sw`) | 10              |
| WiFi transmit power | **VTX WiFi power switch** (parameter `rc_act_vtx_power_sw`)                                                               | 12              |

These defaults only survive setup where the box can use them. A configuration that is not on the
WiFi radio - an Ethernet or ZeroTier kit - gets its WiFi channel and power switches cleared to **Unset**
at Apply, a box that produces no video of its own (a relay repeater) loses the camera switches, and
each end only keeps its own half of the map: no camera switches on a pure ground station, no
station switch on a camera. Diagnostics stays quiet about a switch that was cleared this way - it
only ever flags a binding the box can act on.

The gimbal mode has its own 3-position switch, **Gimbal mode (lock/follow/fpv)** (parameter `rc_act_vtx_gimbal_mode_sw`):
low **lock**, middle **follow**, high **fpv**, from the most stabilized to the least. Like the
lock/follow switch before it, only a flip sends a mode, so a mode picked in the settings holds until
the switch moves. The older 2-position **Gimbal lock/follow** (parameter `rc_act_vtx_gimbal_lock_sw`) row
shows only on a kit that already has it assigned; assign one of the two, not both - Diagnostics
warns when both are. A camera whose software predates the 3-position switch shows only the
2-position row, the one it acts on.

The rest sit **Unset** until you bind them (turn on **Show unassigned** to see them), in card
order: **Smooth zoom** (parameter `rc_act_vtx_zoom_rate_sw`), **Manual focus** (parameter `rc_act_vtx_focus_sw`)
(reserved for cameras with a hardware focus motor, so it is off out of the box), **AI target
tracking** (parameter `rc_act_vtx_track_sw`), the gimbal sticks and one-key actions (**Gimbal
yaw** (parameter `rc_act_vtx_gimbal_yaw_sw`) and the gimbal rows after it), **Next thermal
palette** (parameter `rc_act_vtx_palette_sw`), **Picture-in-picture layout** (parameter `rc_act_vtx_pip_sw`) on a
dual-light camera (low is visible big with a thermal inset, high is thermal big with a visible
inset; while it is bound the layout cannot be set from the camera card), **Video
recording** (parameter `rc_act_vtx_record_sw`), **Photo capture** (parameter `rc_act_vtx_photo_sw`), the delivery
slot and drop (**Payload slot select** (parameter `rc_act_vtx_payload_slot_sw`) and **Payload
drop** (parameter `rc_act_vtx_payload_drop_sw`) - laid out in [Payload delivery](payload-delivery.md#payload-delivery),
which is also where a position that arms nothing is set), and the admin-only rows: pit mode (**VTX
disable (Pit mode)** (parameter `rc_act_vtx_disable_sw`)), **Camera switch** (parameter `rc_act_vtx_cam_sw`),
**Alternate camera switch** (parameter `rc_act_vtx_streamer_sw`) (it flips which of two cameras is on air,
one at a time), reboot (**System reboot** (parameter `rc_act_reboot_sw`)), **Backup MAVLink
control** (parameter `rc_act_mav_override_sw`) and the profile selector (**Profile
switch** (parameter `rc_act_profile_sw`)).

A switch that runs the wrong way needs no rewiring: pick the same channel marked **Reversed** in the
row's list (or press the row's detect button and flick the switch down) - same channel, inverted.
**Unset** disables it.

**A gimbal that creeps with the sticks centered** is a channel whose center is not 1500. The yaw and
pitch rate sticks hold still only within a small band around center, and a coarse channel lands
outside it: on a SokilRC radio with **Switch Mode** = **Wide**, CH13 to CH16 carry eight positions,
so a centered stick arrives as 1571 and the gimbal turns slowly all the time (CH9 to CH12, sixteen
positions, center at 1533, stay inside the default band). The bound row's meter shows it. Either put
the sticks on CH6 to CH8, which are fine-grained, or widen
**Gimbal stick deadzone (µs)** (parameter `vtx_gimbal_deadzone`) under the gimbal sticks: `80` holds an
eight-position center, and full stick still gives full speed.

<a id="channels-switches--the-sokil-radio-models"></a>

### The Sokil radio models

Sokil ships a 16-channel model named SOKIL for the RadioMaster Boxer, TX16S (MK I and MK II) and
TX15 - [Tools > EdgeTX](edgetx.md#edgetx--models) > Models > **Upload a Sokil model** puts the one
for your radio on it. Each sends all 16 channels over CRSF from the external module bay (the internal
module is off). What each channel carries:

| Channel | The Sokil kits use it for                        | Boxer          | TX16S                        | TX15                              |
| ------- | ------------------------------------------------ | -------------- | ---------------------------- | --------------------------------- |
| CH1-CH4 | Roll, pitch, throttle, yaw                       | Sticks         | Sticks                       | Sticks                            |
| CH5     | Arming (flight controller)                       | SE             | SF                           | SE                                |
| CH6     | Camera left-right on a plane (flight controller) | Rudder trim    | SA (the same switch as CH11) | Rudder trim                       |
| CH7     | Camera tilt (flight controller)                  | S1 knob        | S1 knob                      | S1 knob                           |
| CH8     | Zoom                                             | S2 knob        | S2 knob                      | S2 knob                           |
| CH9     | Video preset, 6 positions                        | Aileron trim   | Aileron trim                 | Aileron trim                      |
| CH10    | WiFi channel, 8 positions                        | Elevator trim  | Elevator trim                | Elevator trim                     |
| CH11    | Camera switch                                    | SA             | SA                           | SA                                |
| CH12    | WiFi transmit power, 6 positions                 | Throttle trim  | Throttle trim                | Throttle trim                     |
| CH13    | Flight mode, 6 positions (flight controller)     | 6P switch      | 6POS switch                  | SW1-SW6 buttons, one on at a time |
| CH14    | Flight controller                                | SC             | SC                           | SC                                |
| CH15    | Flight controller                                | SB             | SB                           | SB                                |
| CH16    | Flight controller                                | SF (momentary) | SH (momentary)               | SF                                |

The second column is what the kits' flight controller and Sokil devices are set up to read - the
model only sends the channels. Zoom, preset, WiFi channel and power are Sokil's own defaults
([The rest of the switches](channels-switches.md#channels-switches--the-rest-of-the-switches)); the flight
controller's channels do what its own setup says, so check them there. The trims are named for the
stick they sit by (in mode 2 the aileron and elevator trims are at the right stick, the throttle and
rudder trims at the left).

The aileron, elevator and throttle trims no longer trim their sticks: each press steps CH9, CH10 or
CH12 one position. Right after the upload the steps start at:

| Model | Video preset (CH9) | WiFi channel (CH10) | WiFi power (CH12) |
| ----- | ------------------ | ------------------- | ----------------- |
| Boxer | 1                  | 1                   | 1                 |
| TX16S | 6                  | 3                   | 1                 |
| TX15  | 3                  | 1                   | 1                 |

The editor's trim check on [Tools > EdgeTX](edgetx.md#edgetx--the-editor) marks CH10 of the Boxer
and TX16S models: their step does not divide the travel evenly. Every value it reaches still lands on
its own position, one press per position, at the station and at the camera. Walk every position
against the live meter (below) after the upload, then calibrate.

<a id="channels-switches--finding-which-channel-a-switch-is-on"></a>

### Finding which channel a switch is on

Do not count switches on the radio. Open the RC Actions card (or setup's Switches step), flip the
switch, and watch the **live meter** under each row that has a channel - the bar that moves is the
channel you are holding. An **Unset** row has no meter, so for a switch nothing is bound to yet,
watch the Status page's RC stream, which shows all 16 channels at once. The card flags the four
things that go wrong: **no signal** (the channel reports no position - radio off, out of range, or
not sending), **no hardware** (assigned, but this device has nothing to do it with), **shares
CH n** (two actions on one channel, so both fire together) and **CH n is a stick** (CH1-CH4 are
roll, pitch, yaw and throttle, so the action would fire off a stick).

The card only lists what the box in front of you can actually do. A ground station shows no camera
or gimbal switches, and a camera shows no receiver ones - a binding for a half the device does not
have would fire nothing, so it is neither listed here nor reported by diagnostics.

Eight discrete positions is more than any physical switch has, so the Sokil kits build them in the
handset instead (a real 2- or 3-position switch works directly with a plan of that size): the step count lives in a **global variable**, special functions on a **trim
switch** drive it up and down, and a mix sends the result on CH10. Two trim buttons
then step cleanly through all eight (or all sixteen), and your real switches stay free for other
actions. Sokil spreads the channel's travel evenly across the entries, so walk every step against
the live meter once the model is built, then calibrate (below).

<a id="channels-switches--calibrating-the-switches"></a>

### Calibrating the switches

The station and the camera each read the switches themselves, and the radio between them does not
always deliver the same pulse widths at both ends: a switch the station reads at 1500 µs can arrive
at the camera as 1332 µs. With the travel split evenly, the two then pick different positions -
a different WiFi channel at each end is a lost link. **Calibration** records the values each end
actually sees for every switch position and decodes by them, so both ends agree.

Calibration pairs a plan with a switch of the same size, so a 3-entry plan on a 3-position switch
has no size mismatch, while an 8-entry plan on a 3-position switch still reports one.

On the station open **Control > RC Actions > RC switch calibration** and press **Calibrate with the
camera** (a switch card's **Calibrate** records only that card's channel):

1. **Record.** With the handset on and the camera receiving RC, move every switch through every
   position, in any order, holding each one for a moment. Each channel gets a row with the count
   each end saw.
2. **Review.** The positions are paired in order. If the camera saw fewer than the station, the air
   link merges positions on that channel - the row says how many it can carry and is not saved.
   Positions closer than 10 µs are flagged as fragile.
3. **Check.** Walk each switch again: the filled dot is the position each end reads with the new
   values, green when they agree.
4. **Save.** Each end keeps its own values, one **channel calibration** (parameter `rc_cal_ch10`) per channel.
   When only one end took them - the other did not keep a value, or stopped answering - the dialog says
   which end saved what, so save again before you fly: the two ends would read the switches differently.

The values travel in the params file, and **Copy from...** copies them station to station or camera
to camera. A bind never copies them. A camera fed the station's CRSF over Ethernet, ZeroTier or
Starlink sees the station's values and may copy a station. A channel nobody calibrated reads exactly
as before.

A device you reach through another station (picked in the device selector) is calibrated on its own,
through that station: open the same card on its page. **Copy from...** there takes the source's
address as that station reaches it.

Once calibrated, a station warns above every page when it and its control camera read a switch
differently for half a second while the aircraft is disarmed - recalibrate before you fly.

<a id="channels-switches--rules-that-bite"></a>

### Rules that bite

1. **The switch wins over a hand-written channel.** With a channel switch bound, a channel set
   by hand (the **WiFi channel** (parameters `vrx_wifi_nchannel`, `vtx_wifi_nchannel`) of either end) reverts
   within seconds. Set the station's **VRX WiFi channel switch** (parameter `rc_act_vrx_channel_sw`) on its
   RC Actions card to **Unset** first. The camera's **VTX WiFi channel
   switch** (parameter `rc_act_vtx_channel_sw`) cannot be edited by any role on the camera - it follows the
   station's on the next bind, so bind again to clear it there too. And remember a bind copies the
   switch and its slots back.
2. **An end with no live RC never retunes.** Each card reads the switch itself, so an end that hears no radio stays put while the other follows the pilot - they
   de-sync and the link is gone. Every Bind pauses and warns when both ends are WiFi, a
   channel switch is bound, and the RC input rate (parameter `rc_ch_rate`) reads zero at either end (an
   admin sees that rate, `/s`, beside the input on Control > RC Wiring).
3. **A card can accept a channel and quietly refuse it.** The regulatory domain decides what a
   radio may tune, and the parameter reads back the new value either way.

**What the card will tune is readable, what you are allowed to tune is not.** On some cards the
list of reachable channels (parameters `vrx_wifi_channels`, `vtx_wifi_channels`) is **empty**, which means "no
restriction reported" rather than "nothing available" - the Channels card's selects then offer
every channel the driver can tune, and Sokil applies no regulatory restriction on that card at all:
which channels you may legally use is entirely your responsibility. A non-empty list is the
channels that card reports it can reach. Where you may fly is a regulatory question the app does
not answer, and it stays yours.

So read the published list first, then prove it: walk every position on the ground, both ends
powered, and confirm the link comes back on every one.

<a id="channels-switches--what-the-switches-do-when-the-rc-link-drops"></a>

### What the switches do when the RC link drops

On the aircraft, Sokil's switches are not read from the handset. On any kit whose camera takes RC
from MAVLink - an **RC input** (parameter `rc_ch_source`) of **MAVLink** on the CAMERA, which is what setup
writes for a WiFi camera, and not the ground station's MAVLink radio - they are read from
the **flight controller's own RC stream**. So when the handset goes away, the flight controller decides where
every switch above sits, and it keeps deciding it at full rate until the aircraft is powered down.
Nothing on this side reads a value that stopped changing as "the pilot is gone": held channels look
exactly like a pilot holding a switch, and the actions keep firing on them. Sokil does see the loss
elsewhere - the MAVLink link quality (parameter `vtx_mav_lq`) decays (core reads it; no screen shows it),
and that is what **Backup MAVLink control** watches, against the **Minimum LQ** (parameter `rc_mav_on_fs_min_lq`)
an admin sets under **Backup RC over VRX MAVLink** on Control > RC Wiring - but the switch map is not
wired to it.

Betaflight substitutes per channel, and out of the box **every AUX channel holds its last position**
- or **1500**, on a boot where it has not seen the handset at all, since `hold` hands back the mid
value every channel starts at. That second case is why a kit powered up before the handset comes up
zoomed: hold is not "no change" until a frame has arrived. It is a sound default for most of the map
and a poor one wherever the table below names a value instead:

| Switch                    | Set it to | Why                                                                                                                                          |
| ------------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| Absolute zoom             | `s 1000`  | 1.0x. A zoom stuck at 4x is the worst possible view for finding an aircraft that is on its way home by itself.                                |
| Preset cycle              | `s 1000`  | The bottom rung - lowest bitrate, toughest link. A lost handset is rarely a link that is about to improve.                                    |
| WiFi channel, either end  | `h`       | **Never anything else.** A value that lands on another position hops the transmitter off the receiver's channel, and the ground cannot undo it. |
| WiFi transmit power       | `h`       | Turning down the one link still working is the opposite of what the moment calls for.                                                         |
| System reboot             | `s 1000`  | The one row where holding is the danger: reboot reads a level, so a switch frozen at the top reboots the box again and again until the link returns. |
| Payload drop              | `h`       | **Not a value.** The drop button fires on a low-to-high edge and disarms itself, so a frozen channel is inert - forcing it low re-arms it, and link recovery with the switch still held is then a fresh press. |
| Pit mode                  | `h`       | A held pit position keeps the transmitter off, but that position was chosen on purpose - Sokil will not re-enable a transmitter somebody silenced. |
| Everything else           | `h`       | Betaflight's own default: it changes nothing at the worst possible moment, which is the point.                                                |

**Take the lines rather than typing them.** The RC Actions card on [Control](http://10.1.1.30/cam/control-settings)
ends in an **RC failsafe for Betaflight** fold (admin) that reads the switch map above it and writes
the `rxfail` lines for it, with a Copy button on the text - paste them into the Betaflight CLI. It
absorbs what a hand-written snippet gets wrong: `rxfail` counts channels **from 0**, so
the channel 8 you set here is `rxfail 7`; and a channel you bound **reversed** (marked **Reversed** in
the card) needs the opposite end of the range, 2000 rather than 1000, to reach the same position. A
switch bound to **CH1-CH4** gets no line at all - it is listed in red instead, because down there a
failsafe value is a stick position rather than a switch position, and the flight controller would
accept the line without complaint. The card does not appear on a camera whose RC comes from the
ground station over CRSF instead - an Ethernet or ZeroTier kit - because the flight controller's
table has nothing to do with those channels.

[FC setup over USB](betaflight-setup.md#betaflight-setup--failsafe) can also compare these settings with the
station's control camera and apply only the differences after confirmation, on **Receiver > Failsafe**.
The camera must receive RC over MAVLink and its settings must be readable.

**That 0 is the absolute channel number, not the AUX number** - the one place Betaflight's own CLI
is inconsistent, and the reason a hand-written line can be wrong in a way that looks right. `rxfail`
counts the four flight channels first, so `rxfail 4` **is** AUX1 and `rxfail 3` is the **throttle**.
`aux` and `adjrange` do count AUX1 as 0, but on those lines the AUX number is the **third** figure
and the first one is a rule slot, not a channel at all. Apply that numbering to CH8 and you write
`rxfail 3 s 1000` - a minimum-throttle failsafe on the flight controller, with the switch you meant
left untouched. `rxfail` on its own prints the table to check yourself against: eighteen lines,
`rxfail 0` to `rxfail 17`, one per channel.

**Whether a value or a hold is the safe answer depends on whether the action reads an edge or a
level**, and the three rows above are one of each kind plus a judgment call. Reboot reads a level,
so freezing it at the top is what loops the box - name a value. The drop button reads an edge and
disarms itself on the press, so freezing it is inert while forcing it low re-arms it - hold. Pit
mode reads a level and clears the transmitter on the **last** of its three positions; holding it
keeps a silenced transmitter silent, which is the operator's own choice to reverse.

All three sit safely at 1500, so a boot before the handset is harmless on each of them: drop
resolves to the low half of two, reboot to position 2 of six where the trigger is 5, and pit mode to
the middle of three with the links on. Do not choose `s 2000` by habit: on a non-inverted mapping
it forces the action high, but a reboot switch whose channel is marked **Reversed** needs 2000
to produce the safe low state.
Use the generated failsafe table for your actual mapping and check the resulting action position.

Two limits to know before relying on any of it:

- **A stock Betaflight (and INAV on MAVLink 1) sends only eight RC channels over MAVLink.** The shipped map puts the preset
  on 9, the WiFi channel on 10 and the power on 12, so on stock firmware those three never reach
  the camera at all - in flight or in failsafe. Prefer MAVLink 2 on INAV. If only eight channels
  are available, move the needed switches onto AUX1-AUX4 (CH5-CH8), or use a firmware build that
  sends the full set, as described in [One switch, the whole chain](channels-switches.md#channels-switches--one-switch-the-whole-chain).
- **ArduPilot has no per-channel failsafe table.** These lines are for a Betaflight flight
  controller, and the card says so when the heartbeat names ArduPilot.

<a id="channels-switches--reading-the-band-before-you-pick"></a>

### Reading the band before you pick

The [Spectrum page](http://10.1.1.30/gs/spectrum) surveys the band around the selected device. It counts **WiFi
frames**, and on cards whose driver can report it, raw **energy** too: with energy, a jammer, an
analog video transmitter or radar shows as an unidentified emitter rather than as quiet. Without
it the page says so, and a channel with no frames then looks identical whether it is genuinely
clear or blanketed. Treat a clear reading as encouraging, not conclusive.

**Find best channel** on the same page does the whole job: it surveys, tries the best candidates
on the air with your drone, and writes the winners onto every position after the first at both
ends - or puts everything back by itself if the two ends stop hearing each other. It will not run
against an armed drone. Its **Switch positions** setting offers 2 to 16 and should match your
switch, and starts at the number of channels your station's switch already has. An older camera refuses a table that is not 8 or 16 long; the dialog then says the drone
refused the table because its firmware takes only 8 or 16 positions, and nothing changed on either end.

The search is two-stage: it tries the quietest channels on the air until it has enough clean ones,
then tests the best of those again for longer and ranks them by the weaker direction's signal. The
winners are spread apart across the band, so one noisy patch does not take two positions. The dialog
shows an estimate of the trials before **Start** (about 1 min 45 s for 8 positions, up to about
3 min for 16, on top of the listening sweep) and says which stage it is in while it runs. When
it finishes it says how much better position 1 is than the channel you were on - or that it is no
better, or that position 1 is your current channel - and, if fewer clean channels were found than
there are positions, which positions repeat the current channel. If the drone still shows its old
table about 30 seconds later, the banner changes to say so: update the drone. After a failed or
reverted run, **Write again** puts the same channels on both ends once more without a new search,
and after a report-only run **Test these on the air** tries the ranking with the drone on the
link; each appears only when the station offers it (an older station offers neither).

Watch the numbering as you read it: the Channels card counts positions from 1, the best-channel
dialog counts them from 0. The dialog's "position 0" is the card's first row - the recovery
channel neither of them will touch.

<a id="channels-switches--related-guides"></a>

### Related guides

- [Handset and CRSF](handset-crsf.md#handset-crsf) - getting the switches into the station at all.
- [A radio that speaks MAVLink](mavlink-radio.md#mavlink-radio) - the other way the switches get in.
- [Binding](binding.md#binding) - the bind that carries the plan to the camera.
- [Ground station on Raspberry Pi 5](gs-rpi5.md#gs-rpi5) - the box that owns the list.
- [WiFi repeater](repeater-wifi.md#repeater-wifi) - the box the rotation exists for.
- [After Apply](after-setup.md#after-setup) - the checks once the plan is written.
