static const char *scan_conn[] = {
/* 287/289 */
"115200/8n1",
- /* 187/189 */
+ /* 87/89/187/189 */
"9600/8n1",
/* Scopemeter 190 series */
"1200/8n1",
};
static const struct flukedmm_profile supported_flukedmm[] = {
+ { FLUKE_87, "87", 100, 1000 },
+ { FLUKE_89, "89", 100, 1000 },
{ FLUKE_187, "187", 100, 1000 },
{ FLUKE_189, "189", 100, 1000 },
{ FLUKE_287, "287", 100, 1000 },
static struct sr_dev_driver flukedmm_driver_info = {
.name = "fluke-dmm",
- .longname = "Fluke 18x/28x series DMMs",
+ .longname = "Fluke 8x/18x/28x series DMMs",
.api_version = 1,
.init = std_init,
.cleanup = std_cleanup,
*e++ = '\0';
if (sr_atof_ascii(tokens[1], &fvalue) != SR_OK) {
/* Happens all the time, when switching modes. */
- sr_dbg("Invalid float.");
+ sr_dbg("Invalid float: '%s'", tokens[1]);
return;
}
digits = count_digits(tokens[1]);
tokens = g_strsplit(devc->buf, ",", 0);
if (tokens[0]) {
- if (devc->profile->model == FLUKE_187 || devc->profile->model == FLUKE_189) {
+ if (devc->profile->model == FLUKE_87 || devc->profile->model == FLUKE_89 ||
+ devc->profile->model == FLUKE_187 || devc->profile->model == FLUKE_189) {
devc->expect_response = FALSE;
handle_qm_18x(sdi, tokens);
} else if (devc->profile->model == FLUKE_287 || devc->profile->model == FLUKE_289) {