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

GenericGcodeDriver: Add support for grblHAL HTTP-upload. Fixes #207 #208

Closed
wants to merge 0 commits into from

Conversation

pimsierhuis
Copy link
Contributor

See #207

Used apache httpclient instead of native Java 11, because it was already used by the octoprint-implementation and the native client doesn't easily support multipart/form-data.

Decided not to refactor out the net.sf.corn-client for the current use in this pull request, because if that would break things it would be better handled separately. Can provide a separate PR for that.

@pimsierhuis
Copy link
Contributor Author

Please wait, I didn't test well enough. Seems there must be a websocket open before the /command http call works. In my tests it worked because I had webui running in parallel. Will implement the http_command with a websocket, that should do the trick I guess.

@mgmax mgmax marked this pull request as draft March 23, 2024 21:36
@pimsierhuis pimsierhuis closed this Apr 3, 2024
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.

1 participant