Bug 475

Summary: clients must always do an SR_CONF_DEVICE_OPTIONS query without sdi
Product: PulseView Reporter: Bert Vermeulen <bert>
Component: OtherAssignee: Nobody <nobody>
Status: CONFIRMED ---    
Severity: normal CC: martin-sigrokbugs
Priority: Normal    
Version: unreleased development snapshot   
Target Milestone: ---   
Hardware: All   
OS: All   

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?