-
Thanks again for previous help! I am successfully outputting the EHS bds messages after editing the script you provided. A large number of the messages seem to get garbled. The hex address is always clean but the ModeS FlightID is garbled about 95% of the time. Sample below it took 20 msgs before a correct FlightID appeared. To be clear, if I search on a specific aircraft, it sees the hex code correctly but misses decoding the FlightID all other bds messages. Here is a sample of my CSV; Code attached. 11336281.8378913,A2E935,#TKR#Y4#,,,,,,,-14.406,638,,161,,-14752,10208 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Your decoding logic is quite wrong. You can't simply pass the same message to all the deocding functions... A message can't possible include all the flight informatio, right? You must first indentify the message type before deocde the content. If you are new to Mode S. I recomment you to carefully take a look at following book: Once you have understood the fundamentals, then take a look at the decoding logic for modeslive: |
Beta Was this translation helpful? Give feedback.
-
You are welcome, @esnelling. I guess you might have figured out this already. In general, you can run |
Beta Was this translation helpful? Give feedback.
Your decoding logic is quite wrong. You can't simply pass the same message to all the deocding functions...
A message can't possible include all the flight informatio, right? You must first indentify the message type before deocde the content.
If you are new to Mode S. I recomment you to carefully take a look at following book:
https://mode-s.org/decode/
Once you have understood the fundamentals, then take a look at the decoding logic for modeslive:
https://github.com/junzis/pyModeS/blob/master/pyModeS/streamer/decode.py