]>
Commit | Line | Data |
---|---|---|
7dc55d93 | 1 | /* |
50985c20 | 2 | * This file is part of the libsigrok project. |
7dc55d93 AG |
3 | * |
4 | * Copyright (C) 2012 Bert Vermeulen <bert@biot.com> | |
5 | * Copyright (C) 2012 Alexandru Gagniuc <mr.nuke.me@gmail.com> | |
729b01f9 | 6 | * Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de> |
7dc55d93 AG |
7 | * |
8 | * This program is free software: you can redistribute it and/or modify | |
9 | * it under the terms of the GNU General Public License as published by | |
10 | * the Free Software Foundation, either version 3 of the License, or | |
11 | * (at your option) any later version. | |
12 | * | |
13 | * This program is distributed in the hope that it will be useful, | |
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | * GNU General Public License for more details. | |
17 | * | |
18 | * You should have received a copy of the GNU General Public License | |
19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
20 | */ | |
21 | ||
6ec6c43b | 22 | #include <config.h> |
7dc55d93 AG |
23 | #include <sys/types.h> |
24 | #include <sys/stat.h> | |
25 | #include <fcntl.h> | |
26 | #include <string.h> | |
22f54192 | 27 | #include <glib.h> |
c1aae900 | 28 | #include <libsigrok/libsigrok.h> |
bbabddbd UH |
29 | #include "libsigrok-internal.h" |
30 | #include "protocol.h" | |
7dc55d93 | 31 | |
a0e0bb41 | 32 | static const uint32_t scanopts[] = { |
1953564a BV |
33 | SR_CONF_CONN, |
34 | SR_CONF_SERIALCOMM, | |
7dc55d93 AG |
35 | }; |
36 | ||
05199c0a | 37 | static const uint32_t drvopts[] = { |
1953564a | 38 | SR_CONF_MULTIMETER, |
05199c0a UH |
39 | }; |
40 | ||
41 | static const uint32_t devopts[] = { | |
1953564a | 42 | SR_CONF_CONTINUOUS, |
070668a0 GS |
43 | SR_CONF_LIMIT_SAMPLES | SR_CONF_GET | SR_CONF_SET, |
44 | SR_CONF_LIMIT_MSEC | SR_CONF_GET | SR_CONF_SET, | |
7dc55d93 AG |
45 | }; |
46 | ||
bcbef5ed | 47 | static GSList *scan(struct sr_dev_driver *di, GSList *options) |
7dc55d93 | 48 | { |
1a863916 | 49 | struct dmm_info *dmm; |
bcbef5ed ML |
50 | struct sr_config *src; |
51 | GSList *l, *devices; | |
52 | const char *conn, *serialcomm; | |
7dc55d93 | 53 | struct sr_dev_inst *sdi; |
7dc55d93 | 54 | struct dev_context *devc; |
d35afa87 | 55 | struct sr_serial_dev_inst *serial; |
070668a0 GS |
56 | int ret; |
57 | size_t dropped, len, packet_len; | |
2546b05c | 58 | uint8_t buf[128]; |
556a926d GS |
59 | size_t ch_idx; |
60 | char ch_name[12]; | |
7dc55d93 | 61 | |
1a863916 UH |
62 | dmm = (struct dmm_info *)di; |
63 | ||
0527cc3a | 64 | conn = dmm->conn; |
09c650d5 | 65 | serialcomm = dmm->serialcomm; |
bcbef5ed ML |
66 | for (l = options; l; l = l->next) { |
67 | src = l->data; | |
68 | switch (src->key) { | |
69 | case SR_CONF_CONN: | |
70 | conn = g_variant_get_string(src->data, NULL); | |
71 | break; | |
72 | case SR_CONF_SERIALCOMM: | |
73 | serialcomm = g_variant_get_string(src->data, NULL); | |
74 | break; | |
75 | } | |
76 | } | |
77 | if (!conn) | |
78 | return NULL; | |
79 | ||
91219afc | 80 | serial = sr_serial_dev_inst_new(conn, serialcomm); |
d35afa87 | 81 | |
2e360339 | 82 | if (serial_open(serial, SERIAL_RDWR) != SR_OK) |
7dc55d93 | 83 | return NULL; |
22f54192 | 84 | sr_info("Probing serial port %s.", conn); |
7dc55d93 | 85 | |
070668a0 GS |
86 | if (dmm->after_open) { |
87 | ret = dmm->after_open(serial); | |
88 | if (ret != SR_OK) { | |
89 | sr_err("Activity after port open failed: %d.", ret); | |
90 | return NULL; | |
91 | } | |
92 | } | |
93 | ||
7dc55d93 | 94 | devices = NULL; |
bbabddbd | 95 | |
ce3777ad | 96 | /* Request a packet if the DMM requires this. */ |
bcbef5ed ML |
97 | if (dmm->packet_request) { |
98 | if ((ret = dmm->packet_request(serial)) < 0) { | |
ce3777ad | 99 | sr_err("Failed to request packet: %d.", ret); |
070668a0 | 100 | return NULL; |
ce3777ad UH |
101 | } |
102 | } | |
103 | ||
22f54192 UH |
104 | /* |
105 | * There's no way to get an ID from the multimeter. It just sends data | |
106 | * periodically (or upon request), so the best we can do is check if | |
107 | * the packets match the expected format. | |
070668a0 | 108 | * |
2546b05c AG |
109 | * If we dropped more than two packets worth of data, something is |
110 | * wrong. We shouldn't quit however, since the dropped bytes might be | |
111 | * just zeroes at the beginning of the stream. Those can occur as a | |
22f54192 UH |
112 | * combination of the nonstandard cable that ships with some devices |
113 | * and the serial port or USB to serial adapter. | |
2546b05c | 114 | */ |
070668a0 GS |
115 | len = sizeof(buf); |
116 | ret = serial_stream_detect(serial, buf, &len, dmm->packet_size, | |
117 | dmm->packet_valid, dmm->packet_valid_len, &packet_len, 3000); | |
118 | if (ret != SR_OK) | |
119 | goto scan_cleanup; | |
bcbef5ed | 120 | dropped = len - dmm->packet_size; |
070668a0 GS |
121 | if (dropped > 2 * packet_len) |
122 | sr_warn("Packet search dropped a lot of data."); | |
2546b05c | 123 | sr_info("Found device on port %s.", conn); |
7dc55d93 | 124 | |
070668a0 GS |
125 | /* |
126 | * Setup optional additional callbacks when sub device drivers | |
127 | * happen to provide them. (This is a compromise to do it here, | |
128 | * and not extend the DMM_CONN() et al set of macros.) | |
129 | */ | |
130 | if (dmm->dmm_state_init) | |
131 | dmm->dmm_state = dmm->dmm_state_init(); | |
132 | ||
133 | /* Setup the device instance. */ | |
134 | sdi = g_malloc0(sizeof(*sdi)); | |
0af636be | 135 | sdi->status = SR_ST_INACTIVE; |
bcbef5ed ML |
136 | sdi->vendor = g_strdup(dmm->vendor); |
137 | sdi->model = g_strdup(dmm->device); | |
070668a0 | 138 | devc = g_malloc0(sizeof(*devc)); |
9f51c463 | 139 | sr_sw_limits_init(&devc->limits); |
1e1bfcd0 UH |
140 | sdi->inst_type = SR_INST_SERIAL; |
141 | sdi->conn = serial; | |
2546b05c | 142 | sdi->priv = devc; |
070668a0 GS |
143 | |
144 | /* Create (optionally device dependent) channel(s). */ | |
556a926d | 145 | dmm->channel_count = 1; |
400bc4ff GS |
146 | if (dmm->packet_parse == sr_brymen_bm52x_parse) |
147 | dmm->channel_count = BRYMEN_BM52X_DISPLAY_COUNT; | |
0759e2f5 GS |
148 | if (dmm->packet_parse == sr_brymen_bm86x_parse) |
149 | dmm->channel_count = BRYMEN_BM86X_DISPLAY_COUNT; | |
015df4ae GS |
150 | if (dmm->packet_parse == sr_eev121gw_3displays_parse) { |
151 | dmm->channel_count = EEV121GW_DISPLAY_COUNT; | |
152 | dmm->channel_formats = eev121gw_channel_formats; | |
153 | } | |
db3aac1a GS |
154 | if (dmm->packet_parse == sr_metex14_4packets_parse) |
155 | dmm->channel_count = 4; | |
dcd212f7 VV |
156 | if (dmm->packet_parse == sr_ms2115b_parse) { |
157 | dmm->channel_count = MS2115B_DISPLAY_COUNT; | |
158 | dmm->channel_formats = ms2115b_channel_formats; | |
159 | } | |
556a926d | 160 | for (ch_idx = 0; ch_idx < dmm->channel_count; ch_idx++) { |
48e2992f | 161 | size_t ch_num; |
7d40b5ee GS |
162 | const char *fmt; |
163 | fmt = "P%zu"; | |
164 | if (dmm->channel_formats && dmm->channel_formats[ch_idx]) | |
165 | fmt = dmm->channel_formats[ch_idx]; | |
48e2992f | 166 | ch_num = ch_idx + 1; |
7d40b5ee | 167 | snprintf(ch_name, sizeof(ch_name), fmt, ch_num); |
556a926d GS |
168 | sr_channel_new(sdi, ch_idx, SR_CHANNEL_ANALOG, TRUE, ch_name); |
169 | } | |
070668a0 GS |
170 | |
171 | /* Add found device to result set. */ | |
2546b05c AG |
172 | devices = g_slist_append(devices, sdi); |
173 | ||
174 | scan_cleanup: | |
d35afa87 | 175 | serial_close(serial); |
2546b05c | 176 | |
15a5bfe4 | 177 | return std_scan_complete(di, devices); |
7dc55d93 AG |
178 | } |
179 | ||
070668a0 | 180 | static int config_get(uint32_t key, GVariant **data, |
dd7a72ea | 181 | const struct sr_dev_inst *sdi, const struct sr_channel_group *cg) |
7dc55d93 AG |
182 | { |
183 | struct dev_context *devc; | |
070668a0 | 184 | struct dmm_info *dmm; |
7dc55d93 | 185 | |
070668a0 GS |
186 | if (!sdi) |
187 | return SR_ERR_ARG; | |
188 | devc = sdi->priv; | |
189 | ||
190 | switch (key) { | |
191 | case SR_CONF_LIMIT_SAMPLES: | |
192 | case SR_CONF_LIMIT_FRAMES: | |
193 | case SR_CONF_LIMIT_MSEC: | |
194 | return sr_sw_limits_config_get(&devc->limits, key, data); | |
195 | default: | |
196 | dmm = (struct dmm_info *)sdi->driver; | |
197 | if (!dmm || !dmm->config_get) | |
198 | return SR_ERR_NA; | |
199 | return dmm->config_get(dmm->dmm_state, key, data, sdi, cg); | |
200 | } | |
201 | /* UNREACH */ | |
202 | } | |
203 | ||
204 | static int config_set(uint32_t key, GVariant *data, | |
205 | const struct sr_dev_inst *sdi, const struct sr_channel_group *cg) | |
206 | { | |
207 | struct dev_context *devc; | |
208 | struct dmm_info *dmm; | |
8f996b89 | 209 | |
070668a0 GS |
210 | if (!sdi) |
211 | return SR_ERR_ARG; | |
b0baddef | 212 | devc = sdi->priv; |
070668a0 | 213 | (void)cg; |
7dc55d93 | 214 | |
070668a0 GS |
215 | switch (key) { |
216 | case SR_CONF_LIMIT_SAMPLES: | |
217 | case SR_CONF_LIMIT_FRAMES: | |
218 | case SR_CONF_LIMIT_MSEC: | |
219 | return sr_sw_limits_config_set(&devc->limits, key, data); | |
220 | default: | |
221 | dmm = (struct dmm_info *)sdi->driver; | |
222 | if (!dmm || !dmm->config_set) | |
223 | return SR_ERR_NA; | |
224 | return dmm->config_set(dmm->dmm_state, key, data, sdi, cg); | |
225 | } | |
7dc55d93 AG |
226 | } |
227 | ||
dd7a72ea UH |
228 | static int config_list(uint32_t key, GVariant **data, |
229 | const struct sr_dev_inst *sdi, const struct sr_channel_group *cg) | |
a1c743fc | 230 | { |
070668a0 GS |
231 | struct dmm_info *dmm; |
232 | int ret; | |
233 | ||
234 | /* Use common logic for standard keys. */ | |
235 | if (!sdi) | |
236 | return STD_CONFIG_LIST(key, data, sdi, cg, scanopts, drvopts, devopts); | |
237 | ||
238 | /* | |
239 | * Check for device specific config_list handler. ERR N/A from | |
240 | * that handler is non-fatal, just falls back to common logic. | |
241 | */ | |
242 | dmm = (struct dmm_info *)sdi->driver; | |
243 | if (dmm && dmm->config_list) { | |
244 | ret = dmm->config_list(dmm->dmm_state, key, data, sdi, cg); | |
245 | if (ret != SR_ERR_NA) | |
246 | return ret; | |
247 | } | |
248 | ||
05199c0a | 249 | return STD_CONFIG_LIST(key, data, sdi, cg, scanopts, drvopts, devopts); |
a1c743fc BV |
250 | } |
251 | ||
695dc859 | 252 | static int dev_acquisition_start(const struct sr_dev_inst *sdi) |
7dc55d93 | 253 | { |
7dc55d93 | 254 | struct dev_context *devc; |
070668a0 GS |
255 | struct dmm_info *dmm; |
256 | sr_receive_data_callback cb_func; | |
257 | void *cb_data; | |
258 | int ret; | |
1e1bfcd0 | 259 | struct sr_serial_dev_inst *serial; |
7dc55d93 | 260 | |
208c1d35 | 261 | devc = sdi->priv; |
7dc55d93 | 262 | |
9f51c463 | 263 | sr_sw_limits_acquisition_start(&devc->limits); |
bee2b016 | 264 | std_session_send_df_header(sdi); |
7dc55d93 | 265 | |
070668a0 GS |
266 | cb_func = receive_data; |
267 | cb_data = (void *)sdi; | |
268 | dmm = (struct dmm_info *)sdi->driver; | |
269 | if (dmm && dmm->acquire_start) { | |
270 | ret = dmm->acquire_start(dmm->dmm_state, sdi, | |
271 | &cb_func, &cb_data); | |
272 | if (ret < 0) | |
273 | return ret; | |
274 | } | |
275 | ||
1e1bfcd0 | 276 | serial = sdi->conn; |
102f1239 | 277 | serial_source_add(sdi->session, serial, G_IO_IN, 50, |
070668a0 | 278 | cb_func, cb_data); |
7dc55d93 AG |
279 | |
280 | return SR_OK; | |
281 | } | |
282 | ||
070668a0 | 283 | #define DMM_ENTRY(ID, CHIPSET, VENDOR, MODEL, \ |
0527cc3a | 284 | CONN, SERIALCOMM, PACKETSIZE, TIMEOUT, DELAY, \ |
070668a0 GS |
285 | OPEN, REQUEST, VALID, PARSE, DETAILS, \ |
286 | INIT_STATE, FREE_STATE, VALID_LEN, PARSE_LEN, \ | |
287 | CFG_GET, CFG_SET, CFG_LIST, ACQ_START) \ | |
dd5c48a6 | 288 | &((struct dmm_info) { \ |
bcbef5ed ML |
289 | { \ |
290 | .name = ID, \ | |
291 | .longname = VENDOR " " MODEL, \ | |
292 | .api_version = 1, \ | |
c2fdcc25 | 293 | .init = std_init, \ |
700d6b64 | 294 | .cleanup = std_cleanup, \ |
bcbef5ed | 295 | .scan = scan, \ |
c01bf34c | 296 | .dev_list = std_dev_list, \ |
f778bf02 | 297 | .dev_clear = std_dev_clear, \ |
070668a0 | 298 | .config_get = config_get, \ |
bcbef5ed ML |
299 | .config_set = config_set, \ |
300 | .config_list = config_list, \ | |
301 | .dev_open = std_serial_dev_open, \ | |
302 | .dev_close = std_serial_dev_close, \ | |
303 | .dev_acquisition_start = dev_acquisition_start, \ | |
4b1a9d5d | 304 | .dev_acquisition_stop = std_serial_dev_acquisition_stop, \ |
41812aca | 305 | .context = NULL, \ |
bcbef5ed | 306 | }, \ |
0527cc3a | 307 | VENDOR, MODEL, CONN, SERIALCOMM, PACKETSIZE, TIMEOUT, DELAY, \ |
070668a0 GS |
308 | REQUEST, 1, NULL, VALID, PARSE, DETAILS, \ |
309 | sizeof(struct CHIPSET##_info), \ | |
310 | NULL, INIT_STATE, FREE_STATE, \ | |
311 | OPEN, VALID_LEN, PARSE_LEN, \ | |
312 | CFG_GET, CFG_SET, CFG_LIST, ACQ_START, \ | |
dd5c48a6 | 313 | }).di |
3098b390 | 314 | |
070668a0 GS |
315 | #define DMM_CONN(ID, CHIPSET, VENDOR, MODEL, \ |
316 | CONN, SERIALCOMM, PACKETSIZE, TIMEOUT, DELAY, \ | |
317 | REQUEST, VALID, PARSE, DETAILS) \ | |
318 | DMM_ENTRY(ID, CHIPSET, VENDOR, MODEL, \ | |
319 | CONN, SERIALCOMM, PACKETSIZE, TIMEOUT, DELAY, \ | |
320 | NULL, REQUEST, VALID, PARSE, DETAILS, \ | |
321 | NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL) | |
322 | ||
0527cc3a GS |
323 | #define DMM(ID, CHIPSET, VENDOR, MODEL, SERIALCOMM, PACKETSIZE, TIMEOUT, \ |
324 | DELAY, REQUEST, VALID, PARSE, DETAILS) \ | |
070668a0 GS |
325 | DMM_CONN(ID, CHIPSET, VENDOR, MODEL, \ |
326 | NULL, SERIALCOMM, PACKETSIZE, TIMEOUT, DELAY, \ | |
327 | REQUEST, VALID, PARSE, DETAILS) | |
328 | ||
329 | #define DMM_LEN(ID, CHIPSET, VENDOR, MODEL, \ | |
330 | CONN, SERIALCOMM, PACKETSIZE, TIMEOUT, DELAY, \ | |
331 | INIT, FREE, OPEN, REQUEST, VALID, PARSE, DETAILS) \ | |
332 | DMM_ENTRY(ID, CHIPSET, VENDOR, MODEL, \ | |
333 | CONN, SERIALCOMM, PACKETSIZE, TIMEOUT, DELAY, \ | |
334 | OPEN, REQUEST, NULL, NULL, DETAILS, \ | |
335 | INIT, FREE, VALID, PARSE, NULL, NULL, NULL, NULL) | |
0527cc3a | 336 | |
dd5c48a6 | 337 | SR_REGISTER_DEV_DRIVER_LIST(serial_dmm_drivers, |
c0678584 GS |
338 | /* |
339 | * The items are sorted by chipset first and then model name. | |
340 | * | |
341 | * This reflects the developer's perspective and is preferrable | |
342 | * during maintenance, as a vendor/product based sort order does | |
343 | * not work well for rebranded models, and from a support point | |
344 | * of view it's more important to identify similarities between | |
345 | * models and compatible devices. | |
346 | * | |
347 | * Fold marks {{{ }}} with matching braces were added, to further | |
348 | * speed up navigation in the long list. | |
349 | */ | |
dc5895cb GS |
350 | /* asycii based meters {{{ */ |
351 | DMM( | |
352 | "metrix-mx56c", asycii, "Metrix", "MX56C", | |
10cfb048 | 353 | "2400/8n1", ASYCII_PACKET_SIZE, 0, 0, NULL, |
dc5895cb GS |
354 | sr_asycii_packet_valid, sr_asycii_parse, NULL |
355 | ), | |
356 | /* }}} */ | |
c0678584 GS |
357 | /* bm25x based meters {{{ */ |
358 | DMM( | |
359 | "brymen-bm25x", bm25x, | |
360 | "Brymen", "BM25x", "9600/8n1/rts=1/dtr=1", | |
10cfb048 | 361 | BRYMEN_BM25X_PACKET_SIZE, 0, 0, NULL, |
c0678584 GS |
362 | sr_brymen_bm25x_packet_valid, sr_brymen_bm25x_parse, |
363 | NULL | |
364 | ), | |
365 | /* }}} */ | |
400bc4ff GS |
366 | /* bm52x based meters {{{ */ |
367 | DMM_CONN( | |
368 | "brymen-bm52x", brymen_bm52x, "Brymen", "BM52x", | |
369 | "hid/bu86x", NULL, BRYMEN_BM52X_PACKET_SIZE, 4000, 500, | |
370 | sr_brymen_bm52x_packet_request, | |
371 | sr_brymen_bm52x_packet_valid, sr_brymen_bm52x_parse, | |
372 | NULL | |
373 | ), | |
374 | /* }}} */ | |
0759e2f5 GS |
375 | /* bm86x based meters {{{ */ |
376 | DMM_CONN( | |
377 | "brymen-bm86x", brymen_bm86x, "Brymen", "BM86x", | |
b800667d | 378 | "hid/bu86x", NULL, BRYMEN_BM86X_PACKET_SIZE, 500, 100, |
0759e2f5 GS |
379 | sr_brymen_bm86x_packet_request, |
380 | sr_brymen_bm86x_packet_valid, sr_brymen_bm86x_parse, | |
381 | NULL | |
382 | ), | |
383 | /* }}} */ | |
440a374f GS |
384 | /* dtm0660 based meters {{{ */ |
385 | DMM( | |
386 | "peaktech-3415", dtm0660, | |
6c62c605 | 387 | "PeakTech", "3415", "2400/8n1/rts=0/dtr=1", |
10cfb048 | 388 | DTM0660_PACKET_SIZE, 0, 0, NULL, |
440a374f GS |
389 | sr_dtm0660_packet_valid, sr_dtm0660_parse, NULL |
390 | ), | |
391 | DMM( | |
392 | "velleman-dvm4100", dtm0660, | |
393 | "Velleman", "DVM4100", "2400/8n1/rts=0/dtr=1", | |
10cfb048 | 394 | DTM0660_PACKET_SIZE, 0, 0, NULL, |
440a374f GS |
395 | sr_dtm0660_packet_valid, sr_dtm0660_parse, NULL |
396 | ), | |
397 | /* }}} */ | |
015df4ae GS |
398 | /* eev121gw based meters {{{ */ |
399 | DMM( | |
400 | "eevblog-121gw", eev121gw, "EEVblog", "121GW", | |
10cfb048 | 401 | "115200/8n1", EEV121GW_PACKET_SIZE, 0, 0, NULL, |
015df4ae GS |
402 | sr_eev121gw_packet_valid, sr_eev121gw_3displays_parse, NULL |
403 | ), | |
404 | /* }}} */ | |
7532f61d GS |
405 | /* es519xx based meters {{{ */ |
406 | DMM( | |
407 | "iso-tech-idm103n", es519xx, | |
408 | "ISO-TECH", "IDM103N", "2400/7o1/rts=0/dtr=1", | |
10cfb048 | 409 | ES519XX_11B_PACKET_SIZE, 0, 0, NULL, |
7532f61d GS |
410 | sr_es519xx_2400_11b_packet_valid, sr_es519xx_2400_11b_parse, |
411 | NULL | |
412 | ), | |
d5b1b76d GS |
413 | /* |
414 | * Note: ES51922 and ES51986 baudrate is actually 19230. This is | |
415 | * "out" by .15%, and so is well within the typical 1% margin | |
416 | * that is considered acceptable in UART communication, and thus | |
417 | * should not cause an issue. | |
82458e50 UH |
418 | * |
419 | * However, using 19230 as baudrate here will not work, as most DMM | |
420 | * cables do not support that baudrate! | |
d5b1b76d | 421 | */ |
7532f61d GS |
422 | DMM( |
423 | "tenma-72-7750-ser", es519xx, | |
7532f61d | 424 | "Tenma", "72-7750 (UT-D02 cable)", "19200/7o1/rts=0/dtr=1", |
10cfb048 | 425 | ES519XX_11B_PACKET_SIZE, 0, 0, NULL, |
7532f61d GS |
426 | sr_es519xx_19200_11b_packet_valid, sr_es519xx_19200_11b_parse, |
427 | NULL | |
428 | ), | |
429 | DMM( | |
7532f61d GS |
430 | "uni-t-ut60g-ser", es519xx, |
431 | "UNI-T", "UT60G (UT-D02 cable)", "19200/7o1/rts=0/dtr=1", | |
10cfb048 | 432 | ES519XX_11B_PACKET_SIZE, 0, 0, NULL, |
7532f61d GS |
433 | sr_es519xx_19200_11b_packet_valid, sr_es519xx_19200_11b_parse, |
434 | NULL | |
435 | ), | |
436 | DMM( | |
437 | "uni-t-ut61e-ser", es519xx, | |
7532f61d | 438 | "UNI-T", "UT61E (UT-D02 cable)", "19200/7o1/rts=0/dtr=1", |
10cfb048 | 439 | ES519XX_14B_PACKET_SIZE, 0, 0, NULL, |
7532f61d GS |
440 | sr_es519xx_19200_14b_packet_valid, sr_es519xx_19200_14b_parse, |
441 | NULL | |
442 | ), | |
443 | /* }}} */ | |
289e1f4e | 444 | /* fs9721 based meters {{{ */ |
bcbef5ed ML |
445 | DMM( |
446 | "digitek-dt4000zc", fs9721, | |
10cfb048 | 447 | "Digitek", "DT4000ZC", "2400/8n1/dtr=1", |
bcbef5ed ML |
448 | FS9721_PACKET_SIZE, 0, 0, NULL, |
449 | sr_fs9721_packet_valid, sr_fs9721_parse, | |
450 | sr_fs9721_10_temp_c | |
451 | ), | |
bcbef5ed ML |
452 | DMM( |
453 | "mastech-ms8250b", fs9721, | |
454 | "MASTECH", "MS8250B", "2400/8n1/rts=0/dtr=1", | |
10cfb048 | 455 | FS9721_PACKET_SIZE, 0, 0, NULL, |
bcbef5ed ML |
456 | sr_fs9721_packet_valid, sr_fs9721_parse, |
457 | NULL | |
458 | ), | |
459 | DMM( | |
1cd40b57 | 460 | "pce-pce-dm32", fs9721, |
10cfb048 | 461 | "PCE", "PCE-DM32", "2400/8n1", |
bcbef5ed ML |
462 | FS9721_PACKET_SIZE, 0, 0, NULL, |
463 | sr_fs9721_packet_valid, sr_fs9721_parse, | |
1cd40b57 | 464 | sr_fs9721_01_10_temp_f_c |
bcbef5ed | 465 | ), |
289e1f4e | 466 | DMM( |
1cd40b57 | 467 | "peaktech-3330", fs9721, |
10cfb048 | 468 | "PeakTech", "3330", "2400/8n1/dtr=1", |
289e1f4e GS |
469 | FS9721_PACKET_SIZE, 0, 0, NULL, |
470 | sr_fs9721_packet_valid, sr_fs9721_parse, | |
471 | sr_fs9721_01_10_temp_f_c | |
472 | ), | |
473 | DMM( | |
474 | "tecpel-dmm-8061-ser", fs9721, | |
475 | "Tecpel", "DMM-8061 (UT-D02 cable)", "2400/8n1/rts=0/dtr=1", | |
10cfb048 | 476 | FS9721_PACKET_SIZE, 0, 0, NULL, |
289e1f4e GS |
477 | sr_fs9721_packet_valid, sr_fs9721_parse, |
478 | sr_fs9721_00_temp_c | |
479 | ), | |
480 | DMM( | |
1cd40b57 | 481 | "tekpower-tp4000ZC", fs9721, |
10cfb048 | 482 | "TekPower", "TP4000ZC", "2400/8n1/dtr=1", |
1cd40b57 | 483 | FS9721_PACKET_SIZE, 0, 0, NULL, |
289e1f4e | 484 | sr_fs9721_packet_valid, sr_fs9721_parse, |
1cd40b57 | 485 | sr_fs9721_10_temp_c |
289e1f4e GS |
486 | ), |
487 | DMM( | |
1cd40b57 GS |
488 | "tenma-72-7745-ser", fs9721, |
489 | "Tenma", "72-7745 (UT-D02 cable)", "2400/8n1/rts=0/dtr=1", | |
10cfb048 | 490 | FS9721_PACKET_SIZE, 0, 0, NULL, |
289e1f4e GS |
491 | sr_fs9721_packet_valid, sr_fs9721_parse, |
492 | sr_fs9721_00_temp_c | |
493 | ), | |
494 | DMM( | |
495 | "uni-t-ut60a-ser", fs9721, | |
496 | "UNI-T", "UT60A (UT-D02 cable)", "2400/8n1/rts=0/dtr=1", | |
10cfb048 | 497 | FS9721_PACKET_SIZE, 0, 0, NULL, |
289e1f4e GS |
498 | sr_fs9721_packet_valid, sr_fs9721_parse, |
499 | NULL | |
500 | ), | |
501 | DMM( | |
502 | "uni-t-ut60e-ser", fs9721, | |
503 | "UNI-T", "UT60E (UT-D02 cable)", "2400/8n1/rts=0/dtr=1", | |
10cfb048 | 504 | FS9721_PACKET_SIZE, 0, 0, NULL, |
289e1f4e GS |
505 | sr_fs9721_packet_valid, sr_fs9721_parse, |
506 | sr_fs9721_00_temp_c | |
507 | ), | |
508 | DMM( | |
1cd40b57 | 509 | "va-va18b", fs9721, |
10cfb048 | 510 | "V&A", "VA18B", "2400/8n1", |
1cd40b57 | 511 | FS9721_PACKET_SIZE, 0, 0, NULL, |
289e1f4e | 512 | sr_fs9721_packet_valid, sr_fs9721_parse, |
1cd40b57 | 513 | sr_fs9721_01_temp_c |
289e1f4e GS |
514 | ), |
515 | DMM( | |
1cd40b57 | 516 | "va-va40b", fs9721, |
10cfb048 | 517 | "V&A", "VA40B", "2400/8n1", |
289e1f4e GS |
518 | FS9721_PACKET_SIZE, 0, 0, NULL, |
519 | sr_fs9721_packet_valid, sr_fs9721_parse, | |
1cd40b57 GS |
520 | sr_fs9721_max_c_min |
521 | ), | |
522 | DMM( | |
523 | "voltcraft-vc820-ser", fs9721, | |
524 | "Voltcraft", "VC-820 (UT-D02 cable)", "2400/8n1/rts=0/dtr=1", | |
10cfb048 | 525 | FS9721_PACKET_SIZE, 0, 0, NULL, |
1cd40b57 GS |
526 | sr_fs9721_packet_valid, sr_fs9721_parse, |
527 | NULL | |
528 | ), | |
529 | DMM( | |
530 | "voltcraft-vc840-ser", fs9721, | |
531 | "Voltcraft", "VC-840 (UT-D02 cable)", "2400/8n1/rts=0/dtr=1", | |
10cfb048 | 532 | FS9721_PACKET_SIZE, 0, 0, NULL, |
1cd40b57 GS |
533 | sr_fs9721_packet_valid, sr_fs9721_parse, |
534 | sr_fs9721_00_temp_c | |
289e1f4e GS |
535 | ), |
536 | /* }}} */ | |
0e27643f | 537 | /* fs9922 based meters {{{ */ |
a3ec8a9a TK |
538 | DMM( |
539 | "gwinstek-gdm-397", fs9922, | |
540 | "GW Instek", "GDM-397", "2400/8n1/rts=0/dtr=1", | |
541 | FS9922_PACKET_SIZE, 0, 0, NULL, | |
542 | sr_fs9922_packet_valid, sr_fs9922_parse, NULL | |
543 | ), | |
f97c1595 R |
544 | DMM( |
545 | "sparkfun-70c", fs9922, | |
546 | "SparkFun", "70C", "2400/8n1/rts=0/dtr=1", | |
10cfb048 | 547 | FS9922_PACKET_SIZE, 0, 0, NULL, |
f97c1595 R |
548 | sr_fs9922_packet_valid, sr_fs9922_parse, NULL |
549 | ), | |
0e27643f GS |
550 | DMM( |
551 | "uni-t-ut61b-ser", fs9922, | |
552 | "UNI-T", "UT61B (UT-D02 cable)", "2400/8n1/rts=0/dtr=1", | |
10cfb048 | 553 | FS9922_PACKET_SIZE, 0, 0, NULL, |
0e27643f GS |
554 | sr_fs9922_packet_valid, sr_fs9922_parse, NULL |
555 | ), | |
556 | DMM( | |
557 | "uni-t-ut61c-ser", fs9922, | |
558 | "UNI-T", "UT61C (UT-D02 cable)", "2400/8n1/rts=0/dtr=1", | |
10cfb048 | 559 | FS9922_PACKET_SIZE, 0, 0, NULL, |
0e27643f GS |
560 | sr_fs9922_packet_valid, sr_fs9922_parse, NULL |
561 | ), | |
562 | DMM( | |
563 | "uni-t-ut61d-ser", fs9922, | |
564 | "UNI-T", "UT61D (UT-D02 cable)", "2400/8n1/rts=0/dtr=1", | |
10cfb048 | 565 | FS9922_PACKET_SIZE, 0, 0, NULL, |
0e27643f GS |
566 | sr_fs9922_packet_valid, sr_fs9922_parse, NULL |
567 | ), | |
03f169b3 GS |
568 | DMM_CONN( |
569 | "victor-dmm", fs9922, "Victor", "Victor DMMs", | |
570 | "hid/victor", "2400/8n1", FS9922_PACKET_SIZE, 0, 0, NULL, | |
388aa0fb TW |
571 | sr_fs9922_packet_valid, sr_fs9922_parse, NULL |
572 | ), | |
0e27643f GS |
573 | DMM( |
574 | /* | |
575 | * Note: The VC830 doesn't set the 'volt' and 'diode' bits of | |
576 | * the FS9922 protocol. Instead, it only sets the user-defined | |
577 | * bit "z1" to indicate "diode mode" and "voltage". | |
578 | */ | |
579 | "voltcraft-vc830-ser", fs9922, | |
580 | "Voltcraft", "VC-830 (UT-D02 cable)", "2400/8n1/rts=0/dtr=1", | |
10cfb048 | 581 | FS9922_PACKET_SIZE, 0, 0, NULL, |
0e27643f GS |
582 | sr_fs9922_packet_valid, sr_fs9922_parse, |
583 | &sr_fs9922_z1_diode | |
584 | ), | |
585 | /* }}} */ | |
9d12555f | 586 | /* m2110 based meters {{{ */ |
289e1f4e | 587 | DMM( |
9d12555f | 588 | "bbcgm-2010", m2110, |
10cfb048 | 589 | "BBC Goertz Metrawatt", "M2110", "1200/7n2", |
289e1f4e GS |
590 | BBCGM_M2110_PACKET_SIZE, 0, 0, NULL, |
591 | sr_m2110_packet_valid, sr_m2110_parse, | |
592 | NULL | |
593 | ), | |
9d12555f | 594 | /* }}} */ |
dcd212f7 VV |
595 | /* ms2115b based meters {{{ */ |
596 | DMM( | |
597 | "mastech-ms2115b", ms2115b, | |
598 | "MASTECH", "MS2115B", "1200/8n1", | |
10cfb048 | 599 | MS2115B_PACKET_SIZE, 0, 0, NULL, |
dcd212f7 VV |
600 | sr_ms2115b_packet_valid, sr_ms2115b_parse, |
601 | NULL | |
602 | ), | |
603 | /* }}} */ | |
67070942 M |
604 | /* ms8250d based meters {{{ */ |
605 | DMM( | |
606 | "mastech-ms8250d", ms8250d, | |
607 | "MASTECH", "MS8250D", "2400/8n1/rts=0/dtr=1", | |
10cfb048 | 608 | MS8250D_PACKET_SIZE, 0, 0, NULL, |
67070942 M |
609 | sr_ms8250d_packet_valid, sr_ms8250d_parse, |
610 | NULL | |
611 | ), | |
612 | /* }}} */ | |
9d12555f | 613 | /* metex14 based meters {{{ */ |
289e1f4e | 614 | DMM( |
b35d0023 | 615 | "mastech-mas345", metex14, |
10cfb048 | 616 | "MASTECH", "MAS345", "600/7n2/rts=0/dtr=1", |
289e1f4e GS |
617 | METEX14_PACKET_SIZE, 0, 0, sr_metex14_packet_request, |
618 | sr_metex14_packet_valid, sr_metex14_parse, | |
619 | NULL | |
620 | ), | |
621 | DMM( | |
b35d0023 | 622 | "metex-m3640d", metex14, |
10cfb048 | 623 | "Metex", "M-3640D", "1200/7n2/rts=0/dtr=1", |
289e1f4e GS |
624 | METEX14_PACKET_SIZE, 0, 0, sr_metex14_packet_request, |
625 | sr_metex14_packet_valid, sr_metex14_parse, | |
626 | NULL | |
627 | ), | |
fcc73918 FS |
628 | DMM( |
629 | "metex-m3860m", metex14, | |
10cfb048 | 630 | "Metex", "M-3860M", "9600/7n2/rts=0/dtr=1", |
556a926d GS |
631 | 4 * METEX14_PACKET_SIZE, 0, 0, sr_metex14_packet_request, |
632 | sr_metex14_4packets_valid, sr_metex14_4packets_parse, | |
fcc73918 FS |
633 | NULL |
634 | ), | |
289e1f4e | 635 | DMM( |
b35d0023 | 636 | "metex-m4650cr", metex14, |
10cfb048 | 637 | "Metex", "M-4650CR", "1200/7n2/rts=0/dtr=1", |
289e1f4e GS |
638 | METEX14_PACKET_SIZE, 0, 0, sr_metex14_packet_request, |
639 | sr_metex14_packet_valid, sr_metex14_parse, | |
640 | NULL | |
641 | ), | |
6d2e3070 TF |
642 | DMM( |
643 | "metex-me21", metex14, | |
644 | "Metex", "ME-21", "2400/7n2/rts=0/dtr=1", | |
645 | METEX14_PACKET_SIZE, 0, 0, sr_metex14_packet_request, | |
646 | sr_metex14_packet_valid, sr_metex14_parse, | |
647 | NULL | |
648 | ), | |
bcbef5ed | 649 | DMM( |
b35d0023 | 650 | "metex-me31", metex14, |
10cfb048 | 651 | "Metex", "ME-31", "600/7n2/rts=0/dtr=1", |
bcbef5ed ML |
652 | METEX14_PACKET_SIZE, 0, 0, sr_metex14_packet_request, |
653 | sr_metex14_packet_valid, sr_metex14_parse, | |
654 | NULL | |
655 | ), | |
656 | DMM( | |
b35d0023 | 657 | "peaktech-3410", metex14, |
10cfb048 | 658 | "PeakTech", "3410", "600/7n2/rts=0/dtr=1", |
bcbef5ed ML |
659 | METEX14_PACKET_SIZE, 0, 0, sr_metex14_packet_request, |
660 | sr_metex14_packet_valid, sr_metex14_parse, | |
661 | NULL | |
662 | ), | |
663 | DMM( | |
664 | "peaktech-4370", metex14, | |
10cfb048 | 665 | "PeakTech", "4370", "1200/7n2/rts=0/dtr=1", |
bcbef5ed ML |
666 | METEX14_PACKET_SIZE, 0, 0, sr_metex14_packet_request, |
667 | sr_metex14_packet_valid, sr_metex14_parse, | |
668 | NULL | |
669 | ), | |
19c9b176 UH |
670 | DMM( |
671 | "peaktech-4390a", metex14, | |
10cfb048 | 672 | "PeakTech", "4390A", "9600/7n2/rts=0/dtr=1", |
556a926d GS |
673 | 4 * METEX14_PACKET_SIZE, 0, 0, sr_metex14_packet_request, |
674 | sr_metex14_4packets_valid, sr_metex14_4packets_parse, | |
19c9b176 UH |
675 | NULL |
676 | ), | |
bcbef5ed ML |
677 | DMM( |
678 | "radioshack-22-168", metex14, | |
10cfb048 | 679 | "RadioShack", "22-168", "1200/7n2/rts=0/dtr=1", |
bcbef5ed ML |
680 | METEX14_PACKET_SIZE, 0, 0, sr_metex14_packet_request, |
681 | sr_metex14_packet_valid, sr_metex14_parse, | |
682 | NULL | |
683 | ), | |
684 | DMM( | |
685 | "radioshack-22-805", metex14, | |
10cfb048 | 686 | "RadioShack", "22-805", "600/7n2/rts=0/dtr=1", |
bcbef5ed ML |
687 | METEX14_PACKET_SIZE, 0, 0, sr_metex14_packet_request, |
688 | sr_metex14_packet_valid, sr_metex14_parse, | |
689 | NULL | |
690 | ), | |
bcbef5ed ML |
691 | DMM( |
692 | "voltcraft-m3650cr", metex14, | |
10cfb048 | 693 | "Voltcraft", "M-3650CR", "1200/7n2/rts=0/dtr=1", |
bcbef5ed ML |
694 | METEX14_PACKET_SIZE, 150, 20, sr_metex14_packet_request, |
695 | sr_metex14_packet_valid, sr_metex14_parse, | |
696 | NULL | |
697 | ), | |
698 | DMM( | |
699 | "voltcraft-m3650d", metex14, | |
10cfb048 | 700 | "Voltcraft", "M-3650D", "1200/7n2/rts=0/dtr=1", |
bcbef5ed ML |
701 | METEX14_PACKET_SIZE, 0, 0, sr_metex14_packet_request, |
702 | sr_metex14_packet_valid, sr_metex14_parse, | |
703 | NULL | |
704 | ), | |
705 | DMM( | |
706 | "voltcraft-m4650cr", metex14, | |
10cfb048 | 707 | "Voltcraft", "M-4650CR", "1200/7n2/rts=0/dtr=1", |
bcbef5ed ML |
708 | METEX14_PACKET_SIZE, 0, 0, sr_metex14_packet_request, |
709 | sr_metex14_packet_valid, sr_metex14_parse, | |
710 | NULL | |
711 | ), | |
712 | DMM( | |
713 | "voltcraft-me42", metex14, | |
10cfb048 | 714 | "Voltcraft", "ME-42", "600/7n2/rts=0/dtr=1", |
bcbef5ed ML |
715 | METEX14_PACKET_SIZE, 250, 60, sr_metex14_packet_request, |
716 | sr_metex14_packet_valid, sr_metex14_parse, | |
717 | NULL | |
718 | ), | |
ab34156b | 719 | /* }}} */ |
92496488 | 720 | /* rs9lcd based meters {{{ */ |
ab34156b GS |
721 | DMM( |
722 | "radioshack-22-812", rs9lcd, | |
10cfb048 | 723 | "RadioShack", "22-812", "4800/8n1/rts=0/dtr=1", |
ab34156b GS |
724 | RS9LCD_PACKET_SIZE, 0, 0, NULL, |
725 | sr_rs9lcd_packet_valid, sr_rs9lcd_parse, | |
726 | NULL | |
727 | ), | |
92496488 | 728 | /* }}} */ |
6c6e5e47 | 729 | /* ut71x based meters {{{ */ |
bcbef5ed | 730 | DMM( |
53e875ab GS |
731 | "tenma-72-7730-ser", ut71x, |
732 | "Tenma", "72-7730 (UT-D02 cable)", "2400/7o1/rts=0/dtr=1", | |
10cfb048 | 733 | UT71X_PACKET_SIZE, 0, 0, NULL, |
bcbef5ed ML |
734 | sr_ut71x_packet_valid, sr_ut71x_parse, NULL |
735 | ), | |
736 | DMM( | |
53e875ab GS |
737 | "tenma-72-7732-ser", ut71x, |
738 | "Tenma", "72-7732 (UT-D02 cable)", "2400/7o1/rts=0/dtr=1", | |
10cfb048 | 739 | UT71X_PACKET_SIZE, 0, 0, NULL, |
bcbef5ed ML |
740 | sr_ut71x_packet_valid, sr_ut71x_parse, NULL |
741 | ), | |
742 | DMM( | |
53e875ab GS |
743 | "tenma-72-9380a-ser", ut71x, |
744 | "Tenma", "72-9380A (UT-D02 cable)", "2400/7o1/rts=0/dtr=1", | |
10cfb048 | 745 | UT71X_PACKET_SIZE, 0, 0, NULL, |
bcbef5ed ML |
746 | sr_ut71x_packet_valid, sr_ut71x_parse, NULL |
747 | ), | |
bcbef5ed ML |
748 | DMM( |
749 | "uni-t-ut71a-ser", ut71x, | |
750 | "UNI-T", "UT71A (UT-D02 cable)", "2400/7o1/rts=0/dtr=1", | |
10cfb048 | 751 | UT71X_PACKET_SIZE, 0, 0, NULL, |
bcbef5ed ML |
752 | sr_ut71x_packet_valid, sr_ut71x_parse, NULL |
753 | ), | |
754 | DMM( | |
755 | "uni-t-ut71b-ser", ut71x, | |
756 | "UNI-T", "UT71B (UT-D02 cable)", "2400/7o1/rts=0/dtr=1", | |
10cfb048 | 757 | UT71X_PACKET_SIZE, 0, 0, NULL, |
bcbef5ed ML |
758 | sr_ut71x_packet_valid, sr_ut71x_parse, NULL |
759 | ), | |
760 | DMM( | |
761 | "uni-t-ut71c-ser", ut71x, | |
762 | "UNI-T", "UT71C (UT-D02 cable)", "2400/7o1/rts=0/dtr=1", | |
10cfb048 | 763 | UT71X_PACKET_SIZE, 0, 0, NULL, |
bcbef5ed ML |
764 | sr_ut71x_packet_valid, sr_ut71x_parse, NULL |
765 | ), | |
766 | DMM( | |
767 | "uni-t-ut71d-ser", ut71x, | |
768 | "UNI-T", "UT71D (UT-D02 cable)", "2400/7o1/rts=0/dtr=1", | |
10cfb048 | 769 | UT71X_PACKET_SIZE, 0, 0, NULL, |
bcbef5ed ML |
770 | sr_ut71x_packet_valid, sr_ut71x_parse, NULL |
771 | ), | |
772 | DMM( | |
773 | "uni-t-ut71e-ser", ut71x, | |
774 | "UNI-T", "UT71E (UT-D02 cable)", "2400/7o1/rts=0/dtr=1", | |
10cfb048 | 775 | UT71X_PACKET_SIZE, 0, 0, NULL, |
bcbef5ed ML |
776 | sr_ut71x_packet_valid, sr_ut71x_parse, NULL |
777 | ), | |
ca7d4426 EE |
778 | DMM( |
779 | "uni-t-ut804-ser", ut71x, | |
780 | "UNI-T", "UT804", "2400/7o1/rts=0/dtr=1", | |
781 | UT71X_PACKET_SIZE, 0, 0, NULL, | |
782 | sr_ut71x_packet_valid, sr_ut71x_parse, NULL | |
783 | ), | |
b1cadcfb | 784 | DMM( |
53e875ab GS |
785 | "voltcraft-vc920-ser", ut71x, |
786 | "Voltcraft", "VC-920 (UT-D02 cable)", "2400/7o1/rts=0/dtr=1", | |
10cfb048 | 787 | UT71X_PACKET_SIZE, 0, 0, NULL, |
b1cadcfb KP |
788 | sr_ut71x_packet_valid, sr_ut71x_parse, NULL |
789 | ), | |
0a4549ff | 790 | DMM( |
53e875ab GS |
791 | "voltcraft-vc940-ser", ut71x, |
792 | "Voltcraft", "VC-940 (UT-D02 cable)", "2400/7o1/rts=0/dtr=1", | |
10cfb048 | 793 | UT71X_PACKET_SIZE, 0, 0, NULL, |
0a4549ff UH |
794 | sr_ut71x_packet_valid, sr_ut71x_parse, NULL |
795 | ), | |
20f9f1fb | 796 | DMM( |
53e875ab GS |
797 | "voltcraft-vc960-ser", ut71x, |
798 | "Voltcraft", "VC-960 (UT-D02 cable)", "2400/7o1/rts=0/dtr=1", | |
10cfb048 | 799 | UT71X_PACKET_SIZE, 0, 0, NULL, |
20f9f1fb UH |
800 | sr_ut71x_packet_valid, sr_ut71x_parse, NULL |
801 | ), | |
6c6e5e47 | 802 | /* }}} */ |
89a3d8af | 803 | /* vc870 based meters {{{ */ |
6c6e5e47 GS |
804 | DMM( |
805 | "voltcraft-vc870-ser", vc870, | |
806 | "Voltcraft", "VC-870 (UT-D02 cable)", "9600/8n1/rts=0/dtr=1", | |
10cfb048 | 807 | VC870_PACKET_SIZE, 0, 0, NULL, |
6c6e5e47 GS |
808 | sr_vc870_packet_valid, sr_vc870_parse, NULL |
809 | ), | |
89a3d8af | 810 | /* }}} */ |
c5c6fa0f UH |
811 | /* vc96 based meters {{{ */ |
812 | DMM( | |
813 | "voltcraft-vc96", vc96, | |
10cfb048 | 814 | "Voltcraft", "VC-96", "1200/8n2", |
c5c6fa0f UH |
815 | VC96_PACKET_SIZE, 0, 0, NULL, |
816 | sr_vc96_packet_valid, sr_vc96_parse, | |
817 | NULL | |
818 | ), | |
819 | /* }}} */ | |
89a3d8af GS |
820 | /* |
821 | * The list is sorted. Add new items in the respective chip's group. | |
822 | */ | |
dd5c48a6 | 823 | ); |