agessaman
cc17c6b745
Merge remote-tracking branch 'origin/dev' into mqtt-bridge-implementation-flex
...
Resolve conflicts: keep MQTT prefs skip/pad and append rx_boosted_gain I/O
per dev layout; add devcontainer node feature from dev.
Made-with: Cursor
2026-03-28 08:37:42 -07:00
agessaman
3eacf56e36
Update MQTT presets to add 'meshomatic' and enhance error handling in MQTTBridge. Modify custom preset logic to disable slots with no server configured, and improve error logging for connection issues, ensuring clearer diagnostics during MQTT operations.
2026-03-27 15:20:54 -07:00
agessaman
47dd218275
Enhance MQTTBridge memory management by introducing a pre-allocated JSON publish buffer in PSRAM. This change reduces allocation overhead during publish operations and improves overall efficiency. Additionally, update teardown logic to free the new buffer and refine broker URI handling for custom slots, ensuring proper connection management.
2026-03-26 21:10:44 -07:00
agessaman
1b5884bd35
Add reconnect method to PsychicMqttClient for improved MQTT client management
...
This commit introduces a new `reconnect` method in the `PsychicMqttClient` class, allowing for re-establishing a connection to the MQTT broker without needing to disconnect first. The method checks if the client is initialized, updates the configuration if necessary, and attempts to reconnect, enhancing the overall connection management. Additionally, the MQTT slot management has been updated to support up to 6 configurable slots, improving flexibility in connection handling.
2026-03-25 21:39:51 -07:00
ripplebiz
517f2f1efd
Merge pull request #1961 from weebl2000/dutycycle-command
...
Add get/set dutycycle command
2026-03-26 11:54:41 +11:00
agessaman
af52a989c4
Enhance MQTTBridge connection handling for JWT authentication by implementing lightweight reconnect logic. This allows for token refresh without full teardown when tokens are still valid, improving efficiency. Full teardown is retained for expired or near-expiry tokens to ensure fresh TLS state and credentials. Update debug logging for clarity on reconnect attempts and token status.
2026-03-25 17:42:04 -07:00
fdlamotte
15b246924e
Merge pull request #2121 from archef2000/patch-1
...
Fix typo for ThinkNode M5 room server environment
2026-03-25 16:03:09 -04:00
Scott Powell
2325973fec
* Companion: applyGPSPrefs() now just in one place (moved out of UITask)
2026-03-25 16:26:51 +11:00
agessaman
e29c3d96bc
Refactor MQTTBridge connection handling for JWT authentication. Implement full teardown and setup for JWT slots to ensure fresh TLS state and credentials during reconnect attempts. Preserve circuit breaker and backoff states across teardown to enhance connection stability and reliability.
2026-03-24 20:35:37 -07:00
agessaman
2bbca20648
Refactor MQTTBridge logging to standardize slot output format. Update debug messages to include 'MQTT' prefix and slot numbering for improved clarity in logs. This change enhances readability and consistency across the MQTTBridge's logging functionality.
2026-03-24 18:55:30 -07:00
agessaman
eaf5fcbc9b
Update MQTT presets to include 'cascadiamesh' and enhance error messaging in CLI. Introduce keepalive configuration for MQTT presets and improve slot management in MQTTBridge for better token handling and connection stability.
2026-03-24 16:58:26 -07:00
Liam Cottle
8637a749f7
Merge pull request #2018 from got-root/fix/companion-radio-gps-persistence
...
fix(companion_radio): apply persisted GPS enabled setting on boot for ui-orig devices
2026-03-25 09:38:03 +13:00
Alejandro Ramirez
f8dbdce6bb
fix: apply persisted GPS enabled setting on boot for companion radio
...
The companion_radio example was not restoring the GPS enabled/disabled
preference from flash after reboot. The preference was being saved
correctly when toggled via the mobile app, but on boot,
sensors.begin() -> initBasicGPS() unconditionally sets gps_active=false
and nothing subsequently restored the persisted state.
Added applyGpsPrefs() (matching the pattern in simple_repeater,
simple_sensor, and simple_room_server) and call it from main.cpp
after sensors.begin() to ensure the GPS hardware is initialized
before the saved preference is applied.
2026-03-24 09:10:09 -05:00
agessaman
1c98d1c605
Update MQTTBridge to adjust minimum valid epoch time for NTP synchronization and enhance slot management. Implement logic to re-create JWT tokens for slots if time correction indicates stale tokens after NTP sync.
2026-03-24 05:54:38 -07:00
agessaman
4a60f16683
Refactor logging and error handling in MyMesh and MQTTBridge. Implement checks for Serial availability before printing logs to prevent potential blocking. Update MQTTBridge to include circuit breaker logic for managing reconnect attempts and enhance slot management with new state tracking. Expand MQTTPresetDef to include a new preset with configurable token lifetime and retain options.
2026-03-23 20:21:47 -07:00
Wessel Nieboer
37d1a75e7c
Merge branch 'dutycycle-command' of github.com:weebl2000/MeshCore into dutycycle-command
2026-03-24 03:08:54 +01:00
Wessel Nieboer
fb08fc0b1e
restore docs
2026-03-24 03:08:18 +01:00
Liam Cottle
bdf10506f2
Merge pull request #2134 from jeroenvermeulen/station-g2-default-radio-rxgain
...
Fix default radio.rxgain for Station G2
2026-03-24 14:11:08 +13:00
Jeroen Vermeulen
da689c8e91
Fix default radio.rxgain for Station G2
...
As @LitBomb pointed out in his [comment](https://github.com/meshcore-dev/MeshCore/issues/2118#issuecomment-4108168109 ) on #2118 RX Boosted Gain should not be enabled for the Station G2.
This change is a fix for #2124 to make the default of `radio.rxgain` to be OFF on the Station G2.
This restores the pre-1.14.1 behaviour with the only change being the user is now able to change the setting in the CLI.
2026-03-23 23:06:42 +01:00
Wessel Nieboer
728b586c3a
Address comments
2026-03-23 14:31:08 +01:00
Wessel Nieboer
741392889d
Fix memcp compare length off by one
...
Co-authored-by: ViezeVingertjes <michael.overhorst@gmail.com >
2026-03-23 14:31:08 +01:00
Wessel Nieboer
0aa0ec1f16
Add get/set dutycycle command
...
We translate to af internally, it's easier to store and doesn't break
stored prefs. Made get/set af command show deprecated, but it still
works fine.
2026-03-23 14:31:07 +01:00
ripplebiz
df01fd3efb
Merge pull request #2130 from liamcottle/refactor/channel-data
...
Adjustments to PR #1928 - Custom Group Data
2026-03-23 22:13:34 +11:00
liamcottle
1d61df72c3
add define for reserved group data type
2026-03-23 23:09:35 +13:00
liamcottle
c78f7133c9
reorder command args
2026-03-23 23:02:24 +13:00
liamcottle
ed326255d5
add support for direct paths when sending group data
2026-03-23 21:46:21 +13:00
Liam Cottle
91aed048e9
Merge pull request #1928 from dz0ny/feat/grp-data-upstream
...
feat: Add support for PAYLOAD_TYPE_GRP_DATA
2026-03-23 21:41:51 +13:00
Liam Cottle
7d49faa6f7
Merge pull request #2106 from jeroenvermeulen/document-radio.rxgain
...
Documented get/set radio.rxgain + discover.neighbors
2026-03-23 12:21:40 +13:00
Jeroen Vermeulen
54f6ac4929
Add discover.neighbors command documentation
2026-03-22 21:35:02 +01:00
Jeroen Vermeulen
46de7f46dd
Merge pull request #1 from meshcore-dev/dev
...
Update from Main repo's dev
2026-03-22 21:26:47 +01:00
Jeroen Vermeulen
f543ba22de
Update temporary note with a hyperlink to issue #2118
2026-03-22 21:19:06 +01:00
Jeroen Vermeulen
31a08e1de6
Update note for upgrade to version 1.14.1
...
Clarify note regarding upgrade from older version.
2026-03-22 21:18:14 +01:00
agessaman
95874f0c24
Enhance MQTT bridge implementation to support a new MeshRank preset, allowing for token-based authentication and custom topic templates. Update CLI commands for slot management, including new commands for setting tokens and topics. Improve documentation to reflect these changes and provide examples for configuring the new preset.
2026-03-22 11:06:37 -07:00
Liam Cottle
8009cf0d14
Merge pull request #2126 from recrof/allow-lower-freq
...
Allow to set lower LoRa frequency
2026-03-23 02:04:19 +13:00
Rastislav Vysoky
285fc685c5
allow to set lower LoRa frequency
2026-03-22 13:54:42 +01:00
Liam Cottle
1ccb054aeb
Merge pull request #2109 from jbrazio/2026/from-bun-to-node
...
Update devcontainer features to use Node instead of Bun
2026-03-23 01:13:16 +13:00
ripplebiz
d4ba66cc14
Merge pull request #2124 from weebl2000/fix-radio-rxgain-true-by-def
...
Make radio.rxgain true by default after upgrades
2026-03-22 19:46:11 +11:00
Wessel Nieboer
ff5aad71a6
Make radio.rxgain true by default after upgrades
2026-03-22 08:35:32 +01:00
Liam Cottle
127057e7bc
Merge pull request #2042 from whywilson/dev
...
Add GAT562 Mesh EVB Pro Repeater and Room Server
2026-03-22 13:57:30 +13:00
Konstantin
c7b8db55e6
Fix typo for ThinkNode M5 room server environment
2026-03-21 23:09:28 +01:00
agessaman
c67fb12b44
Refactor MQTT bridge implementation to use dynamic allocation for the MQTTBridge instance, preventing static initialization crashes on ESP32. Update related methods to check for bridge existence before invoking operations. Enhance documentation to clarify memory limits for active connection slots based on PSRAM availability.
2026-03-21 12:21:34 -07:00
agessaman
bf8a3a7a41
Refactor build script to improve project configuration handling and artifact management. Cache project config JSON for environment platform checks, streamline binary merging for ESP32, and ensure all generated artifacts are copied to the output folder. Enhance error handling during binary generation processes.
2026-03-21 08:20:41 -07:00
whywilson
b07ab2bc55
Remove useless define in GAT562_Mesh_EVB_Pro.
2026-03-21 20:45:29 +08:00
João Brázio
0ac33479d3
fix: update devcontainer features to use node instead of bun
2026-03-21 11:47:22 +00:00
agessaman
542f8a31ee
Enhance MQTTBridge to manage active connection slots based on available memory. Introduced psram_calloc for memory allocation with PSRAM support, limiting active slots to 3 with PSRAM and 2 without. Updated slot setup logic to prevent exceeding active slot limits during MQTT operations.
2026-03-20 22:50:39 -07:00
agessaman
b43e9618db
Refactor MQTT bridge implementation to support up to 3 configurable connection slots with built-in presets for LetsMesh Analyzer (US/EU) and MeshMapper. Update CLI commands for slot management and enhance configuration migration from legacy settings. Adjust related documentation and code structure for improved clarity and functionality.
2026-03-20 22:41:41 -07:00
agessaman
abe6e046fe
Merge branch 'upstream/dev' into mqtt-bridge-implementation
...
Reverted prior dev merge, then merged current meshcore-dev dev. Resolved
CommonCLI by restoring MQTT prefs flow with upstream com_prefs layout
(rx_boosted_gain at offset 79), rxgain CLI, poweroff/shutdown, and FEM
variant files from upstream.
Made-with: Cursor
2026-03-20 15:55:39 -07:00
Jeroen Vermeulen
7e6d8dde13
Update note about setting when upgrading
...
Clarified note regarding default setting for upgrades from older versions.
See https://github.com/meshcore-dev/MeshCore/pull/1653#issuecomment-4101341378
2026-03-20 23:54:48 +01:00
agessaman
22eb9b87a3
Revert "Merge remote-tracking branch 'origin/dev' into mqtt-bridge-implementation"
...
This reverts commit 2b63765522 , reversing
changes made to 304719e8e0 .
2026-03-20 15:54:14 -07:00
Jeroen Vermeulen
dbfc29b06a
Documented get/set radio.rxgain CLI command
...
Added documentation for RX Boosted Gain Mode commands.
2026-03-20 22:46:53 +01:00