Ryan Malloy 2506e3ce3e fix: improve error logging for MQTT connection failures
- Add TLS security warning when certificate verification is disabled
- Add getMQTTErrorString() to translate PubSubClient error codes
- Show broker/user info on connection failure for debugging
- Standardize log prefix to [MQTT] (was inconsistent [MQTTS])
- Use transport-agnostic "Network" instead of "WiFi" in messages
- Fix WiFiState/NetworkState enum mismatch in getWiFiStatus()

Error codes now show meaningful messages like:
  "Bad credentials (check username/password)" instead of "rc=4"
2026-02-05 10:02:15 -07:00

Heltec V3 MeshCore Repeater

A standalone MeshCore LoRa mesh repeater for the Heltec WiFi LoRa 32 V3.

Build

pio run

Flash

Via USB:

pio run -t upload

Via OTA:

  1. Connect to serial: screen /dev/ttyUSB0 115200
  2. Type: start ota
  3. Join WiFi: MeshCore-OTA
  4. Browse to: http://192.168.4.1/update
  5. Upload: .pio/build/heltec_v3_repeater/firmware.bin

Monitor

pio device monitor

Configuration

Edit platformio.ini:

-D ADVERT_NAME='"RPM Repeater"'
-D ADVERT_LAT=0.0
-D ADVERT_LON=0.0
-D ADMIN_PASSWORD='"password"'

Dependencies

Requires MeshCore library at ../MeshCore.

Docs

See docs/ for detailed documentation.

Description
MeshCore LoRa repeater firmware for Heltec V3 with MQTT/Ethernet gateway support
Readme 198 KiB
Languages
C++ 100%