CLI cheatsheet
This cheat sheet allows you to quickly find some frequently used commands. If you think some commands are missing, let us know!
Output
Use the --output flag to set the CLI output type.
Usage:
CODE
Format | Example |
---|---|
pretty | HARDWARE INFORMATION - Product name LORIX One - Product type 863-870 - NAND size 512 MB - RAM size 120 MB - Gateway hardware version 1.0d2 - Reset controller firmware version 1.1.2 |
standard | {ProductName:LORIX One ProductType:863-870 NandSize:536870912 RamSize:126013440 GatewayHardwareVersion:1.0d2 ResetControllerFirmwareVersion:1.1.2} |
json | { "ProductName": "LORIX One", "ProductType": "863-870", "NandSize": 536870912, "RamSize": 126013440, "GatewayHardwareVersion": "1.0d2", "ResetControllerFirmwareVersion": "1.1.2" } |
System
Action | Command | Example result |
---|---|---|
Display Gateway UID | manager system info | SYSTEM INFORMATION - Serial: fcc23dfffe0efb3c - Date and time: 2019-12-13 16:54:09.412938421 +0100 CET m=+0.108771370 - Uptime: 28h56m33s - Temperature: good |
Display hardware information | manager system hardware | HARDWARE INFORMATION - Product name LORIX One - Product type EU868 - NAND size 256 MB - RAM size 120 MB - Gateway hardware version 1.0d - Reset controller firmware version 1.1.2 |
Update
Action | Command |
---|---|
Check if new updates are available | manager system update check |
Check the upgrade status | manager system update status |
Networking
Action | Command |
---|---|
Set the host name | sudo manager network networking hostname set <hostname> |
LoRa
Action | Command | Parameters |
---|---|---|
Set the active forwarder | sudo manager lora forwarder set <FORWARDER> | FORWARDER:
|
Start / stop the forwarder | sudo manager lora forwarder <FORWARDER> <start|stop> | FORWARDER:
|
You would like to see another command listed here? Ask for an improvement!