Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions meshtastic/admin.proto
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,11 @@ message SensorConfig {
* SEN5X PM Sensor configuration
*/
SEN5X_config sen5x_config = 2;

/*
* SCD30 CO2 Sensor configuration
*/
SCD30_config scd30_config = 3;
}

message SCD4X_config {
Expand Down Expand Up @@ -701,3 +706,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;
}
8 changes: 7 additions & 1 deletion meshtastic/telemetry.proto
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,7 @@ enum TelemetrySensorType {
* SEN5X PM SENSORS
*/
SEN5X = 43;

/*
* TSL2561 light sensor
*/
Expand All @@ -800,7 +801,7 @@ enum TelemetrySensorType {
* BH1750 light sensor
*/
BH1750 = 45;

/*
* HDC1080 Temperature and Humidity Sensor
*/
Expand All @@ -815,6 +816,11 @@ enum TelemetrySensorType {
* Sensirion STC31 CO2 sensor
*/
STC31 = 48;

/*
* SCD30 CO2, humidity, temperature sensor
*/
SCD30 = 49;
}

/*
Expand Down