From cf3998b01596d44ac0bdfb0d5f1fd6207bf04479 Mon Sep 17 00:00:00 2001 From: Kenneth Privitt Date: Fri, 28 Aug 2026 14:14:29 -0700 Subject: [PATCH 1/4] Additional clarity on country legal requirements --- docs/cli_commands.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/cli_commands.md b/docs/cli_commands.md index 8772b929..4ccdd8d1 100644 --- a/docs/cli_commands.md +++ b/docs/cli_commands.md @@ -215,6 +215,9 @@ This document provides an overview of CLI commands that can be sent to MeshCore **Note:** Requires reboot to apply +**Notes:** These settings control the setup of the radio parameters.Refer to the node's manual for the correct settings to use. +**Setting a value too high or too low may violate the laws in your country.** + --- #### View or change this node's transmit power @@ -244,6 +247,9 @@ This document provides an overview of CLI commands that can be sent to MeshCore - `cr`: Coding rate (5-8) - `timeout_mins`: Duration in minutes (must be > 0) +**Notes:** These settings control the setup of the radio parameters.Refer to the node's manual for the correct settings to use. +**Setting a value too high or too low may violate the laws in your country.** + **Note:** This is not saved to preferences and will clear on reboot --- @@ -575,6 +581,9 @@ This document provides an overview of CLI commands that can be sent to MeshCore > **Note:** Added in firmware v1.15.0 +**Notes:** Refer to the node's manual for the correct settings to use. +**Setting a value too high may violate the laws in your country.** + --- #### View or change the airtime factor (duty cycle limit) From 81eb11e28519f5a2bb83a2c207fe46b8ec4b9258 Mon Sep 17 00:00:00 2001 From: Kenneth Privitt Date: Wed, 2 Sep 2026 15:24:55 -0700 Subject: [PATCH 2/4] Doc change to clarify radio setting country reqs. --- docs/cli_commands.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/cli_commands.md b/docs/cli_commands.md index 4ccdd8d1..0977347f 100644 --- a/docs/cli_commands.md +++ b/docs/cli_commands.md @@ -215,7 +215,8 @@ This document provides an overview of CLI commands that can be sent to MeshCore **Note:** Requires reboot to apply -**Notes:** These settings control the setup of the radio parameters.Refer to the node's manual for the correct settings to use. +**Notes:** These settings control the setup of the radio parameters. +Refer to the node's manual for the correct settings to use. **Setting a value too high or too low may violate the laws in your country.** --- @@ -232,7 +233,9 @@ This document provides an overview of CLI commands that can be sent to MeshCore **Default:** Varies by board -**Notes:** This setting only controls the power level of the LoRa chip. Some nodes have an additional power amplifier stage which increases the total output. Refer to the node's manual for the correct setting to use. **Setting a value too high may violate the laws in your country.** +**Notes:** This setting only controls the power level of the LoRa chip. Some nodes have an additional power amplifier stage which increases the total output. +Refer to the node's manual for the correct setting to use. +**Setting a value too high may violate the laws in your country.** --- @@ -247,7 +250,8 @@ This document provides an overview of CLI commands that can be sent to MeshCore - `cr`: Coding rate (5-8) - `timeout_mins`: Duration in minutes (must be > 0) -**Notes:** These settings control the setup of the radio parameters.Refer to the node's manual for the correct settings to use. +**Notes:** These settings control the setup of the radio parameters. +Refer to the node's manual for the correct settings to use. **Setting a value too high or too low may violate the laws in your country.** **Note:** This is not saved to preferences and will clear on reboot From a5d6db4f62c1af19e1f177c81c0020e10d9ef751 Mon Sep 17 00:00:00 2001 From: Blake Latchford Date: Sat, 21 Nov 2026 12:38:41 -0500 Subject: [PATCH 3/4] Document the companion buzzer CLI command get/set buzzer was added to the companion CLI in #3603 but not to docs/companion_cli.md. --- docs/companion_cli.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/companion_cli.md b/docs/companion_cli.md index 212eb905..796309ec 100644 --- a/docs/companion_cli.md +++ b/docs/companion_cli.md @@ -80,6 +80,20 @@ Since version 1.18 meshcore companion radio firmware has a CLI interface, which --- +#### View or change the buzzer state +**Usage:** +- `get buzzer` +- `set buzzer ` + +**Parameters:** +- `state`: `on`|`off` + +**Default:** `on` + +**Note:** Only available on boards with a buzzer (`PIN_BUZZER`). This is the same setting as the buzzer toggle in the device UI. + +--- + ### Radio Radio parameters are common to all roles and handled by `CommonRadioPrefs`. From 713802a7146b8a7572afbfdb2c7746906f645e03 Mon Sep 17 00:00:00 2001 From: mch <32224+hamsolodev@users.noreply.github.com> Date: Sun, 22 Nov 2026 15:47:06 +1100 Subject: [PATCH 4/4] BaseChatMesh: test an ACK's route before marking it do-not-retransmit onAckRecv called markDoNotRetransmit(), which sets the header to 0xFF, before testing isRouteFlood(). 0xFF's route bits read as ROUTE_TYPE_TRANSPORT_DIRECT, so the test was always false and handleReturnPathRetry never ran for a flood ACK: the reciprocal path was never re-sent to a node that was still flooding. Mark the packet after the test instead. --- src/helpers/BaseChatMesh.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/helpers/BaseChatMesh.cpp b/src/helpers/BaseChatMesh.cpp index 58c08dea..a4dcafea 100644 --- a/src/helpers/BaseChatMesh.cpp +++ b/src/helpers/BaseChatMesh.cpp @@ -380,12 +380,13 @@ void BaseChatMesh::onAckRecv(mesh::Packet* packet, uint32_t ack_crc) { ContactInfo* from; if ((from = processAck((uint8_t *)&ack_crc)) != NULL) { txt_send_timeout = 0; // matched one we're waiting for, cancel timeout timer - packet->markDoNotRetransmit(); // ACK was for this node, so don't retransmit if (packet->isRouteFlood() && from->out_path_len != OUT_PATH_UNKNOWN) { // we have direct path, but other node is still sending flood, so maybe they didn't receive reciprocal path properly(?) handleReturnPathRetry(*from, packet->path, packet->path_len); } + // NOTE: must come after the isRouteFlood() test, as it overwrites the header + packet->markDoNotRetransmit(); // ACK was for this node, so don't retransmit } }