Track the "best" addrtype we ever saw for an aircraft.
This commit is contained in:
parent
2a4aa29f03
commit
8d8443f3dc
3 changed files with 16 additions and 5 deletions
15
dump1090.h
15
dump1090.h
|
|
@ -149,16 +149,21 @@ typedef enum {
|
|||
SOURCE_ADSB, /* data from a ADS-B extended squitter message */
|
||||
} datasource_t;
|
||||
|
||||
/* What sort of address is this and who sent it? */
|
||||
/* What sort of address is this and who sent it?
|
||||
* (Earlier values are higher priority)
|
||||
*/
|
||||
typedef enum {
|
||||
ADDR_ADSB_ICAO, /* ADS-B, ICAO address, transponder sourced */
|
||||
ADDR_ADSB_ICAO_NT, /* ADS-B, ICAO address, non-transponder */
|
||||
ADDR_ADSB_OTHER, /* ADS-B, other address format, non-transponder */
|
||||
ADDR_TISB_ICAO, /* TIS-B, ICAO address */
|
||||
ADDR_TISB_OTHER, /* TIS-B, other address format */
|
||||
ADDR_TISB_ANON, /* ADS-R/TIS-B, anonymized address */
|
||||
ADDR_ADSR_ICAO, /* ADS-R, ICAO address */
|
||||
ADDR_TISB_ICAO, /* TIS-B, ICAO address */
|
||||
|
||||
ADDR_ADSB_OTHER, /* ADS-B, other address format, non-transponder */
|
||||
ADDR_ADSR_OTHER, /* ADS-R, other address format */
|
||||
ADDR_TISB_OTHER, /* TIS-B, other address format */
|
||||
|
||||
ADDR_TISB_ANON, /* ADS-R/TIS-B, anonymized address */
|
||||
|
||||
ADDR_UNKNOWN /* unknown address format */
|
||||
} addrtype_t;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue