tcas decoder code, also for adsb(maybe need some modify)