Extract NUCp from message type; needed for #16.

This commit is contained in:
Oliver Jowett 2015-02-09 14:14:12 +00:00
parent e7e7f9e7c2
commit 9fd0c822f6
2 changed files with 12 additions and 1 deletions

View file

@ -381,6 +381,7 @@ struct modesMessage {
int heading; // Reported by aircraft, or computed from from EW and NS velocity
int raw_latitude; // Non decoded latitude.
int raw_longitude; // Non decoded longitude.
unsigned nuc_p; // NUCp value implied by message type
double fLat; // Coordinates obtained from CPR encoded data if/when decoded
double fLon; // Coordinates obtained from CPR encoded data if/when decoded
char flight[16]; // 8 chars flight number.