libsigrok/src
Andreas Sandberg 8b607a24e7 rdtech-um: Add initial support for the RDTech UMxx series
This changeset adds support for the RDTech UMxx series of USB power
meters. The driver has been tested with the RDTech UM24C, but should
support the UM24C, UM25C, and the UM34C.

Currently, the driver reports the following channels:
  * V: VBus voltage
  * I: VBus current
  * D+: D+ voltage
  * D-: D- voltage
  * T: Device temperature
  * 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 a UM24C.

Missing features:

  * There is currently no support for configuring threshold-based
    recording from sigrok, but this can be done on the device itself.

  * Fast charging mode currently not logged.

Usage example:

sigrok-cli -d rdtech-um:conn=bt/rfcomm/MAC --scan
sigrok-cli -d rdtech-um:conn=/dev/rfcomm0 --scan

Known issues:

  * When using sigrok's Bluetooth transport implementation, the device
    is disconnected between probing and sampling. Some devices (e.g.,
    the UM24C), dislikes this and can't be reconnected reliably for
    sampling. This is not an issue when setting up a rfcomm device
    manually and using it as a serial port.

Kudos to Sven Slootweg for documenting most of the protocol.

Signed-off-by: Andreas Sandberg <andreas@sandberg.pp.se>
2020-06-05 00:25:26 +02:00
..
bt bt/bt_bluez: Implement retry if rfcomm sockets are busy 2020-04-11 16:00:52 +02:00
dmm Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
hardware rdtech-um: Add initial support for the RDTech UMxx series 2020-06-05 00:25:26 +02:00
input Use std_session_send_df_trigger() where possible. 2020-04-08 23:21:39 +02:00
lcr lcr/vc4080: introduce LCR packet parser for Voltcraft 4080 (and PeakTech 2165) 2019-07-31 22:40:44 +02:00
modbus modbus: Close device after scan 2020-04-11 15:55:35 +02:00
output Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
scale license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00
scpi Fix compiler warnings related to -Wcast-function-type. 2020-05-02 17:01:39 +02:00
transform Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
analog.c Doxygen: Fix various warnings. 2020-03-25 20:27:57 +01:00
backend.c build: prepare serial over Bluetooth, search for optional BlueZ lib 2019-06-02 20:39:02 +02:00
binary_helpers.c binary_helpers: Drop unnecessary malloc check. 2020-06-05 00:25:26 +02:00
conversion.c Doxygen: Fix various warnings. 2020-03-25 20:27:57 +01:00
device.c Doxygen: Fix various warnings. 2020-03-25 20:27:57 +01:00
driver_list_start.c drivers: Remove dependency on linker implementation specific behaviour 2017-09-02 17:06:37 +02:00
driver_list_stop.c drivers: Remove dependency on linker implementation specific behaviour 2017-09-02 17:06:37 +02:00
drivers.c Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
error.c license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00
ezusb.c drivers: Load firmware via new resource API 2015-10-01 15:44:55 +02:00
fallback.c serial: introduce more general "have serial comm" feature flag 2019-06-02 20:39:02 +02:00
hwdriver.c libsigrok.h: Add SR_MQ_ENERGY 2020-06-04 23:13:43 +02:00
libsigrok-internal.h binary_helpers: Add helper for devices with binary data 2020-06-05 00:07:30 +02:00
log.c Add a new sr_log_callback_get() API call. 2018-08-30 19:11:30 +02:00
resource.c Doxygen: Fix various warnings. 2020-03-25 20:27:57 +01:00
scpi.h Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
serial.c serial: accept bitrate only serialcomm= spec, default to 8n1 frames 2020-05-31 23:39:19 +02:00
serial_bt.c Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
serial_hid.c Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
serial_hid.h src/serial_hid.h: Include guard consistency fix. 2019-12-24 16:38:56 +01:00
serial_hid_bu86x.c Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
serial_hid_ch9325.c Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
serial_hid_cp2110.c Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
serial_hid_victor.c Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
serial_libsp.c Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
session.c Fix compiler warnings related to -Wcast-function-type. 2020-05-02 17:01:39 +02:00
session_driver.c Fix various gcc 8 compiler warnings related to ARRAY_SIZE. 2018-10-06 19:13:39 +02:00
session_file.c Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
soft-trigger.c Use std_session_send_df_trigger() where possible. 2020-04-08 23:21:39 +02:00
std.c std: Rename std_session_send_frame_begin/_end(). 2020-04-08 23:35:44 +02:00
strutil.c strutil: introduce sr_atol_base() conversion helper (non-decimal) 2020-05-29 06:12:50 +02:00
sw_limits.c sw_limits: start msec timeout period only after start() call 2020-05-31 23:39:28 +02:00
trigger.c Doxygen: Properly mark a few symbols as private. 2020-03-25 20:10:24 +01:00
usb.c Fix compiler warnings related to -Wcast-function-type. 2020-05-02 17:01:39 +02:00
version.c license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00