]> sigrok.org Git - libsigrok.git/commitdiff
serial-dmm: Add support for Velleman DVM4100 & PeakTech 3415.
authorMatthieu Gaillet <redacted>
Wed, 4 Nov 2015 21:58:15 +0000 (22:58 +0100)
committerUwe Hermann <redacted>
Sun, 15 Nov 2015 22:54:37 +0000 (23:54 +0100)
(both are using the new dtm0660 DMM parser)

src/hardware/serial-dmm/api.c

index ddd4e71c96d7a496c69715f58dc963da5cac7707..a589d013c1b6fbf4284d5d124057d3c77ae64a2d 100644 (file)
@@ -599,5 +599,17 @@ SR_PRIV const struct dmm_info *serial_dmm_drivers[] = {
                sr_brymen_bm25x_packet_valid, sr_brymen_bm25x_parse,
                NULL
        ),
+       DMM(
+               "velleman-dvm4100", dtm0660,
+               "Velleman", "DVM4100", "2400/8n1/rts=0/dtr=1",
+               2400, DTM0660_PACKET_SIZE, 0, 0, NULL,
+               sr_dtm0660_packet_valid, sr_dtm0660_parse, NULL
+       ),
+       DMM(
+               "peaktech-3415", dtm0660,
+               "Peaktech", "3415", "2400/8n1/rts=0/dtr=1",
+               2400, DTM0660_PACKET_SIZE, 0, 0, NULL,
+               sr_dtm0660_packet_valid, sr_dtm0660_parse, NULL
+       ),
        NULL
 };