static GSList *scan(struct sr_dev_driver *di, GSList *options)
{
struct drv_context *drvc;
static GSList *scan(struct sr_dev_driver *di, GSList *options)
{
struct drv_context *drvc;
sdi->vendor = g_strdup("Tondaj");
sdi->model = g_strdup("SL-814");
devc = g_malloc0(sizeof(struct dev_context));
sdi->vendor = g_strdup("Tondaj");
sdi->model = g_strdup("SL-814");
devc = g_malloc0(sizeof(struct dev_context));
}
static int config_list(uint32_t key, GVariant **data, const struct sr_dev_inst *sdi,
}
static int config_list(uint32_t key, GVariant **data, const struct sr_dev_inst *sdi,
struct sr_serial_dev_inst *serial;
if (sdi->status != SR_ST_ACTIVE)
return SR_ERR_DEV_CLOSED;
std_session_send_df_header(sdi, LOG_PREFIX);
struct sr_serial_dev_inst *serial;
if (sdi->status != SR_ST_ACTIVE)
return SR_ERR_DEV_CLOSED;
std_session_send_df_header(sdi, LOG_PREFIX);