Menu Close

MeshCom commands

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

--volt Display indication changes to battery in V
--proz Display indication changes to battery in %.
✅ --maxv99.9 Maximum charging voltage in V
✅ --buttonon activates the user button (TBEAM, TLORA, ESP32/E22, HELTEC V2/V3)
✅ --buttonoff deactivates the user button (TBEAM, TLORA, ESP32/E22, HELTEC V2/V3)
--all brings again continuously POS messages on the display until a message comes up
--msg brings only messages on the display (starting with the next message)
✅ --displayoff/on This turns the display off and only turns it on for 30 seconds in case of a text message (gateway remains permanently off)
--sendpos a POS message with the last stored position is sent immediately
✅ --setlatxx.xxxxxx in ° if no GPS available (values > 0 East)
✅ --setlonxxx.xxxxxx w.o. (values > 0 North)
✅ --setaltxxxxx m above sea 0
✅ --trackon activates the display for SmartBeaconing (transmission interval in seconds, heading in ° (last/current), distance in meters (to last point))
✅ --trackoff deactivates the display for SmartBeaconing
--wx Displays weather data (BME280/BMP280 must be present)
--pos query the current stored position and date/time
✅ --gpson/off enables GPS queries (necessary if GPS add-on hardware is used)
✅ --bmeon activates the BME280 sensor
✅ --bmpon activates the BMP280 sensor
✅ --bmxoff deactivates the BME280 or BMP280 sensor, respectively
✅ --onewireon/off enables/disables the Onewire DS temperature sensor
✅ --gpson/off enables GPS queries (necessary if GPS add-on hardware is used)
--reboot The firmware is reloaded and restarted (data in flash memory is retained)

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
❌ --setcall Setcallsign (only valid calls according to APRS) (auto. reboot after 10 seconds)
❌ --setssid SetWIFIssid (auto reboot after 15 seconds if ssid and pwd are set)
❌ --setpwd SetWIFIpassword (auto-reboot after 15 seconds if ssid and pwd are set)
--sethamnet use HAMNET IP for MeshCom server connection (auto.reboot after 10 seconds)
--setinet use the INTERNET IP for the MeshCom server connection (auto. reboot after 10 seconds)
❌ --gatewayon start gateway to MeshCom server via WIFI/ETH-connect
❌ --setinfoon/off switches the display of incoming LoRa/UDP messages at the serial console on/off (default)
❌ --debugon/off switches the general debug help on and off
❌ --loradebugon/off switches LoRa RX/TX debug help on and off
❌ --gpsdebugon/off switches GPS debug help on and off
❌ --wxdebugon/off switches the WX sensor debug help on and off

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
--setlat 48.3751
--setlon 14.4350
--setalt 490

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