From f5f209d9980537b0e80f51a46d01fb5558f2d4e3 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Sat, 9 Aug 2025 08:10:23 -0500 Subject: [PATCH 01/12] Add nonce to heartbeat --- meshtastic/mesh.proto | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index e68c56b..5a3e437 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -2251,7 +2251,12 @@ enum ExcludedModules { * A heartbeat message is sent to the node from the client to keep the connection alive. * This is currently only needed to keep serial connections alive, but can be used by any PhoneAPI. */ -message Heartbeat {} +message Heartbeat { + /* + * The nonce of the heartbeat message + */ + uint32 nonce = 1; +} /* * RemoteHardwarePins associated with a node From e2c0831aa3d34a58a36c2b9fdcb828e58961cbc5 Mon Sep 17 00:00:00 2001 From: Jonathan Bennett Date: Sat, 9 Aug 2025 08:53:48 -0500 Subject: [PATCH 02/12] Add transport mechanism in MeshPacket (#748) --- meshtastic/mesh.proto | 50 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index 5a3e437..a8de0d8 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -1272,6 +1272,51 @@ message MeshPacket { DELAYED_DIRECT = 2; } + /* + * Enum to identify which transport mechanism this packet arrived over + */ + enum TransportMechanism { + /* + * The default case is that the node generated a packet itself + */ + TRANSPORT_INTERNAL = 0; + + /* + * Arrived via the primary LoRa radio + */ + TRANSPORT_LORA = 1; + + /* + * Arrived via a secondary LoRa radio + */ + TRANSPORT_LORA_ALT1 = 2; + + /* + * Arrived via a tertiary LoRa radio + */ + TRANSPORT_LORA_ALT2 = 3; + + /* + * Arrived via a quaternary LoRa radio + */ + TRANSPORT_LORA_ALT3 = 4; + + /* + * Arrived via an MQTT connection + */ + TRANSPORT_MQTT = 5; + + /* + * Arrived via Multicast UDP + */ + TRANSPORT_MULTICAST_UDP = 6; + + /* + * Arrived via API connection + */ + TRANSPORT_API = 7; + } + /* * The sending node number. * Note: Our crypto implementation uses this field as well. @@ -1419,6 +1464,11 @@ message MeshPacket { * Set by the firmware internally, clients are not supposed to set this. */ uint32 tx_after = 20; + + /* + * Indicates which transport mechanism this packet arrived over + */ + TransportMechanism transport_mechanism = 21; } /* From 87ba3f87040deb1e87871d308964e280caedb72b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Fri, 15 Aug 2025 13:33:47 +0200 Subject: [PATCH 03/12] add Lilygo T-Echo Lite --- meshtastic/mesh.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index a8de0d8..504b7a5 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -779,6 +779,11 @@ enum HardwareModel { * https://heltec.org/project/meshsolar/ */ HELTEC_MESH_SOLAR = 108; + + /* + * Lilygo T-Echo Lite + */ + T_ECHO_LITE = 109; /* * ------------------------------------------------------------------------------------------------------------------------------------------ From aa86e284a34848c8ef02e3f2239f573da97f28f3 Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Mon, 18 Aug 2025 20:52:33 -0700 Subject: [PATCH 04/12] Add TSL2561 sensor --- meshtastic/telemetry.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meshtastic/telemetry.proto b/meshtastic/telemetry.proto index 3ec85b4..4f7a88e 100644 --- a/meshtastic/telemetry.proto +++ b/meshtastic/telemetry.proto @@ -781,6 +781,10 @@ enum TelemetrySensorType { * SEN5X PM SENSORS */ SEN5X = 43; + /* + * TSL2561 light sensor + */ + TSL2561 = 44; } /* From 8985852d752de3f7210f9a4a3e0923120ec438b3 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Wed, 20 Aug 2025 05:39:53 -0500 Subject: [PATCH 05/12] Default to non-square SH1107 --- meshtastic/config.proto | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meshtastic/config.proto b/meshtastic/config.proto index 321bbb2..5214218 100644 --- a/meshtastic/config.proto +++ b/meshtastic/config.proto @@ -666,14 +666,14 @@ message Config { OLED_SH1106 = 2; /* - * Can not be auto detected but set by proto. Used for 128x128 screens + * Can not be auto detected but set by proto. Used for 128x64 screens */ OLED_SH1107 = 3; /* - * Can not be auto detected but set by proto. Used for 128x64 screens + * Can not be auto detected but set by proto. Used for 128x128 screens */ - OLED_SH1107_128_64 = 4; + OLED_SH1107_128_128 = 4; } /* From c5aeb193ca06fceb90ce1255e176554dd1a9a08f Mon Sep 17 00:00:00 2001 From: ford-jones Date: Thu, 21 Aug 2025 10:23:46 +1200 Subject: [PATCH 06/12] Rangetest cleanup configuration option --- meshtastic/module_config.proto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meshtastic/module_config.proto b/meshtastic/module_config.proto index b878083..7302014 100644 --- a/meshtastic/module_config.proto +++ b/meshtastic/module_config.proto @@ -530,6 +530,12 @@ message ModuleConfig { * ESP32 Only */ bool save = 3; + + /* + * Bool indicating that the node should cleanup / destroy it's RangeTest.csv file. + * ESP32 Only + */ + bool clear = 4; } /* From 4c4427c4a73c86fed7dc8632188bb8be95349d81 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Fri, 29 Aug 2025 13:47:04 -0500 Subject: [PATCH 07/12] Update renovate.json From 6e0e795a83d93d5267c6d4352127c567970dbf3f Mon Sep 17 00:00:00 2001 From: ford-jones Date: Wed, 3 Sep 2025 12:01:33 +1200 Subject: [PATCH 08/12] Improved naming --- meshtastic/module_config.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshtastic/module_config.proto b/meshtastic/module_config.proto index 7302014..f91671c 100644 --- a/meshtastic/module_config.proto +++ b/meshtastic/module_config.proto @@ -535,7 +535,7 @@ message ModuleConfig { * Bool indicating that the node should cleanup / destroy it's RangeTest.csv file. * ESP32 Only */ - bool clear = 4; + bool clear_on_reboot = 4; } /* From e0b97d6996a757328843bd759738d21546a4a53b Mon Sep 17 00:00:00 2001 From: Quency-D Date: Wed, 3 Sep 2025 13:55:36 +0800 Subject: [PATCH 09/12] add heltec v4 board. --- meshtastic/mesh.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index 504b7a5..7671988 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -785,6 +785,11 @@ enum HardwareModel { */ T_ECHO_LITE = 109; + /* + * New Heltec LoRA32 with ESP32-S3 CPU + */ + HELTEC_V4 = 110; + /* * ------------------------------------------------------------------------------------------------------------------------------------------ * Reserved ID For developing private Ports. These will show up in live traffic sparsely, so we can use a high number. Keep it within 8 bits. From 3347d98f04acb1ecff95b4f31dceac67f36e1262 Mon Sep 17 00:00:00 2001 From: Mike Robbins Date: Fri, 5 Sep 2025 13:18:19 -0700 Subject: [PATCH 10/12] Reserve value 12 for CLIENT_BASE in enum Config.DeviceConfig.Role --- meshtastic/config.proto | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/meshtastic/config.proto b/meshtastic/config.proto index 5214218..12c79c5 100644 --- a/meshtastic/config.proto +++ b/meshtastic/config.proto @@ -108,6 +108,14 @@ message Config { * consuming hops. */ ROUTER_LATE = 11; + + /* + * Description: Treats packets from or to favorited nodes as ROUTER, and all other packets as CLIENT. + * Technical Details: Used for stronger attic/roof nodes to distribute messages more widely + * from weaker, indoor, or less-well-positioned nodes. Recommended for users with multiple nodes + * where one CLIENT_BASE acts as a more powerful base station, such as an attic/roof node. + */ + CLIENT_BASE = 12; } /* From 74f7041b1c0585d7ac2f266264f46d6c5589228b Mon Sep 17 00:00:00 2001 From: vidplace7 Date: Sat, 6 Sep 2025 10:44:37 -0400 Subject: [PATCH 11/12] Fix formatting Who merged this? :P --- meshtastic/mesh.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index 7671988..62504d0 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -779,7 +779,7 @@ enum HardwareModel { * https://heltec.org/project/meshsolar/ */ HELTEC_MESH_SOLAR = 108; - + /* * Lilygo T-Echo Lite */ From 96ef7eef7acf485510d4ded363c684148338a9ef Mon Sep 17 00:00:00 2001 From: Manuel <71137295+mverch67@users.noreply.github.com> Date: Mon, 8 Sep 2025 20:19:53 +0200 Subject: [PATCH 12/12] add Czech translation enum to MUI --- meshtastic/device_ui.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meshtastic/device_ui.proto b/meshtastic/device_ui.proto index eb1e949..b9a72ce 100644 --- a/meshtastic/device_ui.proto +++ b/meshtastic/device_ui.proto @@ -314,6 +314,11 @@ enum Language { */ BULGARIAN = 17; + /* + * Czech + */ + CZECH = 18; + /* * Simplified Chinese (experimental) */