From c2a3834e2400e419a1665c7395d2172bb9ccc7f9 Mon Sep 17 00:00:00 2001 From: GUVWAF Date: Thu, 7 Nov 2024 18:44:15 +0100 Subject: [PATCH 1/2] Add bool to enable LoRa transport for NeighborInfo --- meshtastic/module_config.proto | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meshtastic/module_config.proto b/meshtastic/module_config.proto index 933d142..f208d42 100644 --- a/meshtastic/module_config.proto +++ b/meshtastic/module_config.proto @@ -128,9 +128,14 @@ message ModuleConfig { /* * Interval in seconds of how often we should try to send our - * Neighbor Info to the mesh + * Neighbor Info (minimum is 14400, i.e., 4 hours) */ uint32 update_interval = 2; + + /* + * Whether in addition to sending it to MQTT and the PhoneAPI, our NeighborInfo should be transmitted over LoRa. + */ + bool transmit_over_lora = 3; } /* From 2978b625879b6c5b4d43ab8290e1cea85b59c347 Mon Sep 17 00:00:00 2001 From: GUVWAF Date: Thu, 7 Nov 2024 19:11:14 +0100 Subject: [PATCH 2/2] LoRa transport not available on the default channel --- meshtastic/module_config.proto | 1 + 1 file changed, 1 insertion(+) diff --git a/meshtastic/module_config.proto b/meshtastic/module_config.proto index f208d42..040b604 100644 --- a/meshtastic/module_config.proto +++ b/meshtastic/module_config.proto @@ -134,6 +134,7 @@ message ModuleConfig { /* * Whether in addition to sending it to MQTT and the PhoneAPI, our NeighborInfo should be transmitted over LoRa. + * Note that this is not available on a channel with default key and name. */ bool transmit_over_lora = 3; }