moshe-braner / SoftRF

:airplane: Multifunctional, compatible DIY general aviation proximity awareness system
GNU General Public License v3.0
18 stars 4 forks source link

Setting aircraft ID #6

Closed moshe-braner closed 5 months ago

moshe-braner commented 2 years ago

Following mikkieg's example, I've added (in the MB05 version) the ability to enter, via the Settings html page, an aircraft ID to use (e.g., ICAO ID), or to choose the default (based on device chip ID), or anonymous (a random ID that stays the same for the flight). (I've thought of using a new random ID on every outgoing radio packet for the "random" ID type as distinct from "anonymous" - is that a no-no? Or reversed?). Also allows entering an ID to ignore if received, e.g., to avoid seeing one's own FLARM (perhaps re-transmitted via P3I). Also, I made it so that an incoming packet with the same ID as our outgoing ID will trigger an automatic change to a new random ID - unless the "ID to ignore" is the same as the outgoing ID, in which case incoming packets with that ID are just ignored. Hopefully this allows a variety of usage modes.

moshe-braner commented 2 years ago

Added one more aircraft ID option in upcoming MB06: option to enter an ID to "Follow". E.g., your "buddy". It will be shown (on the device receiving traffic info from SoftRF) even if it is farther than other traffic, and even if farther than the visibility range limit. But potential collisions would still get priority reporting of course.

moshe-braner commented 1 year ago

More recent change: an incoming packet with the same ID as our outgoing ID is always ignored - does not trigger a random ID.