Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialization of Reed-Solomon decoder #32

Open
daniestevez opened this issue Dec 21, 2019 · 1 comment
Open

Initialization of Reed-Solomon decoder #32

daniestevez opened this issue Dec 21, 2019 · 1 comment

Comments

@daniestevez
Copy link

I am looking to add a decoder for FloripaSat-1 to gr-satellites. I am following ngham as a reference to decode the NGHam protocol, but I can't get Reed-Solomon decoding working with some packets transmitted by the satellite.

I have done more investigation and I have seen that in the grs code the Reed-Solomon decoder variables are not initialized properly (see the line below).

void ngham_init_arrays()

I can't even understand why this isn't segfaulting, since variables such as alpha_to are dereferenced during decode_rs_char().

@daniestevez
Copy link
Author

Now I see that since nroots = 0, all the loops in decode_rs_char() are bypassed. This explains why the decoder doesn't segfault.

But my conclusion is that the current decoder is not doing Reed-Solomon decoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant