Wire InfoCommand through as one real, runnable example

BambuRequest::Info(InfoCommand) is now live (was commented out) —
examples/bambu_protocol_demo.rs constructs one, serializes it, and prints
it next to Bambu's real wire JSON for comparison. Run it and copy this
exact shape (proto message -> use it here -> add an enum variant) for
every other command.
This commit is contained in:
2026-08-28 22:41:55 +00:00
parent 6e18215af5
commit 8e5d85202f
4 changed files with 83 additions and 0 deletions
+2
View File
@@ -29,10 +29,12 @@
//! `tokio::spawn`, not yet).
mod bambu;
mod bambu_protocol;
mod klipper;
mod prusa;
pub use bambu::{BambuGenericPrinter, BambuTls, BambuV1Printer, BambuV2Printer};
pub use bambu_protocol::{BambuReport, BambuRequest};
pub use klipper::KlipperPrinter;
pub use prusa::{PrusaLinkPrinter, PrusaSerialPrinter};