Skip to content

Help wanted: UT171 protocol verification (real hardware needed) #4

Description

@antoinecellerier

Summary

The UT171A/B/C protocol has been implemented based on reverse engineering but has never been tested against real hardware. Every aspect needs end-to-end verification.

What we need

Someone with a UT171A, UT171B, or UT171C multimeter and the CP2110 USB adapter.

What needs verification

  • Frame extraction (1-byte length field, little-endian checksum)
  • Connect command (AB CD 04 00 0A 01 0F 00) — is it needed before streaming starts?
  • Mode byte mapping (26 modes, 0x010x24) — do mode labels match the LCD?
  • Float32 little-endian value parsing — are values correct?
  • Flags byte: HOLD (bit 7), AUTO (bit 6, inverted), Low Battery (bit 2)
  • Range byte (raw, 1-based)
  • Extended frame (28 bytes, frame type 0x03) — currently not parsed
  • Status2 byte (offset 13) — meaning unknown
  • Aux value interpretation

Verification steps

1. Enable USB communication on the meter

On UT171 series, go to the meter's SETUP menu and enable Communication ON.

2. Run the capture wizard

cargo run --bin dmm-cli -- --device ut171 capture

Follow the prompts, confirm what the LCD shows vs. what the tool parsed.

3. Raw byte dump

If the capture wizard doesn't work (no response), try:

RUST_LOG=dmm_lib=trace cargo run --bin dmm-cli -- --device ut171 debug

4. Basic reading

cargo run --bin dmm-cli -- --device ut171 read --count 10

Compare each value against the meter's LCD.

What to report

  • Meter model (UT171A/B/C) and firmware version if known
  • OS and version
  • Result of each step
  • The capture YAML file if the wizard produced one
  • Raw debug output if things didn't work
  • LCD screenshots alongside tool output are very helpful

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions