Added SR_MQ_TIME and SR_MQFLAG_DURATION.

This commit is contained in:
Matthias Heidbrink 2013-11-19 22:30:34 +01:00 committed by Bert Vermeulen
parent a970522b6d
commit 367983a744
1 changed files with 3 additions and 0 deletions

View File

@ -179,6 +179,7 @@ enum {
SR_MQ_SOUND_PRESSURE_LEVEL, SR_MQ_SOUND_PRESSURE_LEVEL,
SR_MQ_CARBON_MONOXIDE, SR_MQ_CARBON_MONOXIDE,
SR_MQ_RELATIVE_HUMIDITY, SR_MQ_RELATIVE_HUMIDITY,
SR_MQ_TIME, /**< Time */
}; };
/** Values for sr_datafeed_analog.unit. */ /** Values for sr_datafeed_analog.unit. */
@ -267,6 +268,8 @@ enum {
/** Sound pressure level represented as a percentage of measurements /** Sound pressure level represented as a percentage of measurements
* that were over a preset alarm level. */ * that were over a preset alarm level. */
SR_MQFLAG_SPL_PCT_OVER_ALARM = 0x10000, SR_MQFLAG_SPL_PCT_OVER_ALARM = 0x10000,
/** Time is duration (as opposed to epoch, ...). */
SR_MQFLAG_DURATION = 0x20000,
}; };
struct sr_context; struct sr_context;