From 61de46ab06f195890e3bdc5460082d88366c5688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Tue, 9 Apr 2024 14:01:40 +0200 Subject: [PATCH] Add fieldfor Air quality index (VOC for other sensors) --- meshtastic/telemetry.options | 2 +- meshtastic/telemetry.proto | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/meshtastic/telemetry.options b/meshtastic/telemetry.options index 6c80df9..2fe657c 100644 --- a/meshtastic/telemetry.options +++ b/meshtastic/telemetry.options @@ -1,4 +1,4 @@ # options for nanopb # https://jpa.kapsi.fi/nanopb/docs/reference.html#proto-file-options - +*EnvironmentMetrics.iaq int_size:16 \ No newline at end of file diff --git a/meshtastic/telemetry.proto b/meshtastic/telemetry.proto index a822c5d..0eb59cd 100644 --- a/meshtastic/telemetry.proto +++ b/meshtastic/telemetry.proto @@ -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; } /*