One command brings the device firmware up to date, and the report gives the before and after version for each device. With several devices on the bus, name one with --sn. Keep power and connection stable during the upgrade.
Usage
wuji upgrade --check # which devices have firmware updates (read-only)wuji upgrade --all # upgrade every device to its latestwuji upgrade --sn <SN> # upgrade one device to its latestwuji upgrade --sn <SN> --to 0.11.0 # install a specific version on one devicewuji upgrade --type wuji_glove --to 0.11.0 # install a specific version on every device of one typewuji upgrade --sn <SN> --list # list firmware versions available for one devicewuji upgrade --file fw.zip # flash a local firmware packagewuji upgrade --file firmware.bin # flash a standalone Wuji firmware file
Without a device selector, single-device actions auto-pick the only connected device. With several devices on the bus, the CLI errors out listing candidate SNs — pick one with --sn.