daniestevez / gr-satellites

GNU Radio decoder for Amateur satellites
GNU General Public License v3.0
762 stars 155 forks source link

Create TRISAT-R.yml #432

Closed janvgils closed 1 year ago

janvgils commented 1 year ago

Used to decode https://network.satnogs.org/observations/7070104/

janvgils commented 1 year ago

I have a IQ recording on https://pe0sat.vgnet.nl/download/TRISAT-R/, I have also created a telemetry.log file. All output forwarded to this file, I see the master_channel_frame_count is increasing.

daniestevez commented 1 year ago

Thanks! I also went ahead and decoded that file on my own, before you uploaded the telemetry.log.

It indeed seems to contain the same CCSDS frame structure as TRISAT, and appears to be used more or less correctly.

There is by the way a bit of profanity (I guess virtual channel 7 is for Only Idle Data):

-> Packet from 1k baud FSK downlink
Container: 
    tm_primary_header = Container: 
        transfer_frame_version_number = 0
        spacecraft_id = 1
        virtual_channel_id = 7
        ocf_flag = True
        master_channel_frame_count = 114
        virtual_channel_frame_count = 3
        transfer_frame_secondary_header_flag = False
        synch_flag = True
        packet_order_flag = False
        segment_length_id = 0
        first_header_pointer = 200
    payload = b'\xaaUHakuna matata motherfucker xD\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaaUHakuna matata motherfucker xD\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaaUHakuna matata motherfucker xD\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaaUHakuna matata motherfucker xD\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' (total 211)
    ocf = Container: 
        control_word_type = False
        clcw_version_number = 0
        status_field = 0
        cop_in_effect = 1
        virtual_channel_identification = 7
        rsvd_spare1 = 0
        no_rf_avail = False
        no_bit_lock = False
        lockout = False
        wait = False
        retransmit = False
        farmb_counter = 0
        rsvd_spare2 = False
        report_value = 0
    crc = 37236

Now that we know that the telemetry format is correct, I'm going ahead and merging this.