DE

Terminal Chat CLI

Terminal Chat CLI

Below are the commands you can enter into the Terminal Chat clients:

Device Configuration

CLI
set freq {frequency}
Set the LoRa frequency. Example: set freq 915.8
CLI
set tx {tx-power-dbm}
Sets the LoRa transmit power in dBm.
CLI
set name {name}
Sets your advertisement name.
CLI
set lat {latitude}
Sets your advertisement map latitude (decimal degrees).
CLI
set lon {longitude}
Sets your advertisement map longitude (decimal degrees).
CLI
set dutycycle {percent}
Sets the transmit duty cycle limit (1–100%). Example: set dutycycle 10 for 10%.
CLI
set af {air-time-factor}
Sets the transmit air-time factor. Deprecated — use set dutycycle instead.

Clock

CLI
time {epoch-secs}
Set the device clock using UNIX epoch seconds. Example: time 1738242833
CLI
clock
Displays the current time according to the device's clock.

Device Information

CLI
ver
Shows the device version and firmware build date.
CLI
card
Displays *your* "business card", which others can manually *import*.

Contacts

CLI
import {card}
Imports the given card into your contacts.
CLI
list {n}
Lists all contacts by most recent. The optional parameter {n} limits the output to the last *n* contacts by advertisement date.

Messaging

CLI
advert
Sends an advertisement packet.
CLI
to
Shows the name of the current recipient contact (used for subsequent send commands).
CLI
to {name-prefix}
Sets the recipient to the *first* matching contact (in list) by name prefix — you don't have to type the whole name.
CLI
send {text}
Sends the text message (as a direct message) to the current recipient.
CLI
reset path
Resets the path to the current recipient for new path discovery.
CLI
public {text}
Sends the text message to the built-in "public" group channel.

Source: docs.meshcore.io