mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Add admin commands for SCDXX CO2 sensors
This commit is contained in:
parent
fa02e14d8d
commit
ee114d4e89
1 changed files with 32 additions and 0 deletions
|
|
@ -471,6 +471,11 @@ message AdminMessage {
|
|||
* Tell the node to reset the nodedb.
|
||||
*/
|
||||
int32 nodedb_reset = 100;
|
||||
|
||||
/*
|
||||
* SCDXX CO2 sensor configuration
|
||||
*/
|
||||
SCDXX_config scdxx_config = 102;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -575,3 +580,30 @@ message KeyVerificationAdmin {
|
|||
*/
|
||||
optional uint32 security_number = 4;
|
||||
}
|
||||
|
||||
message SCDXX_config {
|
||||
/*
|
||||
* Set Automatic self-calibration enabled
|
||||
*/
|
||||
optional bool set_asc = 1;
|
||||
|
||||
/*
|
||||
* Recalibration target CO2 concentration in ppm (FRC or ASC)
|
||||
*/
|
||||
optional uint32 target_co2_conc = 2;
|
||||
|
||||
/*
|
||||
* Reference temperature in degC
|
||||
*/
|
||||
optional float temperature = 4;
|
||||
|
||||
/*
|
||||
* Altitude of sensor in meters above sea level. 0 - 3000m (overrides ambient pressure)
|
||||
*/
|
||||
optional uint32 altitude = 5;
|
||||
|
||||
/*
|
||||
* Sensor ambient pressure in Pa. 70000 - 120000 Pa (overrides altitude)
|
||||
*/
|
||||
optional uint32 ambient_pressure = 6;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue