Blame
|
1 | # Commands |
||||||
| 2 | ||||||||
|
3 | These commands are used for repeaters. See github for the [full list of commands](https://github.com/meshcore-dev/MeshCore/blob/main/docs/cli_commands.md) or https://docs.meshcore.io/cli_commands/ |
||||||
|
4 | |||||||
|
5 | | Command | Usage | Example Command | Example Output | |
||||||
| 6 | | --------- | ---------------------------------------------- | ------------------------------- | - | |
|||||||
| 7 | | tempradio | tempradio <freq>,<bw>,<sf>,<cr>,<timeout_mins> | `tempradio 915.075,125,9,5,120` | | |
|||||||
|
8 | |||||||
| 9 | ``` |
|||||||
| 10 | Repeater CLI Commands: |
|||||||
| 11 | ||||||||
| 12 | Info: |
|||||||
| 13 | ver - Firmware version |
|||||||
| 14 | board - Board name |
|||||||
| 15 | clock - Show current time |
|||||||
| 16 | ||||||||
| 17 | Stats: |
|||||||
| 18 | stats-core - Core stats (uptime, battery, queue) |
|||||||
| 19 | stats-radio - Radio stats (RSSI, SNR, noise floor) |
|||||||
| 20 | stats-packets - Packet statistics (sent/recv counts) |
|||||||
| 21 | clear stats - Reset all statistics |
|||||||
| 22 | ||||||||
| 23 | Network: |
|||||||
| 24 | neighbors - Show neighboring repeaters (zero-hop) |
|||||||
| 25 | advert - Send advertisement now |
|||||||
| 26 | ||||||||
| 27 | Logging: |
|||||||
| 28 | log start - Enable packet logging |
|||||||
| 29 | log stop - Disable packet logging |
|||||||
| 30 | log - Dump log file to console |
|||||||
| 31 | log erase - Erase log file |
|||||||
| 32 | ||||||||
| 33 | Configuration (get/set): |
|||||||
| 34 | get name - Node name |
|||||||
| 35 | get radio - Radio params (freq,bw,sf,cr) |
|||||||
| 36 | get tx - TX power (dBm) |
|||||||
| 37 | get repeat - Repeat mode on/off |
|||||||
| 38 | get public.key - Node public key |
|||||||
| 39 | get advert.interval - Advertisement interval (minutes) |
|||||||
| 40 | get owner.info - Owner information |
|||||||
| 41 | ||||||||
| 42 | set name <name> - Set node name |
|||||||
| 43 | set tx <power> - Set TX power (dBm) |
|||||||
| 44 | set repeat on|off - Enable/disable repeating |
|||||||
| 45 | set radio f,bw,sf,cr - Set radio params (reboot to apply) |
|||||||
| 46 | set advert.interval <min> - Set advert interval (60-240 min) |
|||||||
| 47 | set owner.info <i> - Set owner information |
|||||||
| 48 | ||||||||
| 49 | Region management: |
|||||||
| 50 | region - display currently configured regions |
|||||||
| 51 | region save - save current region config to flash |
|||||||
| 52 | region download - download regions config from node to file |
|||||||
| 53 | region (up)load - upload regions config to node from file |
|||||||
| 54 | region home - get/set home region |
|||||||
| 55 | region get - get info (and parent) for a region |
|||||||
| 56 | region put - adds or update a region |
|||||||
| 57 | region remove - remove a region definition |
|||||||
| 58 | region allowf - gives flood permission to a region |
|||||||
| 59 | region denyf - remove flood permission to a region |
|||||||
| 60 | region list - list allowed/denied regions |
|||||||
| 61 | ||||||||
| 62 | System: |
|||||||
| 63 | reboot - Reboot device |
|||||||
| 64 | erase - Erase filesystem (serial only) |
|||||||
| 65 | script <file> - Execute script |
|||||||
| 66 | ||||||||
| 67 | ``` |
|||||||