From 8a38aa93cb21940505eb6716d8037a29f6d89e0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Sun, 3 Nov 2024 23:00:40 +0100 Subject: [PATCH 1/3] add hardware environment --- meshtastic/mesh.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index ca3f6c6..14363ea 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -1870,6 +1870,11 @@ message DeviceMetadata { * Has PKC capabilities */ bool hasPKC = 11; + + /* + * Device firmware environment string + */ + string hw_env = 12; } /* From 9f45c61bb7520ea13513035262848b7c1cc4b4b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Sun, 3 Nov 2024 23:02:24 +0100 Subject: [PATCH 2/3] current max size is 35 --- meshtastic/mesh.options | 1 + 1 file changed, 1 insertion(+) diff --git a/meshtastic/mesh.options b/meshtastic/mesh.options index 4e335d2..76c4a40 100644 --- a/meshtastic/mesh.options +++ b/meshtastic/mesh.options @@ -67,6 +67,7 @@ *NeighborInfo.neighbors max_count:10 *DeviceMetadata.firmware_version max_size:18 +*DeviceMetadata.hw_env max_size:40 *MqttClientProxyMessage.topic max_size:60 *MqttClientProxyMessage.data max_size:435 From b227a1ca72688d318cc6daef42ea642d7283b8ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Sun, 3 Nov 2024 23:07:25 +0100 Subject: [PATCH 3/3] rename to pio_env --- meshtastic/mesh.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index 14363ea..9560593 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -1874,7 +1874,7 @@ message DeviceMetadata { /* * Device firmware environment string */ - string hw_env = 12; + string pio_env = 12; } /*