4m1g0 / tinygs-decoders

14 stars 5 forks source link

VZLUSAT-2 support #1

Open jgromes opened 3 years ago

jgromes commented 3 years ago

Hey, would it be possible for tinyGS to support VZLUSAT-2? Here's the project website: https://www.vzlusat2.cz/en/ and SatNOGS DB entry (https://db.satnogs.org/satellite/99768). We also have SatNOGS decoders ready and tested.

It's using GOMSpace AX100 radio, so this will probably need work on both levels, in tinyGS and in RadioLib, but it would be a very nice proof of concept, since AX100 is commonly used for CubeSats.

G4lile0 commented 3 years ago

Sure, it would be great! Let's start working together to support the VZLUSAT-2

jgromes commented 3 years ago

Perfect, so what steps are required to add support in tinyGS? We have SatNOGS Kaitai structs for beacon and data drop packets (https://gitlab.com/librespacefoundation/satnogs/satnogs-decoders/-/blob/master/ksy/vzlusat2.ksy), can that be reused here?

I'll have to investigate whether SX127x/SX126x can even receive AX100 transmission, there's going to be a couple issues with the frame format (such as Golay-encoded length field).

4m1g0 commented 3 years ago

tinyGS expects a python file with the name <satellite>Decoder.py that outputs a json object with the values of the decoded frame.

There are 2 special properties: raw: byte array in case part of the frame was imposible to be decoded (base64 encoded) error: error message in case the parser failed

I probably won't have time to do it today but I was already taking a look to the kaitai and I can take care of it in the next days.