+ /* Bytes 0-1: Measurement mode, except AC/DC */
+ info->is_resistance = !strncmp(buf, "OH", 2) ||
+ (!strncmp(buf, " ", 2) && info->is_ohm);
+ info->is_capacity = !strncmp(buf, "CA", 2) ||
+ (!strncmp(buf, " ", 2) && info->is_farad);
+ info->is_temperature = !strncmp(buf, "TE", 2);
+ info->is_diode = !strncmp(buf, "DI", 2) ||
+ (!strncmp(buf, " ", 2) && info->is_volt && info->is_milli);
+ info->is_frequency = !strncmp(buf, "FR", 2) ||
+ (!strncmp(buf, " ", 2) && info->is_hertz);
+ info->is_gain = !strncmp(buf, "DB", 2);
+ info->is_hfe = !strncmp(buf, "HF", 2) ||
+ (!strncmp(buf, " ", 2) && !info->is_volt && !info->is_ohm &&
+ !info->is_logic && !info->is_farad && !info->is_hertz);
+ /*
+ * Note:
+ * - Protocol doesn't distinguish "resistance" from "beep" mode.
+ * - "DB" shows the logarithmic ratio of input voltage to a
+ * pre-stored (user-changeable) value in the DMM.
+ */
+