]> sigrok.org Git - libsigrok.git/commitdiff
korad-kaxxxxp: add support for forced "detection" of a given model
authorGerhard Sittig <redacted>
Sat, 1 Aug 2020 15:22:28 +0000 (17:22 +0200)
committerGerhard Sittig <redacted>
Sat, 22 Aug 2020 07:10:29 +0000 (09:10 +0200)
Korad PSU models are rather popular. But the successful operation of
currently unsupported model names or firmware versions is hard to verify
by users, because building the library from locally modified sources is
involved.

Introduce support for the "force_detect=" scan option. Warning messages
contain how the device identifies itself. Optional user specs can force
the assignment of the driver to the unsupported model. Which results in
reports that include the identification details as well as the successful
use of the device.

  $ sigrok-cli -d korad-kaxxxxp:conn=...:force_detect=KORADKA3005PV2.0 --show


No differences found