Decode aircraft category, export in aircraft.json.

Closes #2.
This commit is contained in:
Oliver Jowett 2015-02-22 12:15:26 +00:00
parent 8fabfcb94f
commit 8f3be2cd79
5 changed files with 16 additions and 2 deletions

View file

@ -95,6 +95,8 @@ struct aircraft {
double lat, lon; // Coordinated obtained from CPR encoded data
unsigned pos_nuc; // NUCp of last computed position
unsigned category; // Aircraft category A0 - D7 encoded as a single hex byte
int bFlags; // Flags related to valid fields in this structure
struct aircraft *next; // Next aircraft in our linked list