Files
Hanif Koh 4f6d7e98af Build the Device Layer's Commands in One Message Library
Command JSON was assembled by hand at each call site, so the same message was written out twice in
places (MachineObject and DevPrintOptions, MachineObject and DevUpgrade) and nothing held the field
names and types in one place. OpcpCommands now has one builder per wire message, grouped by its
top-level namespace, and the device layer and DeviceCore controls call those builders.

This first slice covers job control, temperatures, print options, AMS settings and drying, camera,
xcam, upgrade and system commands. Calibration, filament load and slot setting keep their own
builders for now. The golden test of every command passes unchanged, so the bytes sent are the same.

DevAxis::Ctrl_GoHome and Ctrl_Axis had no callers and are removed.
2026-11-30 12:56:00 +08:00
..