Skip to content

Add ProtocolVersion to MetadataCaps - #897

Open
JV-Bio wants to merge 8 commits into
cyanfish:masterfrom
JV-Bio:MetaDataCaps_ProtocolVersion
Open

Add ProtocolVersion to MetadataCaps#897
JV-Bio wants to merge 8 commits into
cyanfish:masterfrom
JV-Bio:MetaDataCaps_ProtocolVersion

Conversation

@JV-Bio

@JV-Bio JV-Bio commented Sep 1, 2026

Copy link
Copy Markdown

Closes Issue: #896

Adds ProtocolVersion to MetadataCaps, populated by the WIA, TWAIN, SANE, and ESCL drivers:

  • WIA: mapped via a new WiaProtocolVersionParser (1.0 / 2.0 / null for default).
  • TWAIN: uses ds.ProtocolVersion.ToString() directly.
  • SANE: derived from the library version string.
  • ESCL: read from the device's advertised eSCL version.

Includes unit tests for the WIA parser, SANE version parsing, and ESCL metadata caps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant