From 2d5ffbb61f693586881fa7e8ee30ca7c64c11da3 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Fri, 30 Aug 2024 07:30:26 -0500 Subject: [PATCH 1/2] Custom i2c sensor telemetry --- meshtastic/telemetry.proto | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/meshtastic/telemetry.proto b/meshtastic/telemetry.proto index 6ca8db30..5c8bc5f8 100644 --- a/meshtastic/telemetry.proto +++ b/meshtastic/telemetry.proto @@ -458,6 +458,16 @@ enum TelemetrySensorType { * MAX17048 1S lipo battery sensor (voltage, state of charge, time to go) */ MAX17048 = 28; + + /* + * MAX17048 1S lipo battery sensor (voltage, state of charge, time to go) + */ + MAX17048 = 28; + + /* + * Custom I2C sensor implementation based on https://github.com/meshtastic/i2c-sensor + */ + CUSTOM_SENSOR = 29; } /* From 8c01df356a42f16de24058ad71bcbcd85be91a02 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Fri, 30 Aug 2024 07:31:08 -0500 Subject: [PATCH 2/2] Update telemetry.proto --- meshtastic/telemetry.proto | 5 ----- 1 file changed, 5 deletions(-) diff --git a/meshtastic/telemetry.proto b/meshtastic/telemetry.proto index 5c8bc5f8..d4e80a8b 100644 --- a/meshtastic/telemetry.proto +++ b/meshtastic/telemetry.proto @@ -459,11 +459,6 @@ enum TelemetrySensorType { */ MAX17048 = 28; - /* - * MAX17048 1S lipo battery sensor (voltage, state of charge, time to go) - */ - MAX17048 = 28; - /* * Custom I2C sensor implementation based on https://github.com/meshtastic/i2c-sensor */