Liam Cottle
c14362d80f
Merge pull request #1331 from an0key/wifi-offlinequeuesizemissing
...
OFFLINE_QUEUE_SIZE for Heltec Wifi companions
2026-01-07 10:46:56 +13:00
Luke
d4a2e5789f
OFFLINE_QUEUE_SIZE for Heltec Wifi companions
...
OFFLINE_QUEUE_SIZE missing from h3/h4 wifi companions, causing them only store 16 messages.
2026-01-06 14:49:15 +00:00
alex-vg
818f5e9da5
variants: Xiao_S3_WIO: Add WiFi companion env
2026-01-05 02:25:30 +01:00
ViezeVingertjes
eb4fa032ff
Implement token bucket duty cycle enforcement
2026-01-04 21:33:46 +01:00
ripplebiz
09005fa455
Merge pull request #1308 from liamcottle/fix/wifi-interface-frames
...
Fix: WiFi Interface Frame Parsing
2026-01-04 16:19:57 +11:00
liamcottle
8708fa012a
simplify reading frame header
2026-01-04 17:43:25 +13:00
ripplebiz
c5c67ee1a5
Merge pull request #1313 from recrof/thinknode_m6_companion_fix
...
fix compilation errors for m6 companion roles
2026-01-04 13:30:52 +11:00
Liam Cottle
badcefb9f8
Merge pull request #1317 from cj-vana/fix/typos
...
Fix typos in README and source comments
2026-01-04 14:57:43 +13:00
cj-vana
63767cdb7d
Fix typos in README and source comments
2026-01-03 18:54:48 -07:00
agessaman
2bd61c1324
Add device metadata setup in MyMesh bridge initialization and restart
...
- Implemented device metadata configuration in the bridge's start and restart methods.
- Added device ID, firmware version, board model, and build date settings.
- Included MQTT bridge statistics sources setup conditionally based on the WITH_MQTT_BRIDGE flag.
2026-01-03 11:09:37 -08:00
agessaman
d1093b4390
Refactor MQTTBridge configuration validation to support optional username and password
...
- Simplified validation logic in MQTTBridge to only reject default placeholder values for username and password.
- Removed unnecessary checks for empty username and password, allowing for anonymous mode support.
2026-01-03 09:34:43 -08:00
Rastislav Vysoky
63ae92aa09
fix compilation errors for m6 companion roles
2026-01-03 16:32:36 +01:00
Liam Cottle
6b52fb3230
Merge pull request #1310 from LitBomb/patch-22
...
fix Station G2 output dBm typo
2026-01-03 19:39:31 +13:00
uncle lit
a93527a474
fix Station G2 output dBm typo
...
fix Station G2 output dBm typo reported on https://github.com/meshcore-dev/MeshCore/issues/1304
changed 26.5 dBm to 36.5 dBm
2026-01-02 22:34:10 -08:00
liamcottle
71bb49e556
remove use of dynamic allocation
2026-01-03 16:36:19 +13:00
liamcottle
ed263b0727
implement frame header parising for wifi interface
2026-01-03 15:39:57 +13:00
Scott Powell
3af25495bb
* Repeater: new anon request sub-type: ANON_REQ_TYPE_REGIONS (rate limited to max 4 every 3 mins)
...
* Companion: new CMD_SEND_ANON_REQ command (reply with existing RESP_CODE_SENT frame)
2026-01-03 12:02:15 +11:00
ripplebiz
e31c46ff56
Merge pull request #1294 from liquidraver/factorynvsreset
...
Add NVS partition reset to ESP factory reset
2026-01-03 11:57:14 +11:00
agessaman
e754317ceb
Refactor JWTHelper and MQTTBridge for improved efficiency and clarity
...
- Removed unnecessary debug logging in JWTHelper to streamline token creation process.
- Simplified JWT token creation logic in MQTTBridge, deferring token generation until WiFi is connected and NTP is synced.
- Introduced a flag for pending NTP sync in MQTTBridge to manage synchronization more effectively.
- Enhanced error handling and logging for token creation and connection management in MQTTBridge.
2026-01-02 13:36:41 -08:00
agessaman
98f176c730
Fix MQTT connection stability and CLI responsiveness issues
...
- Remove blocking delays in main loop (health check, WiFi reconnect)
- Make WiFi initialization fully async and non-blocking
- Optimize token renewal to only disconnect when token expires (60s buffer)
- Fix health check connection state management
- Add comprehensive stability review documentation
2026-01-02 13:36:41 -08:00
agessaman
2185523df6
Add sorting functions for neighbour information in MyMesh and optimize MQTTBridge for memory efficiency
...
- Introduced comparison functions for sorting neighbours by timestamp and signal strength in MyMesh.
- Implemented early exit conditions in MQTTBridge to improve processing efficiency when no neighbours are present.
- Enhanced MQTTBridge to optimize memory usage by adjusting MQTT client configurations and implementing memory pressure checks.
- Reduced processing limits in MQTTBridge to maintain responsiveness and prevent blocking during packet handling.
2026-01-02 13:36:41 -08:00
agessaman
915f8b8e52
Update MQTT_IMPLEMENTATION.md to include WiFi power save mode configuration details. Add commands for retrieving and setting power save modes (none, min, max) with descriptions for each option.
2026-01-02 13:36:41 -08:00
agessaman
8fa99611cb
Refactor loadPrefs in CommonCLI to handle fresh installs and upgrades. Introduce flags for fresh installations and upgrades, ensuring correct default settings for MQTT bridge. Migrate preferences from old filename and save updated settings accordingly.
2026-01-02 13:36:41 -08:00
agessaman
617e3b17c0
Enhance loop processing in MyMesh and MQTTBridge to prioritize radio reception and improve responsiveness. Add comments for clarity on packet processing limits and WiFi status handling during MQTT operations.
2026-01-02 13:36:41 -08:00
agessaman
5d4f1e4c02
Refactor MQTTBridge connection logic to defer server connections until WiFi is connected and NTP is synced. Enhance error logging to include socket error numbers for better diagnostics. Add DNS resolution check before NTP sync to prevent failures. Improve time synchronization handling and memory management for timezone settings.
2026-01-02 13:36:41 -08:00
agessaman
f7f1f83812
Enhance WiFi status handling in CommonCLI and MQTTBridge. Add command to retrieve WiFi connection status in CommonCLI and implement event-driven WiFi diagnostics in MQTTBridge for improved connection management and logging. Introduce periodic checks for WiFi status to facilitate faster reconnection attempts and better monitoring of disconnection events.
2026-01-02 13:36:41 -08:00
agessaman
34c8bea77f
Add WiFi power save mode configuration to CommonCLI and MQTTBridge. Update preferences structure to include power save settings and implement command handling for adjusting power save modes (none, min, max). Enhance MQTTBridge to apply power save settings on WiFi connection and enable auto-reconnect functionality.
2026-01-02 13:36:41 -08:00
agessaman
b82d7e43d1
Add WiFi TX power configuration option for MQTT. Update MQTTBridge to use build flag for TX power, defaulting to 11dBm. Document available power levels in MQTT_IMPLEMENTATION.md and update platformio.ini with example usage.
2026-01-02 13:36:41 -08:00
agessaman
0b7c088899
Implement default bridge settings for fresh installs in CommonCLI and optimize JSON document usage in MQTTMessageBuilder to avoid heap fragmentation. Update token renewal logic in MQTTBridge to handle time synchronization more effectively.
2026-01-02 13:36:41 -08:00
agessaman
3589043b2e
Enhance MQTT debug macros to prevent hangs by checking Serial availability before printing.
2026-01-02 13:36:41 -08:00
agessaman
03d519f8d4
Remove redundant MQTT and WiFi settings write operations from CommonCLI savePrefs function
2026-01-02 13:36:41 -08:00
agessaman
4f548ffc63
Add source filter for additional directories in platformio.ini for Xiao S3 WIO variant
2026-01-02 13:36:41 -08:00
agessaman
8fbdc98ad2
Add adc_multiplier to NodePrefs structure
2026-01-02 13:36:41 -08:00
agessaman
5cadf3d96b
Convert IATA codes to uppercase in CommonCLI and MQTTBridge for consistency
2026-01-02 13:36:41 -08:00
agessaman
3726c472cc
Enable MQTT_DEBUG flag for multiple platformio.ini configurations
2026-01-02 13:36:41 -08:00
agessaman
6b0c0e931f
Add IP address display for MQTT bridge devices in UITask
2026-01-02 13:36:41 -08:00
agessaman
3c7ac9d154
add support for T-Beam ESP32 devices, add error logging for a situation where bridge.source is set to tx but tx logging is off.
2026-01-02 13:36:41 -08:00
agessaman
158748d41f
remove extra conflict marker
2026-01-02 13:36:41 -08:00
agessaman
44c2451513
clean up unnecessary comments
2026-01-02 13:36:41 -08:00
agessaman
304a32dba4
Update MQTT configurations to change bridge to observer mode across multiple variants
...
added support for lilygo_t3s3, tbeam_supreme
2026-01-02 13:36:41 -08:00
agessaman
aa242e786d
Refactor client version string generation in MQTTBridge
2026-01-02 13:36:41 -08:00
Michael Hart
01e77cbeb3
Updates client string to meshcore/{firmware-version-string}
2026-01-02 13:36:41 -08:00
agessaman
bafa542678
enable wifi power save and limit wifi power to reduce potential interference with LoRa radio; fixed situation where retry logic failed when no brokers were connected
2026-01-02 13:36:41 -08:00
agessaman
25d40f0219
Add IATA validation to prevent MQTT publishing without configured IATA code
2026-01-02 13:36:41 -08:00
agessaman
9e06fffc31
Restore status publish retry delay to prevent MQTT server spam
2026-01-02 13:36:41 -08:00
agessaman
3feb2cd57b
Remove final conflict marker from CommonCLI.cpp
2026-01-02 13:36:41 -08:00
agessaman
ad68a29f37
Remove remaining conflict markers from CommonCLI.cpp
2026-01-02 13:36:41 -08:00
agessaman
cf3a9c3126
Remove conflict marker from CommonCLI.cpp
2026-01-02 13:36:41 -08:00
agessaman
453c4184c3
Add missing member variables for token expiration and reconnection tracking
2026-01-02 13:36:41 -08:00
agessaman
b04a1a1dc6
Fix remaining conflict marker and add missing RECONNECT_THROTTLE_MS constant
2026-01-02 13:36:41 -08:00