} else if (srci->key == SR_CONF_FILTER) {
/* Supported filters */
printf(" %s", srci->id);
- if (sr_info_get(sdi->driver, SR_DI_FILTERS,
+ if (sr_config_list(sdi->driver, SR_CONF_FILTER,
(const void **)&stropts, sdi) != SR_OK) {
printf("\n");
continue;
} else if (srci->key == SR_CONF_VDIV) {
/* Supported volts/div values */
printf(" %s", srci->id);
- if (sr_info_get(sdi->driver, SR_DI_VDIVS,
+ if (sr_config_list(sdi->driver, SR_CONF_VDIV,
(const void **)&rationals, sdi) != SR_OK) {
printf("\n");
continue;
} else if (srci->key == SR_CONF_COUPLING) {
/* Supported coupling settings */
printf(" %s", srci->id);
- if (sr_info_get(sdi->driver, SR_DI_COUPLING,
+ if (sr_config_list(sdi->driver, SR_CONF_COUPLING,
(const void **)&stropts, sdi) != SR_OK) {
printf("\n");
continue;