From 95e94d5af0ebe0c99913ada156f9f4c636a47db2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Thu, 13 Jun 2024 14:39:08 +0200 Subject: [PATCH] add NAU7802 protobufs --- meshtastic/telemetry.proto | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/meshtastic/telemetry.proto b/meshtastic/telemetry.proto index 42c5a93..76135e7 100644 --- a/meshtastic/telemetry.proto +++ b/meshtastic/telemetry.proto @@ -375,4 +375,24 @@ enum TelemetrySensorType { * DFRobot Lark Weather station (temperature, humidity, pressure, wind speed and direction) */ DFROBOT_LARK = 24; + + /* + * NAU7802 Scale Chip or compatible + */ + NAU7802 = 25; +} + +/* + * NAU7802 Telemetry configuration, for saving to flash + */ +message Nau7802Config { + /* + * The offset setting for the NAU7802 + */ + int32 zeroOffset = 1; + + /* + * The calibration factor for the NAU7802 + */ + float calibrationFactor = 2; }