Use the native X2D print route - #10
Draft
VailElla wants to merge 8 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
X2D does not accept the legacy direct FTPS upload path reliably, so this adds a native route that uses the Bambu Studio networking plug-in and its local eMMC tunnel.
The route waits for the printer connection and certificate exchange before sending
project_file. If the first encrypted send returns-4030, it waits for the key exchange and retries once. X2D jobs now use this route by default; the older routes remain available for other models. There is also a small Bambu Connect handoff for cloud-mode use.The native helper is built locally with
npm run build:nativeand loads the installed plug-in at runtime. It is not bundled with the repository.Checked locally with
npm test(62 tests),npm run build:native, and a real X2D print that reachedRUNNING.