Ryan Malloy 669ef89a66 fix: memory leaks and uninitialized pointers
- Initialize _mqtt_bridge and _web_config to nullptr in declarations
- Add destructor to clean up dynamically allocated objects
- Initialize _last_mqtt_stats to 0 in declaration
- Fix WiFiState/NetworkState enum mismatch in getWiFiStatus()

While embedded firmware typically runs forever (making these not
critical leaks), proper cleanup enables testing and prevents
static analyzer warnings.
2026-02-05 09:59:49 -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%