feat(spectro): add instlist utility for JSON instrument enumeration #9

Merged
gronod merged 2 commits from feature/usb-enumeration into main 2026-08-21 21:51:50 +01:00
Owner

Summary of Changes

Closes #6.

Introduces a standalone cross-platform hardware discovery utility instlist to query connected USB and Serial instruments and output their details as structured JSON.

Key Features:

  • Discovers connected instruments across Linux, macOS, and Windows using Argyll's internal new_icompaths() abstraction.
  • Emits structured JSON array containing port, name, and type.
  • Supports standard Argyll command-line options (-h, -?, --help, -v, -D [level]).
  • Integrated into spectro/Jamfile build rules.
  • Fully documented in doc/instlist.html and registered in doc/MinorTools.html.
### Summary of Changes Closes #6. Introduces a standalone cross-platform hardware discovery utility `instlist` to query connected USB and Serial instruments and output their details as structured JSON. #### Key Features: - Discovers connected instruments across Linux, macOS, and Windows using Argyll's internal `new_icompaths()` abstraction. - Emits structured JSON array containing `port`, `name`, and `type`. - Supports standard Argyll command-line options (`-h`, `-?`, `--help`, `-v`, `-D [level]`). - Integrated into `spectro/Jamfile` build rules. - Fully documented in `doc/instlist.html` and registered in `doc/MinorTools.html`.
gronod added 1 commit 2026-08-21 18:36:54 +01:00
- Implement spectro/instlist standalone discovery utility using new_icompaths()
- Emit structured JSON array to stdout with port, name, and instrument type
- Support -h, -?, --help, -v, and -D command-line switches
- Add instlist to spectro/Jamfile build targets
- Add doc/instlist.html and register in doc/MinorTools.html
gronod added 1 commit 2026-08-21 19:01:13 +01:00
gronod merged commit 1f28e57714 into main 2026-08-21 21:51:50 +01:00
gronod deleted branch feature/usb-enumeration 2026-08-22 09:29:48 +01:00
Sign in to join this conversation.