{"id":25263923,"url":"https://github.com/spaceteam/sts1_channel_coding_tests","last_synced_at":"2025-04-06T01:15:47.763Z","repository":{"id":276103414,"uuid":"928019665","full_name":"SpaceTeam/STS1_Channel_Coding_Tests","owner":"SpaceTeam","description":"GNU Radio flowgraphs and demo code for testing channel coding and sync in pure software.","archived":false,"fork":false,"pushed_at":"2025-03-04T21:43:33.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-04T22:29:40.405Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SpaceTeam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-05T23:26:50.000Z","updated_at":"2025-03-04T21:43:36.000Z","dependencies_parsed_at":"2025-02-06T10:35:32.067Z","dependency_job_id":null,"html_url":"https://github.com/SpaceTeam/STS1_Channel_Coding_Tests","commit_stats":null,"previous_names":["spaceteam/sts1_channel_coding_tests"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpaceTeam%2FSTS1_Channel_Coding_Tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpaceTeam%2FSTS1_Channel_Coding_Tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpaceTeam%2FSTS1_Channel_Coding_Tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpaceTeam%2FSTS1_Channel_Coding_Tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpaceTeam","download_url":"https://codeload.github.com/SpaceTeam/STS1_Channel_Coding_Tests/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419864,"owners_count":20936014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-12T07:26:23.618Z","updated_at":"2025-04-06T01:15:47.754Z","avatar_url":"https://github.com/SpaceTeam.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Decode/Encode Testing\n\n## Setup\n\nYou'll need GNU Radio with GNU Radio Companion (at least version 3.10.11) and [gr-satellites](https://github.com/daniestevez/gr-satellites) (Tested with version 5.6.0).\n\nFor compiling the test data generator you'll need cmake and a reasonably modern c++ compiler.\n\n## Telemetry (downlink) Decode\n\nGNU Radio reads `/tmp/input.bin`. The data format is \"one bit per byte\", meaning that each byte can be either 0x00 or 0x01 to represent a 0 or 1 bit.  \n\nFor non-convolutionally-coded data there needs to be 512 bit or more of padding after the data packet to flush all buffers.  \nFor convolutionally coded data an additional 512 bit of padding need to be added in front of the packet.\n\nFirst copy your input file to the location mentioned above.  \nAfter that start the flowgraph (the easiest way is to open it in GNU Radio Companion and press play.  \nYou'll find the decoded output both in the log of GNU Radio and in `/tmp/output.bin`.  \n\nExample C++ code can be found in `test_data_generator` that generates valid telemetry (downlink) packets both with and without convolutional coding.  \nFiles starting with `tm` are intended to simulate telemetry data from the cubesat, files starting with `tc` are intended to be used to send test telecommand data to the cubesat.\n\n## In case you want to test real hardware\n\nUse the flowgraph prefixed with \"sdr\". It's not perfect - the FSK demodulator could be quite a bit better - but it works.\n\nThe `tc` flowgraph needs quite a lot (at least ~400 Byte) of trailing data to flush the buffer.  \nThe test data generator automatically accounts for this.\n\n## License\n\nAs some parts of the test data generator are GPLv3 licensed, I made the decision to license the whole repo under GPLv3.  \nShould this be an issue for you please contact me - apart from the mentioned parts I can (and am willing to) relicense if a good reason is given.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspaceteam%2Fsts1_channel_coding_tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspaceteam%2Fsts1_channel_coding_tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspaceteam%2Fsts1_channel_coding_tests/lists"}