Bug 475 - clients must always do an SR_CONF_DEVICE_OPTIONS query without sdi
Summary: clients must always do an SR_CONF_DEVICE_OPTIONS query without sdi
Status: CONFIRMED
Alias: None
Product: PulseView
Classification: Unclassified
Component: Other (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-13 22:02 CET by Bert Vermeulen
Modified: 2015-03-22 12:33 CET (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bert Vermeulen 2014-11-13 22:02:26 CET
Drivers publish driver-wide options ONLY when SR_CONF_DEVICE_OPTIONS is queried without specifying an sdi. Right now, driver-wide options are:

- device type (SR_CONF_LOGIC_ANALYZER, SR_CONF_OSCILLOSCOPE etc)
- limits (sample limits, frame limits etc)

PulseView doesn't do this, so misses out on finding out the limits a device can set. This is evident with the demo driver, for example.
Comment 1 Martin Ling 2015-03-22 12:33:40 CET
Surely these queries should still work if an sdi is passed?