]> sigrok.org Git - libsigrok.git/commitdiff
Add MQ/units for wind speed, pressure and humidity at 293 kelvin.
authorBert Vermeulen <redacted>
Sat, 5 Jul 2014 19:46:30 +0000 (21:46 +0200)
committerBert Vermeulen <redacted>
Sat, 5 Jul 2014 19:56:27 +0000 (21:56 +0200)
libsigrok.h

index dd776c35146ee4e62dc45b71673d7d778ff04b2d..12f9b7754b69538ec24da3360bbf5dc157fd17e0 100644 (file)
@@ -195,6 +195,10 @@ enum sr_mq {
        SR_MQ_RELATIVE_HUMIDITY,
        /** Time */
        SR_MQ_TIME,
+       /** Wind speed */
+       SR_MQ_WIND_SPEED,
+       /** Pressure */
+       SR_MQ_PRESSURE,
 };
 
 /** Unit of measured quantity, sr_datafeed_analog.unit. */
@@ -252,6 +256,12 @@ enum sr_unit {
        SR_UNIT_WATT,
        /** Consumption [Wh]. */
        SR_UNIT_WATT_HOUR,
+       /** Wind speed in meters per second. */
+       SR_UNIT_METER_SECOND,
+       /** Pressure in hectopascal */
+       SR_UNIT_HECTOPASCAL,
+       /** Relative humidity assuming air temperature of 293 kelvin (%rF). */
+       SR_UNIT_HUMIDITY_293K,
 };
 
 /** Values for sr_datafeed_analog.flags. */