Skip to content

EHS Messages Garbled #96

Answered by junzis
esnelling asked this question in Q&A
Jan 22, 2021 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

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

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@esnelling
Comment options

@esnelling
Comment options

Answer selected by esnelling
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants