ArduPilot / ArduPilot/ardupilot

Improve broadcast address handling

Open
#4,149 1 comment 0 reactions 1 assignee Claimed by @lucasdemarchi View on GitHub
Enhancement Linux
Dominant language
C++
Stars
15.9k
Forks
21.4k
Avg merge
3d 17h
Merged PRs (30d)
119

Description

#### Issue details

The bcast flag in ardupilot is primitive: it still needs the user to pass a valid broadcast address and doesn't work without one.

This makes it harder for writing an init unit file since you need to know what's the IP of the drone when you are configuring it. Even on scenarios where you are configuring Linux to act as an Access Point, depending on the right interface/address is bad for integrators and distro creators.

Proposal here is to use netlink which is the way Linux exports this information. With the Poller interface it's very easy to query the list of interfaces and dynamically adapt to it. Ideally we should be able to have a "no setup fee" for people installing ardupilot on a Linux board.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.