agessaman
ee4e39bcc0
feat(mqtt): add two new MQTT presets for chimesh and meshat.se
...
Updated the MQTT preset definitions to include new entries for chimesh and meshat.se, increasing the total number of built-in presets from 9 to 11.
2026-04-24 10:17:23 -07:00
agessaman
70722a5873
fix(mqtt): restore legacy outbox behavior for QoS0 async publishes
...
Update the PsychicMqttClient to ensure that QoS0 messages are enqueued with durable outbox storage. This change addresses issues with false-failure semantics in certain connected paths, improving message flow reliability. Additionally, modify platformio.ini to include SSL certificate generation and adjust build flags for reduced verbosity and enhanced functionality.
2026-04-23 22:48:21 -07:00
agessaman
bb67b04ef8
fix(mqtt): mark configuration as dirty on setter calls and optimize config application during connect and reconnect
...
Update the PsychicMqttClient to set a _config_dirty flag whenever a configuration setter is called. This ensures that the MQTT configuration is only applied when changes are made, optimizing the connect and reconnect processes. Added logging to indicate whether the configuration was updated or unchanged.
2026-04-23 21:50:44 -07:00
agessaman
7d0c5bce50
enhance(mqtt): improve QoS handling and retry logic in MQTTBridge
...
Refactor the MQTTBridge to implement enhanced QoS handling for publish operations. Introduce retry mechanisms for QoS0 packets, allowing for transient failures to be retried with a delay. Update publish methods to return success status, improving error handling and logging. Additionally, adjust the packet queue processing to accommodate new retry logic and ensure better message delivery control.
2026-04-23 21:06:49 -07:00
Adam Gessaman
9cfaaeba82
Change radio parameter format in documentation
...
Updated radio parameter format from space-separated to comma-separated in the MQTT implementation documentation.
2026-04-23 20:40:22 -07:00
agessaman
cfec3a5b58
refactor(mqtt): remove legacy CLI handling for mqtt.server, port, username, and password
...
Eliminate legacy support for mqtt.server, mqtt.port, mqtt.username, and mqtt.password in the CommonCLI. This streamlines the command handling process and aligns with the updated configuration management.
Made-with: Cursor
2026-04-21 21:49:21 -07:00
agessaman
ac2662c573
fix(mqtt): align legacy CLI with slot prefs and restore isConfigValid
...
Map mqtt.server/port/username/password to slot 3 (index 2) and analyzer
toggles to slot presets. Add MQTTBridge::isConfigValid matching bridge
startup rules.
Made-with: Cursor
2026-04-21 21:44:03 -07:00
agessaman
d6712c69c8
Merge mqtt-bridge-implementation into mqtt-bridge-implementation-flex
...
Integrate upstream/dev changes from merge 563d9a7 while preserving flex
MQTT memory and CLI behavior (slot commands, snmp, mqtt.rx/advert TX,
bridge.source sync, prefs layout, cert ignore rules).
Made-with: Cursor
2026-04-21 21:38:18 -07:00
Adam Gessaman
0ad7c33549
Merge pull request #4 from agessaman/fix/malloc-remove
...
Refactor PsychicMqttClient to improve memory management and callback …
2026-04-21 21:24:54 -07:00
agessaman
e9ff1ae055
Refactor PsychicMqttClient to improve memory management and callback handling. Replace dynamic memory allocations with fixed-size arrays for callbacks, enhancing performance and reducing fragmentation. Introduce inline storage for topics and optimize buffer allocation during connection setup. Update version to 0.2.2 to reflect changes.
2026-04-21 20:43:09 -07:00
agessaman
1ff9437f73
Enhance MQTTBridge with improved memory management and logging. Introduce deferred logging for connection attempts based on heap availability, and implement QoS support in publish methods for better message delivery control. Add mechanisms to handle low memory conditions, including a gray-zone detection for TLS viability and a post-recovery escalation strategy to ensure system stability.
2026-04-19 15:33:38 -07:00
agessaman
563d9a7d39
Merge upstream/dev into mqtt-bridge-implementation
...
Resolve conflicts: devcontainer Node feature; UITask USER_BTN + MQTT WiFi;
room server ctor with RegionMap + MQTTBridge; CommonCLI prefs layout
(rx_boosted_gain after owner_info), refactor get/set into handlers with
MQTT CLI branches and getBoard preserved.
Made-with: Cursor
2026-04-19 10:08:27 -07:00
Scott Powell
3751785400
* version 1.15.0
2026-04-19 11:27:55 +10:00
Scott Powell
49b37d5622
* minor bounds fix
2026-04-18 21:32:41 +10:00
ripplebiz
35b5548c0c
Merge pull request #2328 from recrof/xiao_c3-companion-fix
...
fix: remove sensors from xiao c3 companion because of bootloops
2026-04-18 20:44:15 +10:00
Liam Cottle
54a48da6b5
Merge pull request #2306 from petrkr/otaupdate2
...
SDK3.x: Fix OTA includes, bump Async version
2026-04-18 19:56:56 +12:00
Rastislav Vysoky
0899f66034
fix: remove sensors from xiao c3 companion because of bootloops
2026-04-18 09:42:27 +02:00
Liam Cottle
acdb41fcf9
Merge pull request #2103 from robekl/docs-radio-rxgain
...
docs: add radio.rxgain command reference
2026-04-18 19:05:43 +12:00
Liam Cottle
352fe5f4ae
Merge pull request #2315 from jirogit/fix/wireless-paper-companion-usb
...
feat: add USB Companion Radio env for Heltec Wireless Paper
2026-04-18 18:45:38 +12:00
liamcottle
cfe4b0b9a5
bleuart service stay registered first to prevent gatt cache issues on android when already paired
2026-04-18 14:43:47 +12:00
Liam Cottle
77d737beb9
Merge pull request #2323 from txkbaldlaw/updated-companion-dfu-from-mt
...
Add support for Companion BLE OTA updates on nRF devices
2026-04-18 12:17:16 +12:00
agessaman
0ed29cb7f2
Comment out MQTT debug configurations in platformio.ini for heltec_v4 variants to streamline the build environment.
2026-04-17 14:52:57 -07:00
agessaman
ab12170867
Update .gitignore to include script-generated certificate files and adjust MQTT preset for 'meshmapper' to reset the connection timeout value to 0.
2026-04-17 14:51:22 -07:00
agessaman
074ac3e709
Update MeshMapper preset. Remove script-generated certificate files: x509_crt_bundle.bin and cacert.pem
2026-04-17 14:51:15 -07:00
txkbaldlaw
96a16c238a
Additional Update to FAQs regarding Companion OTA
2026-04-17 16:17:12 -05:00
agessaman
f4a4fd7c80
Enhance MQTTBridge memory management by introducing critical heap monitoring and deferred TLS connection attempts based on available heap size. Implement a hard restart mechanism for prolonged low memory conditions to prevent fragmentation. Preserve backoff state during MQTT client recreation to improve recovery from connection failures.
...
Made-with: Cursor
2026-04-17 08:56:59 -07:00
txkbaldlaw
4f9764b1b4
Update FAQ to include Companion OTA DFU updates
2026-04-17 10:56:51 -05:00
Scott Powell
d7a3d41843
Merge branch 'default-scope' into dev
2026-04-17 16:30:19 +10:00
Scott Powell
91f3fa0bdf
* CLI: 'region put ...' now defaults to flood allowed
2026-04-17 15:11:10 +10:00
Scott Powell
7cdb056cb3
* CLI: 'region default ...' now auto-creates the region
2026-04-17 15:02:04 +10:00
Scott Powell
77d02e844f
* bug fix
2026-04-17 14:38:03 +10:00
Scott Powell
d3ba89c8bb
* doco: "region default"
2026-04-17 13:49:57 +10:00
txkbaldlaw
b898e7a04e
Add DFU to BLE Stack
2026-04-16 16:04:30 -05:00
agessaman
ab6685a1a7
Update MQTTBridge to optimize memory management by replacing dynamic JSON document allocations with inline StaticJsonDocument instances. Adjust authentication token handling to use inline buffers, reducing heap fragmentation. Modify PSRAM allocation logic for raw data and JSON buffers to enhance performance on PSRAM-enabled boards. Update related comments for clarity.
2026-04-16 07:56:45 -07:00
Scott Powell
df1e12de3e
* Repeater, room server: rule change for sendFloodReply()
2026-04-16 13:22:39 +10:00
jirogit
230c9af87b
feat: add USB Companion Radio env for Heltec Wireless Paper
2026-04-15 19:43:51 -07:00
Scott Powell
d2fdd6fad4
* companion: FIRMWARE_VER_CODE now bumped to 11
2026-04-15 20:47:17 +10:00
Scott Powell
576e9dfd45
* bug fix
2026-04-15 15:44:22 +10:00
agessaman
13fbcd9162
Update MQTT presets to include 'nashmesh' and adjust related documentation. Modify error messages in CommonCLI for improved clarity.
2026-04-14 21:19:19 -07:00
Scott Powell
4131a455a2
* repeater: refactored 'region' CLI commands -> CommonCLI
...
* room server: added RegionMap, and new CommonCLI wiring, default_scope handling
* sensor: only minimal RegionMap wiring. Still needs work to handle default-scope
2026-04-15 13:32:49 +10:00
agessaman
ff2df2b712
Refactor MQTTMessageBuilder to accept external JsonDocument parameters for status and packet messages, reducing stack usage and improving memory management. Update MQTTBridge to allocate and reuse DynamicJsonDocument instances for JSON serialization, enhancing performance and efficiency during publish operations.
2026-04-14 18:07:02 -07:00
agessaman
0c190dac50
Refactor MQTTBridge to eliminate raw data mutex usage, simplifying raw data handling. Introduce core-specific staging for raw radio data, ensuring thread safety without mutexes. Adjust MAX_QUEUE_SIZE for memory efficiency and update related comments for clarity.
2026-04-14 16:55:55 -07:00
agessaman
961f829321
Enhance radio watchdog functionality in Dispatcher to prevent false alarms in quiet mesh environments. Introduce a composite timestamp for radio activity, incorporating last RX, ISR events, and successful TX. Update related methods in Dispatcher and RadioLibWrapper to track radio activity accurately. This improves radio management and troubleshooting capabilities.
2026-04-14 16:16:49 -07:00
Petr Kracik
e6c6282d40
Variants: Enable ElegantOTA on ESP32-C6 devices
2026-04-14 15:40:31 +02:00
Petr Kracik
3a9e1086af
SDK3.x: Fix OTA includes, bump Async version
2026-04-14 15:28:11 +02:00
Scott Powell
569cfe177a
* repeater: default-scope support
2026-04-14 17:51:34 +10:00
Liam Cottle
9f680d1744
Merge pull request #2302 from recrof/patch-2
...
xiao nrf52 companion usb: Add OFFLINE_QUEUE_SIZE=256
2026-04-14 18:36:50 +12:00
Rastislav Vysoky
bd05eca9f5
Add OFFLINE_QUEUE_SIZE=256 for xiao nrf52 companion usb
2026-04-13 21:09:56 +02:00
Huw Duddy
49221fc159
Merge pull request #2298 from TheMalkavien/fix/waveshare-rp2040-rx-sensitivity
...
Fixes #2294 : RX path not enabled on Waveshare RP2040
2026-04-14 01:36:26 +10:00
Scott Powell
efdd2b6a6c
* companion: simplified the CMD_GET / CMD_SET _DEFAULT_FLOOD_SCOPE
2026-04-13 23:11:21 +10:00