const char *conn, *serialcomm;
char buf[100];
char *bufptr;
+ double version;
devices = NULL;
drvc = di->context;
return NULL;
}
+ version = g_ascii_strtod(buf + 8, NULL);
+ if (version < 1.10) {
+ sr_info("Firmware >= 1.10 required (got %1.2f).", version);
+ serial_close(serial);
+ return NULL;
+ }
+
sdi = g_malloc0(sizeof(struct sr_dev_inst));
sdi->status = SR_ST_ACTIVE;
sdi->vendor = g_strdup("Arachnid Labs");