[hamradio-commits] [dump1090] 94/389: Print DF-11 II/SI
Matthew Ernisse
mernisse-guest at moszumanska.debian.org
Wed Nov 5 00:19:44 UTC 2014
This is an automated email from the git hooks/post-receive script.
mernisse-guest pushed a commit to branch master
in repository dump1090.
commit b15ae2a544d94366277fc5b61a42638afd30509c
Author: Malcolm Robb <Support at ATTAvionics.com>
Date: Mon Apr 15 22:18:45 2013 +0100
Print DF-11 II/SI
---
dump1090.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dump1090.c b/dump1090.c
index b89c743..f9205ba 100644
--- a/dump1090.c
+++ b/dump1090.c
@@ -1299,6 +1299,10 @@ void displayModesMessage(struct modesMessage *mm) {
printf("DF 11: All Call Reply.\n");
printf(" Capability : %s\n", ca_str[mm->ca]);
printf(" ICAO Address: %02x%02x%02x\n", mm->aa1, mm->aa2, mm->aa3);
+ if (mm->iid > 16)
+ {printf(" IID : SI-%02d\n", mm->iid-16);}
+ else
+ {printf(" IID : II-%02d\n", mm->iid);}
} else if (mm->msgtype == 17) {
/* DF 17 */
printf("DF 17: ADS-B message.\n");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090.git
More information about the pkg-hamradio-commits
mailing list