Addition of PowerMetrics to telemetry.proto

modified:   meshtastic/telemetry.proto
pull/401/head
Ric In New Mexico 2023-10-26 13:04:31 -06:00
rodzic ca3d17c6af
commit 9bf93e1cb9
1 zmienionych plików z 42 dodań i 2 usunięć

Wyświetl plik

@ -58,16 +58,51 @@ message EnvironmentMetrics {
float gas_resistance = 4;
/*
* Voltage measured
* Voltage measured (To be depreciated in favor of PowerMetrics in Meshtastic 3.x)
*/
float voltage = 5;
/*
* Current measured
* Current measured (To be depreciated in favor of PowerMetrics in Meshtastic 3.x)
*/
float current = 6;
}
/*
* Power Metrics (voltage / current / etc)
*/
message PowerMetrics {
/*
* Voltage (Ch1)
*/
float ch1_voltage = 1;
/*
* Current (Ch1)
*/
float ch1_current = 2;
/*
* Voltage (Ch2)
*/
float ch2_voltage = 3;
/*
* Current (Ch2)
*/
float ch2_current = 4;
/*
* Voltage (Ch3)
*/
float ch3_voltage = 5;
/*
* Current (Ch3)
*/
float ch3_current = 6;
}
/*
* Air quality metrics
*/
@ -157,6 +192,11 @@ message Telemetry {
* Air quality metrics
*/
AirQualityMetrics air_quality_metrics = 4;
/*
* Power Metrics
*/
PowerMetrics power_metrics = 5;
}
}