Skip to content

Commit e8d3c53

Browse files
authored
Merge pull request meshcore-dev#2753 from formtapez/cli-docs
Added some missing CLI commands
2 parents 55ad768 + d3444e6 commit e8d3c53

1 file changed

Lines changed: 25 additions & 1 deletion

File tree

docs/cli_commands.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,25 @@ This document provides an overview of CLI commands that can be sent to MeshCore
2828
**Usage:**
2929
- `reboot`
3030

31+
**Note:** No reply is sent.
32+
33+
---
34+
35+
### Power-off the node
36+
**Usage:**
37+
- `poweroff`, or
38+
- `shutdown`
39+
40+
**Note:** No reply is sent.
41+
3142
---
3243

3344
### Reset the clock and reboot
3445
**Usage:**
3546
- `clkreboot`
3647

48+
**Note:** No reply is sent.
49+
3750
---
3851

3952
### Sync the clock with the remote device
@@ -632,10 +645,21 @@ This document provides an overview of CLI commands that can be sent to MeshCore
632645
**Parameters:**
633646
- `value`: Maximum flood hop count (0-64) for a packet without a scope (no region set)
634647

635-
**Default:** `0xFF` - indicates it hasn't been set, will track flood.max until it is.
648+
**Default:** `64` - (`0xFF` indicates it hasn't been set, will track flood.max until it is.)
636649

637650
**Note:** An alternative to `region denyf *`, setting `flood.max.unscoped` to a lower value such as `3` would allow for local unscoped messages to propagate, while preventing noisy neighbors from flooding a local region.
638651

652+
---
653+
654+
#### Limit the number of hops for an advert flood message
655+
**Usage:**
656+
- `get flood.max.advert`
657+
- `set flood.max.advert <value>`
658+
659+
**Parameters:**
660+
- `value`: Maximum flood hop count (0-64) for an advert packet
661+
662+
**Default:** `8`
639663

640664
---
641665

0 commit comments

Comments
 (0)