From 48ba83a58c54cf40b810a30f64e23b89daffdbf7 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 11 Jul 2026 08:24:18 +0000 Subject: [PATCH 1/4] Add NZ_SF region for New Zealand Short Fast Adds a new RegionCode enum value NZ_SF = 38 that uses the same frequency band as ANZ, intended for the Short Fast modem preset. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_016CZ7bDuPL67jJS1D7RV9oB --- meshtastic/config.proto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meshtastic/config.proto b/meshtastic/config.proto index aa5264e2c..e9529fad1 100644 --- a/meshtastic/config.proto +++ b/meshtastic/config.proto @@ -990,6 +990,12 @@ message Config { * Check local law! */ ITU2_125CM = 37; + + /* + * New Zealand Short Fast + * Same band as ANZ, for use with the Short Fast modem preset + */ + NZ_SF = 38; } /* From 11beb42c58f20a8f72755d177bd790eba5fb9dce Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 11 Jul 2026 08:50:33 +0000 Subject: [PATCH 2/4] Rename NZ_SF region to NZ_924 Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_016CZ7bDuPL67jJS1D7RV9oB --- meshtastic/config.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meshtastic/config.proto b/meshtastic/config.proto index e9529fad1..a7ebe1317 100644 --- a/meshtastic/config.proto +++ b/meshtastic/config.proto @@ -992,10 +992,10 @@ message Config { ITU2_125CM = 37; /* - * New Zealand Short Fast + * New Zealand 924MHz * Same band as ANZ, for use with the Short Fast modem preset */ - NZ_SF = 38; + NZ_924 = 38; } /* From b942055bb28cbbb97f644c81112313cd740e764b Mon Sep 17 00:00:00 2001 From: nomdetom Date: Tue, 14 Jul 2026 13:02:55 +0100 Subject: [PATCH 3/4] sensible name change --- meshtastic/config.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meshtastic/config.proto b/meshtastic/config.proto index 4bba3ff16..1f0826b10 100644 --- a/meshtastic/config.proto +++ b/meshtastic/config.proto @@ -992,10 +992,10 @@ message Config { ITU2_125CM = 37; /* - * New Zealand 924MHz + * New Zealand 915MHz-928MHz * Same band as ANZ, for use with the Short Fast modem preset */ - NZ_924 = 38; + NZ_915 = 38; } /* From 1153d23b9dd66c3c6efc77b3f784cdfb83db9e9c Mon Sep 17 00:00:00 2001 From: nomdetom Date: Tue, 14 Jul 2026 13:06:07 +0100 Subject: [PATCH 4/4] coderabbit comment --- meshtastic/mesh.options | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meshtastic/mesh.options b/meshtastic/mesh.options index 5a0f2bde8..3f5d3378b 100644 --- a/meshtastic/mesh.options +++ b/meshtastic/mesh.options @@ -102,10 +102,10 @@ # the 512-byte MAX_TO_FROM_RADIO_SIZE cap. nanopb sizes repeated enums unpacked # (~2 bytes/element), so the flat groups + region_groups layout keeps cost additive # rather than groups*regions. See bin/regen-protos.sh output for the actual size. -# region_groups capped at 38 = the number of RegionCode enum values, so it can +# region_groups capped at 39 = the number of RegionCode enum values, so it can # never overflow regardless of how many regions gain a firmware table entry. *LoRaRegionPresetMap.groups max_count:8 -*LoRaRegionPresetMap.region_groups max_count:38 +*LoRaRegionPresetMap.region_groups max_count:39 *LoRaPresetGroup.presets max_count:11 *LoRaRegionPresets.group_index int_size:8