Guides / Solved with the SDK

Integrate a new radio

Go beyond Wi-Fi range by changing the radio in the profile, not the app.

Available Aerial · Ground Intermediate

The story at a glance

  1. 1 · Mission A site beyond Wi-Fi range
  2. 2 · Outcome Same app, longer range
  3. 3 · Obstacle Every radio has its own setup
  4. 4 · How the SDK solves it Swap the radio link, not the app

1 · The mission

An inspection company flies its drones over Wi-Fi. A new site is twice as far away, beyond Wi-Fi range. The brief: long-range radio, same software, by next week.

2 · The outcome

The radio swap takes a day. Without the SDK, the software swap takes weeks.

The obstacle Without the SDK With the SDK
Time to swap Weeks of software work A day: the hardware only
Connection setup Rewrite both ends Edit the profile
Signal quality New code per radio Same RadioStatus
Software versions One per radio One for every radio
Unsupported radio Write and maintain a driver Ask us to add it

Why this works: the hardware is described once, in data. The code depends on what the robot can do, not which brand of radio is fitted.

The brief is met: the team reaches the far site by next week, on the app it already uses, and sees honest link quality all the way out.

3 · The obstacle

Every radio has its own addressing, setup and way of reporting signal quality. Without the SDK:

  • The connection code changes on the vehicle and in the ground app
  • Reading signal quality means new code per radio
  • Each radio needs its own software version

4 · How the SDK solves it

The radio lives in the vehicle's profile. Its type picks the SDK adapter, so RadioLink reports the same status for every radio. The vehicle sends its own side of the link, so the quality stays honest as it flies away. Not supported yet? Ask us to add it.

  1. The vehicle builds its radio link from the profile. The app never names a model.
  2. GetStatus() returns signal strength, link quality (0–100) and mesh nodes, whatever the radio.
  3. SubscribeStatus() reports changes. The vehicle sends its own reading of the link, so the quality stays honest as it flies away.
  4. Both ends read one description of the robot, so they always agree on the link. No app code changes.
radio_status.cpp
// No radio model named anywhere
RadioLink& radio = vehicle->GetRadioLink();
if (!radio.IsAvailable()) return;  // no radio in the profile

std::string name = radio.GetDescription();  // vendor + model
RadioStatus s = radio.GetStatus();
// s.rssi_dbm, s.signal_quality (0-100), s.connected_nodes

auto sub = radio.SubscribeStatus([](const RadioStatus& st) {
    ShowLinkQuality(st.signal_quality);  // same for every radio
});

The radio profile

Pick a radio to see its block in the vehicle profile. Only this block changes; the code above stays the same.

Built-in Wi-Fi / network

UdpLink

No extra radio: the onboard computer's own Wi-Fi or network to the ground computer. No signal quality readout.

identity.json · Built-in Wi-Fi / network
"radio_link": {
  "type": "UdpLink",
  "instance_id": 1,
  "connection": {
    "link_type": "udp",
    "params": {
      "remote_ip": "<your-ground-computer-ip>",
      "remote_port": "<your-ground-computer-port>",
      "local_port": "14590"
    }
  }
}
Runs on
Raspberry Pi 5, NVIDIA Jetson Xavier NX, Android device (DJI RC / phone), Linux PC (x86_64)

Wi-Fi radio module

WifiLink

A Wi-Fi module on the vehicle and one on the ground computer. Signal quality shown to the operator.

identity.json · Wi-Fi radio module
"radio_link": {
  "type": "WifiLink",
  "instance_id": 1,
  "connection": {
    "link_type": "udp",
    "params": {
      "remote_ip": "<your-ground-computer-ip>",
      "remote_port": "<your-ground-computer-port>",
      "local_port": "14590",
      "wifi_iface": "<your-wifi-interface>"
    }
  }
}
Works with
Alfa AWUS036ACH
Runs on
Raspberry Pi 5, NVIDIA Jetson Xavier NX, Linux PC (x86_64)

DTC (Domo Tactical) IP radio

DtcDataLink

Signal quality read from the radio.

identity.json · DTC (Domo Tactical) IP radio
"radio_link": {
  "type": "DtcDataLink",
  "instance_id": 1,
  "connection": {
    "link_type": "udp",
    "params": {
      "remote_ip": "<your-ground-computer-ip>",
      "remote_port": "<your-ground-computer-port>",
      "local_port": "14590",
      "stats_interval_ms": "2000",
      "ground_radio_ip": "<your-ground-radio-ip>",
      "air_radio_ip": "<your-air-radio-ip>"
    }
  }
}
Works with
DTC radio
Runs on
Raspberry Pi 5, NVIDIA Jetson Xavier NX, Android device (DJI RC / phone), Linux PC (x86_64)
Needs
libcurl

Doodle Labs mesh radio

DoodleDataLink

Signal quality read from the radio.

identity.json · Doodle Labs mesh radio
"radio_link": {
  "type": "DoodleDataLink",
  "instance_id": 1,
  "connection": {
    "link_type": "udp",
    "params": {
      "remote_ip": "<your-ground-computer-ip>",
      "remote_port": "<your-ground-computer-port>",
      "local_port": "14590",
      "management_ip": "<your-ground-radio-management-ip>",
      "air_management_ip": "<your-air-radio-management-ip>"
    }
  }
}
Runs on
Raspberry Pi 5, NVIDIA Jetson Xavier NX, Android device (DJI RC / phone), Linux PC (x86_64)
Needs
libcurl

5 · Try it yourself

Change the radio in your own vehicle profile

Same app, any radio: no connection code to change at either end, and one software version for all of them. Uses Vehicle, RadioLink and IdentityController. There's no radio sample yet; start from Defining Your Vehicle in the Dashboard.

Define your vehicle Ask us to add hardware

← All guides