Bert Vermeulen
1987b8d63e
drivers: use new sr_config struct
...
Sending an SR_DF_META packet at the start of every stream is not
mandatory; the frontend should ask for what it needs, and any extra
information the driver wants to send will come in due time.
2013-01-21 23:32:49 +01:00
Uwe Hermann
4ebd48b352
Remove non-error hw_info_get() messages.
...
Currently hw_info_get() can receive requests for entries (info_id) that
the specific driver doesn't support. That is (right now) a valid
use-case and not an error (might change later, though).
Thus, for now, don't output messages for such requests at all (certainly
not as sr_err() where they show up in e.g. sigrok-cli output per default).
2013-01-20 18:48:02 +01:00
Bert Vermeulen
6b8d6f93bb
Get rid of obsolete SR_DI_NUM_PROBES and SR_DI_PROBE_NAMES.
...
Frontends should use the probe list in the device's sr_dev_inst
to get this information.
2013-01-15 17:42:23 +01:00
Uwe Hermann
6375e1c3eb
victor-dmm: Fix compiler warning.
...
protocol.c:106:10: warning: 'factor' may be used uninitialized in this
function [-Wmaybe-uninitialized]
2012-12-31 21:03:45 +01:00
Uwe Hermann
7869340103
Shorten probe_names[] arrays everywhere.
...
Also, NULL-terminate all of them.
2012-12-26 00:16:07 +01:00
Bert Vermeulen
9ec7ff94ed
victor-dmm: free in the right order
2012-12-15 04:07:25 +01:00
Peter Stuge
d4928d7102
hardware: Call libusb_error_name() in all USB-related error messages
2012-12-05 01:14:44 +01:00
Peter Stuge
d4abb463a7
hardware: Make USB drivers use the libusb_context in struct sr_context
2012-12-03 12:07:40 +01:00
Peter Stuge
1ebe4b4e69
hw_init(): Save struct sr_context * parameter in struct drv_context
2012-12-03 12:07:40 +01:00
Peter Stuge
34f06b903e
Add a struct sr_context * parameter to hw_init()
2012-12-03 12:07:40 +01:00
Uwe Hermann
fa7730623a
victor-dmm: Cosmetics.
2012-11-11 18:09:11 +01:00
Bert Vermeulen
ff94568366
victor-dmm: add protocol decoder
2012-11-06 19:37:33 +01:00
Bert Vermeulen
7a36037546
victor-dmm: add basic USB driver skeleton
2012-11-06 15:16:22 +01:00
Bert Vermeulen
ac3898d2d0
victor-dmm: Initial driver skeleton.
2012-11-06 15:16:22 +01:00