From: Andreas Sandberg Date: Fri, 6 Mar 2020 14:44:41 +0000 (+0000) Subject: rdtech-tc: Add initial support for the RDTech TC66C X-Git-Url: https://sigrok.org/gitweb/?a=commitdiff_plain;h=cae33a58743e408a602771d6924ee8c271326f47;hp=cae33a58743e408a602771d6924ee8c271326f47;p=libsigrok.git 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 ---