mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Add SCD30 CO2 sensor (#861)
This commit is contained in:
parent
e1a6b3a868
commit
44298d374f
2 changed files with 44 additions and 1 deletions
|
|
@ -656,6 +656,11 @@ message SensorConfig {
|
|||
* SEN5X PM Sensor configuration
|
||||
*/
|
||||
SEN5X_config sen5x_config = 2;
|
||||
|
||||
/*
|
||||
* SCD30 CO2 Sensor configuration
|
||||
*/
|
||||
SCD30_config scd30_config = 3;
|
||||
}
|
||||
|
||||
message SCD4X_config {
|
||||
|
|
@ -706,3 +711,35 @@ message SEN5X_config {
|
|||
*/
|
||||
optional bool set_one_shot_mode = 2;
|
||||
}
|
||||
|
||||
message SCD30_config {
|
||||
/*
|
||||
* Set Automatic self-calibration enabled
|
||||
*/
|
||||
optional bool set_asc = 1;
|
||||
|
||||
/*
|
||||
* Recalibration target CO2 concentration in ppm (FRC or ASC)
|
||||
*/
|
||||
optional uint32 set_target_co2_conc = 2;
|
||||
|
||||
/*
|
||||
* Reference temperature in degC
|
||||
*/
|
||||
optional float set_temperature = 3;
|
||||
|
||||
/*
|
||||
* Altitude of sensor in meters above sea level. 0 - 3000m (overrides ambient pressure)
|
||||
*/
|
||||
optional uint32 set_altitude = 4;
|
||||
|
||||
/*
|
||||
* Power mode for sensor (true for low power, false for normal)
|
||||
*/
|
||||
optional uint32 set_measurement_interval = 5;
|
||||
|
||||
/*
|
||||
* Perform a factory reset of the sensor
|
||||
*/
|
||||
optional bool soft_reset = 6;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -836,6 +836,7 @@ enum TelemetrySensorType {
|
|||
* SEN5X PM SENSORS
|
||||
*/
|
||||
SEN5X = 43;
|
||||
|
||||
/*
|
||||
* TSL2561 light sensor
|
||||
*/
|
||||
|
|
@ -845,7 +846,7 @@ enum TelemetrySensorType {
|
|||
* BH1750 light sensor
|
||||
*/
|
||||
BH1750 = 45;
|
||||
|
||||
|
||||
/*
|
||||
* HDC1080 Temperature and Humidity Sensor
|
||||
*/
|
||||
|
|
@ -860,6 +861,11 @@ enum TelemetrySensorType {
|
|||
* Sensirion STC31 CO2 sensor
|
||||
*/
|
||||
STC31 = 48;
|
||||
|
||||
/*
|
||||
* SCD30 CO2, humidity, temperature sensor
|
||||
*/
|
||||
SCD30 = 49;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue