Menu Close

Node commands

✅ these commands can be entered both via input in a serial console and in the APP as a message

✅ −−volt  Display-Anzeige wechselt die Anzeige zur Akku in V
✅ −−proz Display-Anzeige wechselt die Anzeige zu Akku in %
✅ −−maxv 99.9 maximale Ladespannung in V
✅ −−button on aktiviert den User-Button (TBEAM, TLORA, ESP32/E22, HELTEC V2/V3)
✅ −−button off deaktiviert den User-Button (TBEAM, TLORA, ESP32/E22, HELTEC V2/V3)
✅ −−button gpio N Setzt den GPIO Pin für den Userbutton. N für die GPIO Nummer
✅ −−all bringt wieder laufend POS Meldungen am Display bis eine Meldung kommt
✅ −−msg bringt nur Meldungen am Display (ab der nächsten Meldung)
✅ −−display off/on Das Display wird abgedreht und bei einer Text-Meldung für 30 Sekunden aufgedreht ****
✅ −−sendpos eine POS-Meldung mit der letzten gespeicherten Position wird sofort gesendet
✅ −−setlat xx.xxxxxx in ° setzen wenn kein GPS vorhanden (Werte > 0 East)
✅ −−setlon xxx.xxxxxx w.o. (Werte > 0 Nord)
✅ −−setalt xxxxx m über Meeres 0
✅ −−utcoff +/- 99.9 setzen der Zeitdifferenz zwischen der lokalen zeit und UTC
✅ −−track on aktiviert die Anzeige für SmartBeaconing ***
✅ −−track off deaktiviert die Anzeige für SmartBeaconing
✅ −−wx  Zeigt Wetterdaten an (BME280/BMP280 muss vorhanden sein)
✅ −−pos   die aktuellen gespeicherte Position und das Datum/Uhrzeit abfragen
✅ −−gps on/off aktiviert GPS-Abfragen (notwendig wenn GPS-Zusatzhardware verwendet wird)
✅ −−bme on aktiviert den BME280 Sensor
✅ −−bmp on aktiviert den BMP280 Sensor
✅ −−bmx off dektiviert den BME280, BMP280 bzw. BME680 Sensor
✅ −−680 on/off aktiviert oder deaktiviert den BME680 Sensor
✅ −−811 on/off aktiviert oder deaktiviert den CMCU811 Sensor
✅ −−onewire on/off aktiviert/deaktiviert den Onewire DS-Temperatur-Sensor
✅ −−onewire gpio 99 legt den OneWire GPIO PIN fest
✅ −−gps on/off aktiviert GPS-Abfragen (notwendig wenn GPS-Zusatzhardware verwendet wird)
✅ −−reboot Die Firmware wird neu geladen und gestartet (Daten im Flash-Speicher bleiben erhalten)
✅ −−setcall Callsign  setzen (nur gültige Calls laut APRS) (Auto.-Reboot nach 15 Sekunden)
✅ −−setctry xx  [EU, UK, US, VR2, 868, 915] setz die Landabhängigen LoRa-RX/TX-Parameter siehe Tabelle **
✅ −−setssid WIFIssid  setzen (Auto.-Reboot nach 15 Sekunden) max. 32 Zeichen
✅ −−setpwd WIFIpassword  setzen max. 63 Zeichen **
✅ −−setgrc … Eingabe des Gruppenfilters  <−−setgrc232;2321;262;20>
✅ −−setgrc ohne Zusatz löscht die Gruppen
✅ −−gateway on start Gateway zum MeshCom-Server via WIFI/ETH-connect
✅ −−webserver on start WEBService via Wifi/ETH IP-Verbindung
✅ −−setwifiap on/off WEBService in Access-Point-Mode setzen
✅ −−setownip xxx.xxx.xxx.xxx
Setzt statische IP Adresse
✅ −−setowngw xxx.xxx.xxx.xxx
Setzt statische IP Adresse default GW
✅ −−setownip xxx.xxx.xxx.xxx
Setzt statische Subnetmask (alle drei Adressen müssen gesetzt sein)
✅ −−showi2c
Zeigt die Adressen der aktuell angeschlossenen I2C-Komponenten an
✅ −−webpwd xxxxx setzt das Password für die Web-GUI
✅ −−btcode NNNNNN Custom BLE PIN. Default 000000. 6 Ziffern und > 100000
✅ −−ota-update Startet den Node in das OTA Update
✅ −−extudpip xxx.xxx.xxx.xxx Setzt die Destination IP für das JSON basierte UDP Interface
✅ −−extudp on/off Aktiviert das JSON basierte UDP Interface. Port 1799 https://groups.io/g/meshcom/message/222
✅ −−nomsgall on/off Opt-Out für „*“-Meldungen (an Alle) neues Kommando zum unterdrücken der eigenen Anzeige

** after this command, an automatic reboot is triggered after 15 seconds
*** Transmission interval in seconds, heading in ° (last/current), distance in meters (to last point)
**** A gateway remains permanently off

Commands directly from the smartphone APP:

GATEWAY, GPS, BUTTON, TRACK BME, BMP

Weather data query, if a BME or BMP chip has been connected to the I2C bus, can be called with the following command in the APP:

WX-Info

Position data, if a GPS chip is present on the hardware, can be called with the following command in the APP:

POS info

❌ these commands are prepared only for input in a serial console connected to the node. Note: not intended for input via APP.

--help query the list of commands
--info query the current operating parameters
--mheard (- - mh) display the stations listened to via LoRa-RX since the last reboot
--path (- - mh) display the path information collected via Hey! messages since the last reboot
--sethamnet use the HAMNET IP for the MeshCom server connection (auto reboot after 10 seconds)
--setinet use the INTERNET IP for the MeshCom server connection (auto reboot after 10 seconds)
❌ --setinfoon/off switches the display of LoRa RX/TX and UDP messages on the serial console on/off
(is not stored in the flash)
❌ --loradebugon/off switches the LoRa RX/TX debug help on and off
❌ --gpsdebugon/off switches the GPS debug help on and off
❌ --wxdebugon/off switches the WX sensor debug help on/off
❌ --bledebugon/off switches the BlueTooth debug help on/off
❌ --softserdebug
on/off
switches the debug help for the serial telemetry functions on and off
(is not stored in the flash)

 

Send messages to ALL - directly from the serial console

:textnachricht eingeben und <ENTER>

It is also possible to send several prepared commands at once. It is best to prepare them in a notepad or similar and copy them into the buffer with CTRL+C and then paste them into the serial console connected to the MeshCom node with CTRL+V.

Messages in direct mode (DM) - send directly from the serial console

:{OE1KBC-1}textnachricht eingeben und <ENTER>


Example of a configuration

−−setnoinfo
−−setcall MYCALL-12
−−setctry <Country-ID> oder <Country-Code>
−−setlat 48.3751

−−setlon 14.4350
−−setalt 490

The LoRa parameters such as frequency, bandwidth, spreading factor and coding rate are fixed by the country ID.

Country table

Country IDCountry codeCountryCenter-Frequency MHzPreamble bytesMod codeBandwith kHzSpreadingCoding rateTrack-Frequency MHz
Country ID:
0
Country code:
EU
Country:
Europe
Center-Frequency MHz:
433.175
Preamble bytes:
32
Mod code:
8
Bandwith kHz:
250
Spreading:
11
Coding rate:
4/6
Track-Frequency MHz:
433.775
Country ID:
1
Country code:
UK
Country:
United Kingdom
Center-Frequency MHz:
439.9125
Preamble bytes:
8
Mod code:
10
Bandwith kHz:
125
Spreading:
10
Coding rate:
4/6
Track-Frequency MHz:
433.775
Country ID:
2
Country code:
ON
Country:
Belgium
Center-Frequency MHz:
433.175
Preamble bytes:
8
Mod code:
10
Bandwith kHz:
125
Spreading:
10
Coding rate:
4/6
Track-Frequency MHz:
433.775
Country ID:
3
Country code:
EA
Country:
Spain (not used)
Center-Frequency MHz:
Preamble bytes:
Mod code:
0
Bandwith kHz:
Spreading:
Coding rate:
Track frequency MHz:
0
Country ID:
4
Country code:
LA
Country:
Norway
Center-Frequency MHz:
433.925
Preamble bytes:
8
Mod code:
10
Bandwith kHz:
125
Spreading:
10
Coding rate:
4/6
Track-Frequency MHz:
433.775
Country ID:
5
Country code:
868
Country:
ISM-Frequency 868
Center-Frequency MHz:
869.525
Preamble bytes:
8
Mod code:
8
Bandwith kHz:
250
Spreading:
11
Coding rate:
4/6
Track-Frequency MHz:
999.000
Country ID:
6
Country code:
915
Country:
ISM-Frequency 906
Center-Frequency MHz:
906.875
Preamble bytes:
8
Mod code:
8
Bandwith kHz:
250
Spreading:
11
Coding rate:
4/6
Track-Frequency MHz:
999.000
Country ID:
7
Country code:
MAN
Country:
manual
Center-Frequency MHz:
433.175 (default)
Preamble bytes:
32
Mod code:
0
Bandwith kHz:
Spreading:
Coding rate:
Track-Frequency MHz:
433.775
Country ID:
8
Country code:
EU8
Country:
Europe with 8 byte preamble
Center-Frequency MHz:
433.175
Preamble bytes:
8
Mod code:
8
Bandwith kHz:
250
Spreading:
11
Coding rate:
4/6
Track-Frequency MHz:
433.775
Country ID:
9
Country code:
UK8
Country:
United Kingdom with 8 byte preamble
Center-Frequency MHz:
439.9125
Preamble bytes:
8
Mod code:
10
Bandwith kHz:
125
Spreading:
10
Coding rate:
4/6
Track-Frequency MHz:
433.775
Country ID:
10
Country code:
US
Country:
North-America
Center-Frequency MHz:
433.175
Preamble bytes:
8
Mod code:
8
Bandwith kHz:
250
Spreading:
11
Coding rate:
4/6
Track-Frequency MHz:
433.775
Country ID:
11
Country code:
VR2
Country:
Hong Kong
Center-Frequency MHz:
435.775
Preamble bytes:
8
Mod code:
8
Bandwith kHz:
250
Spreading:
11
Coding rate:
4/6
Track-Frequency MHz:
433.775
Country ID:
Country code:
Country:
Center-Frequency MHz:
Preamble bytes:
Mod code:
Bandwith kHz:
Spreading:
Coding rate:
Track-Frequency MHz:

If the MeshCom node is to be used as a gateway, the following additional commands are required:

--setssid WIFIssid
--setpwd WIFIpassword
--gateway on

The gateway automatically configures the IP address of the MeshCom server based on the local IP address obtained via DHCP. To fix the MeshCom server selection when the local IP address is assigned via NAT, the desired MeshCom server IP address can be set to fixed.

thief with

--sethamnet

or

--setinet