quiet-js icon indicating copy to clipboard operation
quiet-js copied to clipboard

Sample/demo of FSK

Open MidnightLogic opened this issue 4 years ago • 2 comments
trafficstars

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

MidnightLogic avatar May 22 '21 13:05 MidnightLogic

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?

brian-armstrong avatar May 22 '21 18:05 brian-armstrong

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)); }

MidnightLogic avatar May 23 '21 01:05 MidnightLogic