Alias: v5x lsdev Lists each smart port’s number, detected device type, and firmware version. Requires a connected brain. Pass --port <path-or-id> or set V5X_PORT to target a specific brain. Device types include motors, controllers, inertial, distance, optical, GPS, vision, ADI, radio, and other devices recognized by the protocol.

JSON output

The JSON output is an array of devices:
type and version preserve the raw values reported by the brain. typeLabel and versionString match the human-readable table formatting.