Changed JSON interface in version 3.6.2 of pi aware


#1

Hi all,

A while ago, I wrote some code that queried the JSON interface to dump1090-fa, and logged it to a postgis database. The latest upgrade has seen a lot of the attributes associated with aircraft disappear, or be renamed. Short of trawling through all the code, is there any documentation about the new JSON interface? I see altitude has been renamed to nav_altitude, speed presumably has been renamed to gs, but I’d rather not guess.


#2

This is really an internal interface so you will need to refer to the code: https://github.com/flightaware/dump1090/blob/master/net_io.c#L1299


#3

Thanks - the earlier version was documented in README-json.md in the top level of the dump1090 directory, but that hasn’t been updated for 4 years. Oh well, I used to wrangle C code for a living…