mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
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:
commit
4751380d4e
30 changed files with 1391 additions and 854 deletions
|
|
@ -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]`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue