Expand description
A diagnostic report: everything we ask someone with a camera for, in one plain-text file.
Three issues, three real defects, and in every one of them the diagnosis came from an artifact the reporter had to assemble by hand: a debug log, a register dump, the GenApi XML. The maintainer has no cameras, so a report is not a support burden — it is the only evidence this project can obtain, and the cost of producing one is the rate limit on fixing bugs.
So the report gathers all of it in one pass and keeps going when a step fails: a camera we cannot open is precisely the camera worth reporting, and a bundle that aborts at the first error would describe nothing. Every section records either its findings or why it has none.
viva-camctl report, viva-service and Viva Studio all write it with
build_report, so a report reads the same whichever tool produced it
(backlog ST-41).
Structs§
- Open
Camera - What a caller holding a camera open knows about it, for
ReportTarget::Open. - Report
Request - What to put in a report.
Enums§
- Report
Target - The camera a report describes in detail.
Functions§
- build_
report - Build the report. It never fails: a step that cannot be done says so in its section, and the rest carry on.