mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Add more sensors and module config option to store
This commit is contained in:
parent
3395ed0c35
commit
46d2bbc1f1
3 changed files with 70 additions and 0 deletions
|
|
@ -667,6 +667,11 @@ message SensorConfig {
|
|||
* SFA30 HCHO Sensor configuration
|
||||
*/
|
||||
SFA30_config sfa30_config = 4;
|
||||
|
||||
/*
|
||||
* PMSA003I HCHO Sensor configuration
|
||||
*/
|
||||
PMSA003I_config pmsa003i_config = 5;
|
||||
}
|
||||
|
||||
message SCD4X_config {
|
||||
|
|
@ -771,4 +776,12 @@ message SFA30_config {
|
|||
* Disables for SFA30
|
||||
*/
|
||||
optional SFA30Disables sfa30disables = 1;
|
||||
}
|
||||
|
||||
message PMSA003I_config {
|
||||
/*
|
||||
* Disables for PMSA003I
|
||||
*/
|
||||
optional PMSA003IDisables pmsa003idisables = 3;
|
||||
|
||||
}
|
||||
|
|
@ -2,6 +2,8 @@ syntax = "proto3";
|
|||
|
||||
package meshtastic;
|
||||
|
||||
import "meshtastic/telemetry.proto";
|
||||
|
||||
option csharp_namespace = "Meshtastic.Protobufs";
|
||||
option go_package = "github.com/meshtastic/go/generated";
|
||||
option java_outer_classname = "ModuleConfigProtos";
|
||||
|
|
@ -705,6 +707,11 @@ message ModuleConfig {
|
|||
* Enable/Disable the air quality telemetry measurement module on-device display
|
||||
*/
|
||||
bool air_quality_screen_enabled = 15;
|
||||
|
||||
/*
|
||||
* Enable/Disable sensors to save airtime
|
||||
*/
|
||||
SensorDisables sensordisables = 16;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -918,6 +918,56 @@ message SEN5XState {
|
|||
optional fixed64 voc_state_array = 6;
|
||||
}
|
||||
|
||||
/*
|
||||
* Sensor disables
|
||||
*/
|
||||
message SensorDisables {
|
||||
/*
|
||||
* PMSA003I disables
|
||||
*/
|
||||
optional PMSA003IDisables pmsa003i = 1;
|
||||
|
||||
/*
|
||||
* SEN5X disables
|
||||
*/
|
||||
optional SEN5XDisables sen5x = 2;
|
||||
|
||||
/*
|
||||
* SCD30 disables
|
||||
*/
|
||||
optional SCD30Disables scd30 = 3;
|
||||
|
||||
/*
|
||||
* SCD4X disables
|
||||
*/
|
||||
optional SCD4XDisables scd4x = 4;
|
||||
|
||||
/*
|
||||
* SFA30 disables
|
||||
*/
|
||||
optional SFA30Disables sfa30 = 5;
|
||||
}
|
||||
|
||||
/*
|
||||
* PMSA003I disables, for saving to flash
|
||||
*/
|
||||
message PMSA003IDisables {
|
||||
/*
|
||||
* Toggle for enabling PM readings
|
||||
*/
|
||||
optional bool disable_pm = 1;
|
||||
|
||||
/*
|
||||
* Toggle for enabling PM environmental readings
|
||||
*/
|
||||
optional bool disable_pm_env = 2;
|
||||
|
||||
/*
|
||||
* Toggle for enabling PN readings
|
||||
*/
|
||||
optional bool disable_pn = 3;
|
||||
}
|
||||
|
||||
/*
|
||||
* SEN5X disables, for saving to flash
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue