• Home
    • Copter
    • Plane
    • Rover
    • Blimp
    • Sub
    • AntennaTracker
    • Mission Planner
    • APM Planner 2
    • MAVProxy
    • Companion Computers
    • Developer
  • Downloads
    • Mission Planner
    • APM Planner 2
    • Advanced User Tools
    • Developer Tools
    • Firmware
  • Community
    • Support Forums
    • Facebook
    • Developer Chat (Discord)
    • Developer Voice (Discord)
    • Contact us
    • Getting involved
    • Commercial Support
    • Development Team
  • Stores
  • About
    • History
    • License
    • Trademark
    • Acknowledgments
    • Wiki Editing Guide
    • Partners Program
MAVProxy Logo
  • Getting Started
  • UAV Configuration
  • Modules
    • Module Management
    • Default Modules
    • List of Modules
      • ADS-B Tracking
      • Antenna Pointing
      • Auxiliary (RC 6,7, …) Options
      • Battery Management
      • Camera Viewer
      • Long Commands
      • Graphical Console
      • DataFlash Logs
      • Direct Comms with SPI/I2C bus
      • Differential GPS
      • Firmware Management
      • Fake GPS
      • Follow Me Test
      • FTP
      • Gas Helicopter Management
      • Gimbal Management
      • GPS Input
      • Graphing Live Data
      • Horizon
      • Joystick Input
      • KML Importer
      • Link Management
        • link add
        • link remove
        • link list
        • link dataratelogging
      • Log Management
      • Compass Calibration
      • Moving Map
      • Mission Editor
      • Movinghome
      • Park Warning
      • PPP Link
      • RC Setup
      • Relay Management
      • Sail
      • Sensor Reporting
      • Writing to Serial Port
      • Packet Signing
      • Text-to-Speech
      • Swarm
      • Time Sync
      • Terrain Reporting
      • Antenna Tracker
      • Tuning Options
      • uBlox GPS Management Module
      • User Alerts
      • Vicon
  • Post-flight Analysis
  • Development
  • Appendix
  • Full Table of Contents


Individual Partners SWAG Shop
MAVProxy
  • »
  • Modules »
  • Link Management
  • Edit on GitHub

Link Management¶

The link module allows the user to add, remove and monitor the status of communications links to the APM. This can be done at any time.

It is useful for UAV systems that have multiple communications links. MAVProxy will automatically read the data from both links, no user intervention is necessary for link failover.

A link menu is available on the GUI console.

For ease of management, links can have labels.

link add¶

Add an additional communications link. This can be either a network address or serial port. For a serial port, the default baud rate is 57600. Use set baudrate xxx to change baud rate for any subsequent link add’s.

To add a label to a link, use :{"label":"LinkName"} after the link details. Note the link label must not have any spaces in it.

link add 127.0.0.1:14550
link add tcp:127.0.0.1:14550
link add tcp:127.0.0.1:14550:{"label":"3GMobile"}
set baudrate 115200
link add COM17

See the startup section for full details on link types

link remove¶

Remove a communications link. The ID or label of the link is used to identify the link to remove.

link remove 2
link remove 3GMobile

link list¶

List the active communications links, their ID’s and labels (if applicable).

link list

link dataratelogging¶

Start or stop datarate statistic logging. If active, the statistics are saved in “dataratelog.csv” in the same folder as the tlog.

The statistics are useful for profiling and testing low-bandwidth datalinks.

Previous Next

Questions, issues, and suggestions about this page can be raised on the forums. Issues and suggestions may be posted on the forums or the Github Issue Tracker.

Creative Commons License© Copyright 2023, ArduPilot Dev Team.