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

Webassembly/emscripten build #2666

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gabonator
Copy link

No description provided.

@gabonator
Copy link
Author

This PR adds support for building webassembly (with emscripten). In the build folder it will produce sample HTML + JS file which parses some simple protocol and dumps the JSON report into console. Having RTL433 webassembly build allows integration this powerful decoder into web based applications. For example this one:
https://rawgit.valky.eu/gabonator/LA104/master/system/apps/79_cc1101osc/web/editor/index.html

image

@zuckschwerdt
Copy link
Collaborator

Thanks, interesting! I have commited the fixes to secplus_v1 and output_rtltcp with e826a46, you can undo those from this PR.

@zuckschwerdt
Copy link
Collaborator

I dug up an old idea to make the decoders easier to use stand-alone in #2667 -- you then wouldn't need to handle data_t but could build a output with simpler functions.

@gabonator gabonator closed this Oct 10, 2023
@gabonator
Copy link
Author

Noticed some instabilities when analysis was executed more times, I will try to fix it and then reopen

@gabonator gabonator reopened this Oct 10, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants