From: Bert Vermeulen Date: Sat, 5 Jul 2014 19:46:30 +0000 (+0200) Subject: Add MQ/units for wind speed, pressure and humidity at 293 kelvin. X-Git-Tag: libsigrok-0.4.0~1271 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=31801362100e33af942ff652b266108a31cc0645;p=libsigrok.git Add MQ/units for wind speed, pressure and humidity at 293 kelvin. --- diff --git a/libsigrok.h b/libsigrok.h index dd776c35..12f9b775 100644 --- a/libsigrok.h +++ b/libsigrok.h @@ -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. */