Added SR_MQ_TIME and SR_MQFLAG_DURATION.
This commit is contained in:
parent
a970522b6d
commit
367983a744
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue