Added text output for DF=17, subtype=[5-8]
This commit is contained in:
parent
b2cd4f6d00
commit
c5bd5a1d6e
@ -1238,6 +1238,14 @@ void displayModesMessage(struct modesMessage *mm) {
|
||||
|
||||
printf(" Aircraft Type : %s\n", ac_type_str[mm->aircraft_type]);
|
||||
printf(" Identification : %s\n", mm->flight);
|
||||
} else if (mm->metype >= 5 && mm->metype <= 8) {
|
||||
printf(" Movement: %d", mm->velocity);
|
||||
printf(" Track status: %d", mm->heading_is_valid);
|
||||
printf(" Track: %d", mm->heading);
|
||||
printf(" F flag : %s\n", mm->fflag ? "odd" : "even");
|
||||
printf(" T flag : %s\n", mm->tflag ? "UTC" : "non-UTC");
|
||||
printf(" Latitude : %d (not decoded)\n", mm->raw_latitude);
|
||||
printf(" Longitude: %d (not decoded)\n", mm->raw_longitude);
|
||||
} else if (mm->metype >= 9 && mm->metype <= 18) {
|
||||
printf(" F flag : %s\n", mm->fflag ? "odd" : "even");
|
||||
printf(" T flag : %s\n", mm->tflag ? "UTC" : "non-UTC");
|
||||
|
Loading…
Reference in New Issue
Block a user