From: Karl Palsson Date: Tue, 13 Oct 2015 16:19:24 +0000 (+0000) Subject: drivers: Add support for Tenma 72-7730 multimeter X-Git-Tag: libsigrok-0.4.0~225 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b1cadcfbef49ab24dbcf0987b927c4bffa207fcc;p=libsigrok.git drivers: Add support for Tenma 72-7730 multimeter Tested with a 72-7730 device. Signed-off-by: Karl Palsson --- diff --git a/src/hardware/serial-dmm/api.c b/src/hardware/serial-dmm/api.c index 3a4fa208..3f065c59 100644 --- a/src/hardware/serial-dmm/api.c +++ b/src/hardware/serial-dmm/api.c @@ -559,6 +559,12 @@ SR_PRIV const struct dmm_info *serial_dmm_drivers[] = { sr_es519xx_2400_11b_packet_valid, sr_es519xx_2400_11b_parse, NULL ), + DMM( + "tenma-72-7730-ser", ut71x, + "Tenma", "72-7730 (UT-D02 cable)", "2400/7o1/rts=0/dtr=1", + 2400, UT71X_PACKET_SIZE, 0, 0, NULL, + sr_ut71x_packet_valid, sr_ut71x_parse, NULL + ), DMM( "tenma-72-7745-ser", fs9721, "Tenma", "72-7745 (UT-D02 cable)", "2400/8n1/rts=0/dtr=1", diff --git a/src/hardware/uni-t-dmm/api.c b/src/hardware/uni-t-dmm/api.c index 9a614e9d..ac0ebbfd 100644 --- a/src/hardware/uni-t-dmm/api.c +++ b/src/hardware/uni-t-dmm/api.c @@ -388,6 +388,12 @@ SR_PRIV const struct dmm_info *uni_t_dmm_drivers[] = { "Voltcraft", "VC-960", 2400, UT71X_PACKET_SIZE, sr_ut71x_packet_valid, sr_ut71x_parse, NULL ), + DMM( + "tenma-72-7730", ut71x, + "Tenma", "72-7730", 2400, + UT71X_PACKET_SIZE, + sr_ut71x_packet_valid, sr_ut71x_parse, NULL + ), DMM( "tenma-72-7745", es519xx, "Tenma", "72-7745", 2400,