TLeconte / vdlm2dec

vdl mode 2 SDR decoder
GNU General Public License v2.0
74 stars 23 forks source link

JSON Output - Aircraft ICAO Code #19

Closed acarslogger closed 6 years ago

acarslogger commented 6 years ago

The JSON outputs (-j and -J) have the aircraft ICAO code included as a decimal value. It would be clearer to include the icao code as it's normally displayed as a Hex character string e.g. 400DAD ?

Stuart

TLeconte commented 6 years ago

Yes , I hesitated on this one. It's sure , it's better to have the hex value for human reading, but json is more for information exchange between computers. icao addresses are 24bits values, so using an integer seemsmore logical than using a string encoding a hex value ...

acarslogger commented 6 years ago

I understand that reasoning. Keep as integer. Stuart