You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(discovery): detect printer model from USB product ID
Resolve the model from the firmware-set USB product ID (discovery packet
offset 0x88) before falling back to productType (0x5A02, 5M-family only)
and the user-mutable name. The product ID matches the /detail pid field and
the update-checker keys, so it cleanly distinguishes 5M / 5M Pro / AD5X
where productType cannot.
- Add MODERN_PRODUCT_IDS map and pass productId into detectModernModel.
- Add Creator5 / Creator5Pro to PrinterModel; register pids 40/41 in
KNOWN_HTTP_PIDS and expose IsCreator5 on FFMachineInfo / FiveMClient.
- Cover PID-first detection with PrinterDiscovery tests.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments