From b15ae2a544d94366277fc5b61a42638afd30509c Mon Sep 17 00:00:00 2001 From: Malcolm Robb Date: Mon, 15 Apr 2013 22:18:45 +0100 Subject: [PATCH] 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");