mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Merge pull request #14 from crossan007/add-environment
udpate protobufs for environmental measurement preferences
This commit is contained in:
commit
512d1aca0a
1 changed files with 32 additions and 0 deletions
32
mesh.proto
32
mesh.proto
|
|
@ -918,6 +918,38 @@ message RadioConfig {
|
|||
*/
|
||||
bool store_forward_plugin_enabled = 136;
|
||||
uint32 store_forward_plugin_records = 137;
|
||||
|
||||
/**
|
||||
Preferences for the EnvironmentalMeasurement Plugin
|
||||
FIXME - Move this out of UserPreferences and into a section for plugin configuration.
|
||||
*/
|
||||
/*
|
||||
* Enable/Disable the environmental measurement plugin measurement collection
|
||||
*/
|
||||
bool environmental_measurement_plugin_measurement_enabled = 140;
|
||||
/*
|
||||
* Enable/Disable the environmental measurement plugin on-device display
|
||||
*/
|
||||
bool environmental_measurement_plugin_screen_enabled = 141;
|
||||
/*
|
||||
* Sometimes sensor reads can fail. If this happens, we
|
||||
* will retry a configurable number of attempts
|
||||
* Each attempt will be delayed by the minimum
|
||||
* required refresh rate for that sensor
|
||||
*/
|
||||
uint32 environmental_measurement_plugin_read_error_count_threshold = 142;
|
||||
/*
|
||||
* Interval in seconds of how often we should try to send our
|
||||
* measurements to the mesh
|
||||
*/
|
||||
uint32 environmental_measurement_plugin_update_interval = 143;
|
||||
/* Sometimes we can end up with more than read_error_count_threshold
|
||||
* failures. In this case, we will stop trying to read from the sensor
|
||||
* for a while. Wait this long until trying to read from the sensor again
|
||||
*/
|
||||
uint32 environmental_measurement_plugin_recovery_interval = 144;
|
||||
|
||||
|
||||
}
|
||||
|
||||
UserPreferences preferences = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue