Porównaj commity

...

9 Commity

Autor SHA1 Wiadomość Data
Garth Vander Houwen f572d56e47
Merge cd9dddb199 into 22cbd0d4cf 2024-04-09 14:30:40 +02:00
Thomas Göttgens 22cbd0d4cf
Merge pull request #482 from meshtastic/bme680-iaq
Add field for Air quality index (VOC for other sensors)
2024-04-09 14:09:21 +02:00
Thomas Göttgens 61de46ab06 Add fieldfor Air quality index (VOC for other sensors) 2024-04-09 14:01:40 +02:00
Thomas Göttgens 68720ed8db
Merge pull request #480 from meshtastic/jp-bennett-patch-3
Add time_offset to support local timezone
2024-04-07 15:57:54 +02:00
Thomas Göttgens 4a77f8bc08 Update config.options
limit to 64 chars plus zero terminator
2024-04-07 15:56:50 +02:00
Thomas Göttgens 6a4da15a16 change offset to tz definition 2024-04-07 15:56:50 +02:00
Jonathan Bennett 6ae27a2fbf
Add time_offset to support local timezone 2024-04-05 12:00:06 -05:00
Garth Vander Houwen cd9dddb199
Update config.proto 2024-02-24 16:33:43 -08:00
Garth Vander Houwen c183973317
Update config.proto
Update proto comments
2024-02-24 11:19:17 -08:00
4 zmienionych plików z 27 dodań i 18 usunięć

Wyświetl plik

@ -1,3 +1,6 @@
# longest current is 45 chars, plan with a bit of buffer
*DeviceConfig.tzdef max_size:65
*NetworkConfig.wifi_ssid max_size:33
*NetworkConfig.wifi_psk max_size:65
*NetworkConfig.ntp_server max_size:33

Wyświetl plik

@ -180,6 +180,11 @@ message Config {
* Disables the triple-press of user button to enable or disable GPS
*/
bool disable_triple_click = 10;
/*
* POSIX Timezone definition string from https://github.com/nayarsystems/posix_tz_db/blob/master/zones.csv.
*/
string tzdef = 11;
}
/*
@ -350,30 +355,28 @@ message Config {
*/
message PowerConfig {
/*
* If set, we are powered from a low-current source (i.e. solar), so even if it looks like we have power flowing in
* we should try to minimize power consumption as much as possible.
* YOU DO NOT NEED TO SET THIS IF YOU'VE set is_router (it is implied in that case).
* Advanced Option
* Description: Will sleep everything as much as possible, for the tracker and sensor role this will also include the lora radio.
* Don't use this setting if you want to use your device with the phone apps or are using a device without a user button.
* Technical Details: Works for ESP32 devices and NRF52 devices in the Sensor or Tracker roles
*/
bool is_power_saving = 1;
/*
* If non-zero, the device will fully power off this many seconds after external power is removed.
* Description: If non-zero, the device will fully power off this many seconds after external power is removed.
*/
uint32 on_battery_shutdown_after_secs = 2;
/*
* Ratio of voltage divider for battery pin eg. 3.20 (R1=100k, R2=220k)
* Overrides the ADC_MULTIPLIER defined in variant for battery voltage calculation.
* Should be set to floating point value between 2 and 4
* Fixes issues on Heltec v2
* https://meshtastic.org/docs/configuration/radio/power/#adc-multiplier-override
* Should be set to floating point value between 2 and 6
*/
float adc_multiplier_override = 3;
/*
* Wait Bluetooth Seconds
* The number of seconds for to wait before turning off BLE in No Bluetooth states
* 0 for default of 1 minute
* Description: The number of seconds for to wait before turning off BLE in No Bluetooth states
* Technical Details: ESP32 Only 0 for default of 1 minute
*/
uint32 wait_bluetooth_secs = 4;
@ -386,17 +389,14 @@ message Config {
uint32 sds_secs = 6;
/*
* Light Sleep Seconds
* In light sleep the CPU is suspended, LoRa radio is on, BLE is off an GPS is on
* ESP32 Only
* 0 for default of 300
* Description: In light sleep the CPU is suspended, LoRa radio is on, BLE is off an GPS is on
* Technical Details: ESP32 Only 0 for default of 300
*/
uint32 ls_secs = 7;
/*
* Minimum Wake Seconds
* While in light sleep when we receive packets on the LoRa radio we will wake and handle them and stay awake in no BLE mode for this value
* 0 for default of 10 seconds
* Description: While in light sleep when we receive packets on the LoRa radio we will wake and handle them and stay awake in no BLE mode for this value
* Technical Details: ESP32 Only 0 for default of 10 seconds
*/
uint32 min_wake_secs = 8;

Wyświetl plik

@ -1,4 +1,4 @@
# options for nanopb
# https://jpa.kapsi.fi/nanopb/docs/reference.html#proto-file-options
*EnvironmentMetrics.iaq int_size:16

Wyświetl plik

@ -66,6 +66,12 @@ message EnvironmentMetrics {
* Current measured (To be depreciated in favor of PowerMetrics in Meshtastic 3.x)
*/
float current = 6;
/*
* relative scale IAQ value as measured by Bosch BME680 . value 0-500.
* Belongs to Air Quality but is not particle but VOC measurement. Other VOC values can also be put in here.
*/
uint32 iaq = 7;
}
/*