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

Sample/demo of FSK #40

Open
bailz opened this issue May 22, 2021 · 2 comments
Open

Sample/demo of FSK #40

bailz opened this issue May 22, 2021 · 2 comments

Comments

@bailz
Copy link

bailz commented May 22, 2021

Hi,

Great library, I am working through the demos of FSK, but facing the following issue on decode. (Displayed in console)

warning: fskframesync_decode_header(), packetizer_decode failed

tested with ultrasonic-fsk-robust, however all the FSK options seem to show same issue.

Would you have any working demos of the FSK library?

Cheers

@brian-armstrong
Copy link
Member

Hello,

Assuming you mean https://quiet.github.io/quiet-js/fsk-robust that demo does work so if you're getting those errors it's because of a difficult transmission. Can you describe the environment and devices used?

@bailz
Copy link
Author

bailz commented May 23, 2021

Thank you, I have it working

Forgot one line

var onReceive = function(recvPayload) {
content = Quiet.mergeab(content, recvPayload); // Needed this
console.log("onReceive payload: " + Quiet.ab2str(content));
}

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