Uwe Hermann
3f239f0803
Rename various *PROBE* macros to *CHANNEL*.
...
This fixes parts of bug #259 .
2014-03-25 20:58:54 +01:00
Uwe Hermann
56d0d24535
Rename sr_probe_new() to sr_channel_new().
...
This fixes parts of bug #259 .
2014-03-25 20:58:54 +01:00
Uwe Hermann
ba7dd8bbb8
Replace 'probe' with 'channel' in most places.
...
Also, consistently use 'ch' for channel variables. This matches how we
consistently use sdi, devc, and so on all over the code-base.
This fixes parts of bug #259 .
2014-03-25 20:58:54 +01:00
Uwe Hermann
91aea754aa
Rename 'struct sr_probe' to 'struct sr_channel' everywhere.
...
This fixes parts of bug #259 .
2014-03-25 20:58:54 +01:00
Aurelien Jacobs
d87c1766f2
change a bunch of functions from SR_PRIV to static
...
None of those functions are called across compilation units.
2014-01-14 23:39:23 +01:00
Martin Ling
6c60facc19
Use common usb_source_add and usb_source_remove functions.
2013-12-21 23:09:23 +00:00
Uwe Hermann
ce4d26ddf9
Various cosmetics, whitespace, consistency fixes.
2013-07-31 13:09:48 +02:00
Bert Vermeulen
d406dccd6a
lascar-el-usb: Don't close device after acquisition
2013-07-16 16:08:38 +02:00
Uwe Hermann
6078d2c996
Use consistent API callback function names.
...
This now matches what the 'new-driver' tool generates.
2013-05-10 20:01:37 +02:00
Bert Vermeulen
0f1506497b
lascar-el-usb: Support SR_CONF_CONN
2013-04-18 22:48:29 +02:00
Bert Vermeulen
1d16675769
lascar-el-usb: Use two probes for temp/humidity loggers
2013-04-15 01:30:24 +02:00
Bert Vermeulen
361d15110c
lascar-el-usb: support for SR_CONF_DATALOG
2013-03-11 16:37:02 +01:00
Bert Vermeulen
69e19dd769
Always interleave analog data with all enabled probes.
...
The new "probes" field in sr_datafeed_analog contains a copy
of all enabled struct sr_probe.
2013-01-23 03:40:44 +01:00
Bert Vermeulen
6787f4049a
lascar-el-usb: support for EL-USB-2*
2012-12-16 18:48:20 +01:00
Bert Vermeulen
7f00750ca4
lascar-el-usb: properly submit CO concentration as a PPM value
2012-12-15 22:49:40 +01:00
Bert Vermeulen
b0c95747e1
lascar-el-usb: add config saver
2012-12-15 22:34:40 +01:00
Bert Vermeulen
b6506d5e03
lascar-el-usb: EL-USB-CO300 support
...
Works the same way as the EL-USB-CO, but with the more sensitive sensor,
so should work out of the box.
2012-12-15 11:15:30 +01:00
Bert Vermeulen
4f3bd685e6
add MQ/units for carbon monoxide concentration
2012-12-15 10:50:22 +01:00
Bert Vermeulen
6aa1eb4ea3
lascar-el-usb: generic EL-USB support + EL-USB-CO support
2012-12-15 04:07:25 +01:00
Bert Vermeulen
851d5b2274
lascar-el-usb: add scanning functionality
2012-12-04 23:58:26 +01:00
Bert Vermeulen
46697e38b2
lascar-el-usb: Initial driver skeleton.
2012-12-03 03:53:44 +01:00