Ardupilot Cloud EcoSystem Logo

Contents:

  • Andruav
    • What is Andruav
    • What Is New: DroneEngage Inside
    • Getting Started
    • Settings
    • How to Build Andruav_Ap
    • APK Download
    • Andruav Serial Port
    • Andruav FPV
    • Andruav Telemetry
    • Andruav Advanced Features
    • GPS Injection
    • SMS Reporting & Control
    • RC Blocking
    • TX Freeze
    • Geo-Fencing
    • Using Andruav with SITL
    • FAQ
    • Deprecated Features
      • Andruav GCS App
      • Andruav GCS Telemetry
  • What is DroneEngage?
  • Getting Started
    • 1. Introduction
    • 2. Select Your Hardware
    • 3. Create Access Code
    • 4. Install DroneEngage Unit
  • Server
    • The Four Servers — Overview
    • Authentication Server
    • Admin Web Interface
    • Communication Server
    • Storage Server
    • UDP Relay
    • How to Install
      • Air-Gap RPI-4 Backend-Server Deployment
      • Local Maps
        • Download the Ready Image
        • Set Up with Access Point
        • Set Up without Access Point
  • DroneEngage
    • Web Client
    • WebClient Mobile View
    • UDP Telemetry Forwarding
    • GamePad
    • Servo Control
    • SWARM Interface
    • GCS Chat
    • DE Camera Module
    • Plugins
    • SDR Plugin
    • Sound Plugin
    • GPIO Plugin
    • Advanced Features
      • GEO-Fencing
      • RC Blocking
      • TX Freeze
      • Swarm Operations
    • Configuration
    • WebClient Module
    • MAVLink Module
    • Communication Module
    • Communication Configuration
    • MAVLink Configuration
  • Installation Guide
    • Installing DroneEngage
      • Installing from Binaries
    • RPI Administration Tools
      • WiFi Manager
      • Account Setup
      • App Management
      • Module Updater
      • File Navigator
      • Terminal
  • Developer Guide
    • Building & Setup
    • Raspberry Pi Deployment
    • Architecture
      • System Architecture
      • Communication Protocol
      • Message Type Reference
      • DataBus (Inter-Module Communication)
    • Extending DroneEngage
      • DroneEngage Custom Plugin
      • Custom Plugin Development
      • C++ Plugin Development
      • Node.js Plugin Development
      • Python Plugin Development
      • Adding Custom Swarm Modes
      • Communication Module Config
      • MAVLink Module Config
    • Creating Custom Plugins
    • SWARM Logic
    • MAVLink SDK Library
      • Introduction
      • Building the SDK
      • Quick Start Guide
      • API Reference
      • Code Examples
      • Integration Guide
    • Web Client Technicals
      • Authentication System
      • Configuration Management
      • Server Communication
      • Site Configuration
      • Unit Management
      • WebRTC Video Streaming
      • Mission Planning Base
    • Communication Module Technicals
      • Plugin-Broker Architecture
      • Configuration System
      • Authenticator
      • Communication Server
      • Facade
      • Message Parser
      • Configuration File Management
    • Server Technicals
      • Authentication Server
      • Authentication Server Internals
      • Communication Server Internals
      • Authentication ↔ Communication Flow
      • Mesh Communication Server Relay
      • API Endpoints
      • Authentication Flow
      • Configuration
      • Database Schema
      • Message Propagation
      • S2S Authentication
      • Shared Server Package (droneengage_server_common)
    • MAVLink Module Technicals
      • Flight Control Board Connection
      • Configuration File System
      • Rate Limiting Effects
      • Joystick Channels Guided Mode
      • RC Sub Actions
  • Scenarios & Use Cases
    • On-Board DroneEngage
    • Ground-DroneEngage (Air Unit)
    • All-In-One Board (RPI as FCB + Companion)
    • Camera Naming & Video Pipelines
    • Andruav + Mission Planner over 4G/5G, with Video
    • First Long Range Intercontinental Controlled Rover 2016
    • DroneEngage Rover in France 2025
  • Simulation (SITL)
  • DroneEngage Studio
    • 1. Getting Started and Fast Wins
    • 2. Architecture and Design
    • 3. Design Your Own Scenarios
    • 4. Use an AI Assistant (LLM Prompts)
  • FAQ
  • Glossary
  • Contributing
  • Downloads

Sites:

Web-Client Site Account Management Binaries Download
Ardupilot Cloud EcoSystem
  • Developer Guide
  • MAVLink SDK Library
  • View page source

MAVLink SDK Library

A lightweight, standalone C++17 MAVLink SDK for communicating with ArduPilot-based autopilots. This SDK provides a clean, event-driven API for connecting to drones via UDP, TCP, or Serial interfaces.

The MAVLink SDK can be used as a standalone library in your own C++ projects, independent of the full DroneEngage system.

  • Introduction
  • Building the SDK
  • Quick Start Guide
  • API Reference
  • Code Examples
  • Integration Guide

Overview

The MAVLink SDK provides:

  • Multiple Connection Types: UDP, TCP, and Serial port support

  • Event-Driven Architecture: Callback-based notifications for vehicle state changes

  • Vehicle State Management: Automatic parsing and storage of MAVLink messages

  • Mission Management: Upload, download, and monitor waypoint missions

  • Parameter Management: Read and write autopilot parameters

  • Command Interface: High-level API for common drone operations

  • C++17: Modern C++ with smart pointers and RAII patterns

  • Singleton Pattern: Easy access to SDK components

  • ArduPilot & PX4 Support: Compatible with both autopilot firmwares

Documentation Sections

  • Introduction - SDK overview, features, and project structure

  • Building the SDK - Build instructions and requirements

  • Quick Start Guide - Get started with your first application

  • API Reference - Detailed API documentation

  • Code Examples - Complete application examples

  • Integration Guide - CMake integration and linking

Source Code

The MAVLink SDK source code is available at:

droneengage_mavlink - MAVLink interface with standalone SDK

The SDK is located in the mavlink_sdk/ subdirectory of the repository.

Previous Next

© Copyright 2026, Ardupilot.org (Powered by Andruav.com).