merge: integrate upstream dev (refactored CLI into handleGetCmd/handleSetCmd)

Resolves conflict in src/helpers/CommonCLI.cpp where upstream extracted
the get/set handlers into separate methods. Our region.autotag and
region.autotag.max.hops commands are now placed in the new handleGetCmd
and handleSetCmd methods.
This commit is contained in:
Dale Ruane 2026-04-20 16:47:02 +01:00
commit 4751380d4e
30 changed files with 1391 additions and 854 deletions

View file

@ -102,7 +102,9 @@ This document provides an overview of CLI commands that can be sent to MeshCore
- `neighbor.remove <pubkey_prefix>`
**Parameters:**
- `pubkey_prefix`: The public key of the node to remove from the neighbors list
- `pubkey_prefix`: The public key of the node to remove from the neighbors list. This can be a short prefix or the full key. All neighbors matching the provided prefix will be removed.
**Note:** You can remove all neighbors by sending a space character as the prefix. The space indicates an empty prefix, which matches all existing neighbors.
---
@ -217,6 +219,20 @@ This document provides an overview of CLI commands that can be sent to MeshCore
---
#### View or change the boosted receive gain mode
**Usage:**
- `get radio.rxgain`
- `set radio.rxgain <state>`
**Parameters:**
- `state`: `on`|`off`
**Default:** `off`
**Note:** Only available on SX1262 and SX1268 based boards.
---
#### Change the radio parameters for a set duration
**Usage:**
- `tempradio <freq>,<bw>,<sf>,<cr>,<timeout_mins>`
@ -748,6 +764,16 @@ This document provides an overview of CLI commands that can be sent to MeshCore
---
#### View or change the default scope region for this node
**Usage:**
- `region default`
- `region default {name|<null>}`
**Parameters:**
- `name`: Region name, or <null> to reset/clear
---
#### Create a new region
**Usage:**
- `region put <name> [parent_name]`