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

Reason for removing FSK_FRAME_MODE_8N1_FRAMES? #37

Open
InterLinked1 opened this issue Dec 28, 2021 · 3 comments
Open

Reason for removing FSK_FRAME_MODE_8N1_FRAMES? #37

InterLinked1 opened this issue Dec 28, 2021 · 3 comments

Comments

@InterLinked1
Copy link

This is more of an information request than a bug, per se.

In this commit from 2012, FSK_FRAME_MODE_8N1_FRAMES was removed:
4265af6#diff-f39a1bf3eb4f90837f55490c3be3d02e605bb22dde779084f0d5f45a8dfc5970

FSK_FRAME_MODE_7E1_FRAMES has the same value as this (10), but semantically it means something very different.

What is the replacement for this macro? Not sure I follow this change, given that 8N1 is the most common modem setting, and the remaining settings are quite obscure. I am trying to fix code that doesn't compile because it uses the removed FSK_FRAME_MODE_8N1_FRAMES macro, and it isn't clear what the replacement should be, since 8N1 is simply gone.

@InterLinked1
Copy link
Author

So 19 months later and there is still no answer on this... @coppice-git is it safe to say there simply was and is no reason and this definition should be re-added? Lately it seems there has been a lot of breakage in SpanDSP for breakage's sake.

@coppice-git
Copy link
Collaborator

coppice-git commented Jul 31, 2023 via email

@InterLinked1
Copy link
Author

Hi, Steve,
Thanks for the context. It's a bit unclear to me as all the other modes are there, except 8N1, but as stated 8N1 is the most common modem setting (8 data bits, no parity, 1 stop bit) so I guess my question is what should be used instead then?

Here is an example where this is used: https://github.com/alessandrocarminati/app-fsk/blob/master/app_fsk_18.c#L49

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

2 participants