Wasn't entirely sure what the desired output of the main function should be, so I modeled it after the other decoders in the repo which appear to just print the json dump to stdout.
IMPORTANT:
The PY4 mission consists of 4 spacecraft (all at identical center frequencies and LoRa parameters). The second byte of the beacon packet represents the specific satellite id, which is stored as 'sat_id' in the resulting decoder output.
See telegram post for full mission details and resources.
Wasn't entirely sure what the desired output of the
main
function should be, so I modeled it after the other decoders in the repo which appear to just print the json dump to stdout.IMPORTANT: The PY4 mission consists of 4 spacecraft (all at identical center frequencies and LoRa parameters). The second byte of the beacon packet represents the specific satellite id, which is stored as
'sat_id'
in the resulting decoder output.See telegram post for full mission details and resources.