]> sigrok.org Git - libsigrok.git/commit
rdtech-tc: Add initial support for the RDTech TC66C
authorAndreas Sandberg <redacted>
Fri, 6 Mar 2020 14:44:41 +0000 (14:44 +0000)
committerUwe Hermann <redacted>
Thu, 4 Jun 2020 22:25:26 +0000 (00:25 +0200)
commitcae33a58743e408a602771d6924ee8c271326f47
treee572ba8cb026c8a4e8ffbcdb4424b10b8a387c62
parent219c63ea1be57b23866ab9650eba90d14fbda631
rdtech-tc: Add initial support for the RDTech TC66C

This changeset adds support for the RDTech TC66C USB power meter.

Currently, the driver reports the following channels:
  * V: VBus voltage
  * I: VBus current
  * D+: D+ voltage
  * D-: D- voltage
  * E: Energy consumed in threshold-based recording mode.

The number of significant digits shown for each channel has been set
to match the number of digits shown on the device.

Usage example:

sigrok-cli -d rdtech-tc:conn=/dev/ttyACM0 --scan

Known issues:

  * BLE support is currently unimplemented. This uses a different
    command set, but the same poll data format.

Kudos to Ben V. Brown for reverse engineering some of the protocol and
documenting the encryption key used for poll data.

Signed-off-by: Andreas Sandberg <redacted>
Makefile.am
configure.ac
src/hardware/rdtech-tc/api.c [new file with mode: 0644]
src/hardware/rdtech-tc/protocol.c [new file with mode: 0644]
src/hardware/rdtech-tc/protocol.h [new file with mode: 0644]