From 69a79fa5afdc77028ad8aa3c71e3f13f78465269 Mon Sep 17 00:00:00 2001 From: Sascha Bias Date: Sat, 25 Mar 2023 12:03:40 +0100 Subject: [PATCH] add channel to NodeInfo --- meshtastic/mesh.options | 2 ++ meshtastic/mesh.proto | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/meshtastic/mesh.options b/meshtastic/mesh.options index eb4b02b..bb57f26 100644 --- a/meshtastic/mesh.options +++ b/meshtastic/mesh.options @@ -13,6 +13,8 @@ # outside of this envelope *Data.payload max_size:237 +*NodeInfo.channel int_size:8 + # Big enough for 1.2.28.568032c-d *MyNodeInfo.firmware_version max_size:18 diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index 37002fb..664565a 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -975,6 +975,12 @@ message NodeInfo { * The latest device metrics for the node. */ DeviceMetrics device_metrics = 6; + + /* + * local channel we heared that node + */ + uint32 channel = 7; + } /*