update telemetry proto
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
# options for nanopb
|
# options for nanopb
|
||||||
# https://jpa.kapsi.fi/nanopb/docs/reference.html#proto-file-options
|
# https://jpa.kapsi.fi/nanopb/docs/reference.html#proto-file-options
|
||||||
|
|
||||||
|
*EnvironmentMetrics.iaq int_size:16
|
@ -31,6 +31,11 @@ message DeviceMetrics {
|
|||||||
* Percent of airtime for transmission used within the last hour.
|
* Percent of airtime for transmission used within the last hour.
|
||||||
*/
|
*/
|
||||||
float air_util_tx = 4;
|
float air_util_tx = 4;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* How long the device has been running since the last reboot (in seconds)
|
||||||
|
*/
|
||||||
|
uint32 uptime_seconds = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -66,6 +71,12 @@ message EnvironmentMetrics {
|
|||||||
* Current measured (To be depreciated in favor of PowerMetrics in Meshtastic 3.x)
|
* Current measured (To be depreciated in favor of PowerMetrics in Meshtastic 3.x)
|
||||||
*/
|
*/
|
||||||
float current = 6;
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -194,7 +205,7 @@ message Telemetry {
|
|||||||
AirQualityMetrics air_quality_metrics = 4;
|
AirQualityMetrics air_quality_metrics = 4;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Power Metrics
|
* Power Metrics
|
||||||
*/
|
*/
|
||||||
PowerMetrics power_metrics = 5;
|
PowerMetrics power_metrics = 5;
|
||||||
}
|
}
|
||||||
@ -283,5 +294,4 @@ enum TelemetrySensorType {
|
|||||||
* BMP085/BMP180 High accuracy temperature and pressure (older Version of BMP280)
|
* BMP085/BMP180 High accuracy temperature and pressure (older Version of BMP280)
|
||||||
*/
|
*/
|
||||||
BMP085 = 15;
|
BMP085 = 15;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user