Files
MeshCore-mqtt-observer/lib/PsychicMqttClient/CHANGELOG.md
T
agessaman 498566e6c9 MQTT bridge: fix memory use, improve status reporting
- Main broker: only allocate _mqtt_client when custom broker configured
  (analyzer-only saves one PsychicMqttClient). Reconnect main broker after
  forced disconnect with 30s throttle; set last_attempt on disconnect so
  throttle applies and avoids reconnect storms on flaky WiFi.
- Analyzer clients: call disconnect() when WiFi transitions to disconnected
  so ESP-IDF frees MQTT buffers (it does not free on WiFi drop). Reduces
  fragmentation and Max drop after disconnect/reconnect cycles.
- get wifi.status: report WiFi uptime (Xd Xh Xm Xs) when WITH_MQTT_BRIDGE.
  Track connect time in bridge; backfill when already connected at first check.
- get mqtt.status: show msgs on/off, broker (connected/disconnected/n/a),
  analyzer US/EU (connected/disconnected/off), and queue count.

Note: PsychicMqttClient change (register event only on first client creation)
belongs in the library repo if committed separately.
2026-02-02 19:09:31 -08:00

1.6 KiB

Changelog

All notable changes to this project will be documented in this file.

[0.2.4] - Fixes

Fixed

  • Binary payloads truncated by strcpy and switched to memcpy 18
  • Fixed broken link to Adafruit cert repository

Changed

  • Replaced mqtt.eclipseprojects.io with broker.hivemq.com
  • Replaced debug tag with 🐙

[0.2.3] - Various Fixes and Certificate Validation

Fixed

  • Issue 16 was fixed.

Added

  • PR 17 adds functionality to authenticate via client key + certificate.

[0.2.2] - Various Fixes

Fixed

  • Issue 14 was fixed.
  • Issue 13 was fixed.

Added

  • The function forceStop() was added to address issue 12.

[0.2.1] - Fixing Wildcard Behavior

Changed

  • Issue 6 was fixed.

Added

  • Example for wildcards in topics.

[0.2.0] - Compatible with Arduino 3 / ESP-IDF 5

Added

  • CI workflow
  • ESP-IDF 5 compatibility

Changed

  • updated library.json

[0.1.1] - Stability Fixes

Fixed

  • Fixed subscribe error when not connected
  • Freezing of event-loop when disconnect() is called while the MQTT server is not connected

[0.1.0] - Initial Release