Uwe Hermann
29a27196a1
s/DRIVER_LOG_DOMAIN/LOG_PREFIX/.
...
This is more correct anyway, and also a bit shorter and more readable.
2013-05-03 21:59:32 +02:00
Uwe Hermann
06c45a66f7
Minor whitespace fixes.
2013-05-03 14:03:49 +02:00
Bert Vermeulen
e73ffd4238
Enforce open device before config_set()/dev_acquisition_start()
2013-04-24 22:03:50 +02:00
Uwe Hermann
886bd5e056
mic-985xx: Use sr_dev_inst to store connection handle.
2013-04-23 23:06:02 +02:00
Bert Vermeulen
bd6fbf628a
drivers: return SR_ERR_NA on unsupported config key
...
Fixes bug 89.
2013-04-16 11:00:55 +02:00
Bert Vermeulen
2c2be40189
mic-985xx: Adjust to GVariant-based sr_config_* functions
2013-04-11 18:32:07 +02:00
Uwe Hermann
ff17e6ba50
mic985xx: Add missing memset().
2013-02-11 18:23:17 +01:00
Uwe Hermann
6f3e5335ad
mic-985xx: Add support for the MIC 98581.
...
This device only supports temperature measurements, no humidity.
2013-02-11 16:53:28 +01:00
Uwe Hermann
cd2f0fe22c
Add/use std_hw_dev_acquisition_stop_serial().
2013-02-08 23:32:45 +01:00
Uwe Hermann
4afdfd4628
Add and use std_session_send_df_header().
...
This is a small helper function which sends the SR_DF_HEADER packet that
drivers usually emit in their hw_dev_acquisition_start() API callback.
It simplifies and shortens the hw_dev_acquisition_start() functions
quite a bit.
It also simplifies the input modules which send an SR_DF_HEADER packet, too.
This patch also automatically removes some unneeded malloc/free in some
drivers for the 'packet' and 'header' structs used for SR_DF_HEADER.
2013-02-07 10:46:28 +01:00
Uwe Hermann
0e94d524c1
Shorten/simplify hw_dev_list() implementations.
2013-02-05 18:27:05 +01:00
Uwe Hermann
0cd8e23140
Initial driver implementation for MIC 98583.
...
This is a USB/serial (Prolific) based temperature and humidity logger.
2013-02-02 11:13:45 +01:00
Uwe Hermann
7ec5b54955
mic-985xx: Initial driver skeleton.
2013-02-01 23:52:57 +01:00