Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Link to functions in IMACS repository (encode-decode-bytes branch)

encode.py (encoding function)

  • receives a message – of type string – as a parameter and encodes it into space-separated hexadecimal values.

  • the encoded value is joined with other relevant information (temporarily hardcoded) included from the Array of Bytes documentation found in Ground-Side-Telemetry

decode.py (decoding function)

  • recevies and paritions and an encoded message – passed as string – and a integer base (defaulted at 16)

  • relevant information (e.g message length, frame type, etc.) are extracted, decoded, and stored in a dictionary res to be returned at the end of the function

  • No labels