From e505f6051e350dadcc2220131b01a56c98848e5a Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Sun, 3 Nov 2024 19:45:10 -0600 Subject: [PATCH] Move PIO env to mynodeinfo --- meshtastic/mesh.options | 2 +- meshtastic/mesh.proto | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/meshtastic/mesh.options b/meshtastic/mesh.options index 424d8c4..f474988 100644 --- a/meshtastic/mesh.options +++ b/meshtastic/mesh.options @@ -26,6 +26,7 @@ # Big enough for 1.2.28.568032c-d *MyNodeInfo.firmware_version max_size:18 *MyNodeInfo.device_id max_size:16 +*MyNodeInfo.pio_env max_size:40 *MyNodeInfo.air_period_tx max_count:8 *MyNodeInfo.air_period_rx max_count:8 @@ -67,7 +68,6 @@ *NeighborInfo.neighbors max_count:10 *DeviceMetadata.firmware_version max_size:18 -*DeviceMetadata.pio_env max_size:40 *MqttClientProxyMessage.topic max_size:60 *MqttClientProxyMessage.data max_size:435 diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index 9560593..348be8d 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -1462,6 +1462,11 @@ message MyNodeInfo { * Unique hardware identifier for this device */ bytes device_id = 12; + + /* + * The PlatformIO environment used to build this firmware + */ + string pio_env = 13; } /* @@ -1870,11 +1875,6 @@ message DeviceMetadata { * Has PKC capabilities */ bool hasPKC = 11; - - /* - * Device firmware environment string - */ - string pio_env = 12; } /*