Skip to main content

Scan Devices

wuji devices scans and lists all devices on the USB and UDP buses:
Output columns include SN, Transport, USB Port, IP, and Address. Use wuji ping to get the device type and firmware version.

Probe Connectivity

wuji ping performs a full handshake with the device to confirm it’s actually reachable, reporting SN, firmware version, and IP:
If any device fails the probe, the command returns exit code 1 — ready for script assertions.

Target a Specific Device

Most commands accept one of the following mutually exclusive flags to select a device:
Behavior when no device is specified:
  • ping and doctor process all discovered devices
  • get, set, sub, and resources connect automatically when exactly one device is present. With multiple devices, they report an error listing candidate SNs — pick one with --sn

Behavior When the Device Is Occupied

Device firmware allows only one direct session at a time. When another host application already occupies the device, the CLI falls back to read-only access:
  • Read operations (get, sub, resources, and doctor sampling) keep working
  • Write operations (set) are rejected — release the occupying direct connection and retry

Common Messages