Commit Graph
2495 Commits
Author SHA1 Message Date
mikecarper ea5920506f refactor: share Morse and CLI encoding to preserve full firmware headroom 2026-10-20 16:52:48 -07:00
mikecarper 099c5a851a fix: keep adaptive Morse receive within the full RAK image limit 2026-10-20 16:39:18 -07:00
mikecarper 0323967b52 refactor: share Morse threshold hysteresis without extra code 2026-10-20 16:36:50 -07:00
mikecarper f1b1763dea fix: retain learned quiet peaks in automatic Morse receive 2026-10-20 16:33:41 -07:00
mikecarper 7081673bb1 fix: finish acknowledged HWCDC writes without a TX event 2026-10-20 16:30:01 -07:00
mikecarper 805dd2cbdf fix: keep feature-complete release builds within flash limits 2026-10-20 11:19:27 -07:00
mikecarper d5a6df6283 Detect SSD1306 and SH1106 screens on RAK boards
Use repeated status reads at screen initialization and preserve SSD1306 for ambiguous responses. Share the existing framebuffer, drawing, rotation and power handling; use SH1106 page transfers when detected.

Enable this for RAK4631 and RAK3401, including WisMesh Pocket v2/v3. Add controller overrides, protocol tests and CI coverage. Addresses meshcore-dev/MeshCore#3296.
2026-10-20 09:43:25 -07:00
mikecarperandR0ck f57dffa2be Add saved Companion sound and vibration controls
Default fresh settings to sound off and vibration on, and keep existing saved choices. Apply changes immediately across all three UIs and make custom notification patterns respect the same mute controls.

Keep the Wio Mini Companion within its existing flash boundary by storing its LED switch in a reserved preference byte and shortening CLI help without removing commands. Add coverage for live output changes, persistence, and storage failures.

Adapted from https://github.com/meshcore-dev/MeshCore/pull/3603.

Co-authored-by: R0ck <develop@hectospark.co.uk>
2026-10-20 09:33:43 -07:00
9d52b1fd68 Add saved LED controls across supported boards
Add get leds and set leds on|off for Companion, repeater, room server and
sensor builds. Preserve the setting across reboots and cover GPIO, RGB,
Bluetooth, notification and expander indicators without changing radio
amplifier controls or screen backlights.

RAK Companions blink while advertising and keep the Bluetooth LED off once
connected, including late timer callbacks.

Adapted from meshcore-dev/MeshCore#3605 and #2694.
Validated with host regressions and firmware builds for SenseCAP Solar,
RAK4631, T096, Heltec V4, T-Beam, Xiao S3, Pico W and Wio E5 Mini.

Co-authored-by: R0ck <develop@hectospark.co.uk>
Co-authored-by: Nick Dunklee <nick@dunklee.org>
2026-10-20 08:59:39 -07:00
mikecarper 0fc7f377aa fix(t1000): give USB data priority over Bluetooth 2026-10-20 07:52:37 -07:00
mikecarper 8dcf98bd21 Reuse radio profile state within CLI operations 2026-10-19 21:28:49 -07:00
mikecarper 1fd993ecf5 Share radio profile validation and simplify bounded airtime arithmetic 2026-10-19 21:20:57 -07:00
mikecarper 44ba5b4f18 Default radio profile crossover to off 2026-10-19 21:14:53 -07:00
mikecarper 59e2b5bfe4 Expose live nRF52 advertiser and SoftDevice state in opt-in trace 2026-10-19 20:38:12 -07:00
mikecarper e0442880e1 Keep Full RAK Companion within flash using integer airtime blocks 2026-10-19 20:36:16 -07:00
mikecarper 8e35f477c0 Repair failed profile retunes before receiving packets 2026-10-19 18:54:14 -07:00
mikecarper 8038715ffe Extend nRF52 radio profile timing across RTC wraps 2026-10-19 18:53:33 -07:00
mikecarper ca67494f8c Correct chip-specific radio profile validation and airtime
Retain supported LR2021 bandwidths and reject frequency gaps. Enable LR1121 high-band bandwidth selection and account for its forced LDRO in profile and beacon airtime.

Cover all eight chip families with production-method regression tests.
2026-10-19 18:49:15 -07:00
mikecarper 25299a77b3 Invalidate LR1110 profile cache on packet changes
Revoke fast-RX ownership before CRC, header and IQ setters, including failed writes. Cover normal RX rebuilds and unchanged defaults with production-method tests.
2026-10-19 18:43:11 -07:00
mikecarper 71bd84f3a0 Speed up authenticated modern NimBLE Companion transfers 2026-10-19 14:27:04 -07:00
mikecarper 90ae9cfc14 Keep restored empty contact paths in the zero value 2026-10-19 13:59:48 -07:00
mikecarper 016a69ea10 Trace public nRF52 advertising payloads for discovery diagnosis 2026-10-19 13:47:38 -07:00
mikecarper 042d5b7f0d Expose actual BLE identity in nRF52 trace diagnostics 2026-10-19 13:33:02 -07:00
mikecarper 61dc5ca3f1 Wake XIAO QSPI flash and preserve access after failed resets 2026-10-19 13:25:04 -07:00
mikecarper 85a786e796 Wait for nRF52 BLE client data before sending queued frames 2026-10-19 13:12:54 -07:00
mikecarper 55a77115fb Route nRF52 framework diagnostics through USB logging policy 2026-10-19 12:12:17 -07:00
mikecarper d34d84460b Warn on radio2 spectral overlap and suggest a clear center 2026-10-19 10:44:39 -07:00
mikecarper a3f858f6f0 Fit V3 Full with NimBLE and bounded OTA source proofs 2026-10-19 02:47:13 -07:00
mikecarper 025eadb39f Keep compact contacts within the STM32 flash boundary 2026-10-19 02:11:47 -07:00
mikecarper 036661e7e4 Reduce contact RAM across boards and compact Full firmware 2026-10-19 01:55:25 -07:00
mikecarper f7b5c40c3b Fit RAK4631 Full OTA image by reusing regulator recovery code 2026-10-18 23:48:07 -07:00
mikecarper e8d1e537e4 Record T-Deck radio2 hardware timing and regression coverage
Add receive-only same-image display, SPI, modem/IQ-cache and scoped-priority experiments with checkpointed collectors. Keep rejected clock-phase correction and elevated-priority experiments out of production.

Publish sanitized timing data, Full Companion/Bluetooth/USB checks and redraw measurements with their limits. Wire the new behavioral checks into CI.
2026-10-18 23:20:50 -07:00
mikecarper a782cc8413 Speed up T-Deck radio2 retunes with guarded command reuse
Reuse the confirmed LoRa modem only inside acknowledged warm continuous-RX hops and revoke that capability before modem initialization or after failures.

Opt the tested T-Deck into IQ workaround reuse and an exact 8,888,888 Hz SPI setting. Keep the existing BUSY, packet-ownership and recovery checks; other boards retain their modem-cache default.
2026-10-18 23:20:50 -07:00
mikecarper a944b1779d Keep T-Deck radio2 scanning active during screen redraws
Render into a PSRAM canvas and release the shared SPI bus between bounded TFT strips. Service only the radio driver at cooperative checkpoints and use the buffered radio HAL, preserving packet and transmit guards.

Cover pixel parity, transaction boundaries, allocation failure, partial updates and sleep/wake behavior with native tests.
2026-10-18 23:18:55 -07:00
mikecarper 71372f686f Defer regulator ADC and flash work during Morse timing 2026-10-18 22:38:54 -07:00
mikecarper a886f618f1 Omit unsupported regulator vtable slots on integrated STM32WL 2026-10-18 22:00:03 -07:00
mikecarper 758004373d Keep unsupported STM32 controls out of tiny Companion images 2026-10-18 21:54:35 -07:00
mikecarper 0da54991cc Avoid unreachable regulator persistence on integrated STM32WL targets 2026-10-18 21:36:04 -07:00
mikecarper c604a1a165 Pack unchanged Reader text more tightly for Full firmware 2026-10-18 21:26:44 -07:00
mikecarper c2998ae8d9 Preserve regulator recovery through planned resets and storage failures 2026-10-18 21:17:44 -07:00
mikecarper c4a1d485ff Add saved regulator modes and battery-gated crash recovery 2026-10-18 21:10:58 -07:00
mikecarper 9c78ccde57 Unify optional hardware variants and add runtime R8 TFT rotation 2026-10-18 20:25:13 -07:00
mikecarper 4f746d1e3b Detect manufacturer-supported optional screens on RC32, Tracker V1 and V4 R8 2026-10-18 18:55:38 -07:00
mikecarper 1ce3f0cdd7 Make T114 screen detection the default firmware and picker choice 2026-10-18 16:20:27 -07:00
mikecarper 22ab02caf7 Fix G3 gain transitions, slot commands and radio restore 2026-10-18 14:29:19 -07:00
mikecarper 5d741318f5 Preserve admin password input and clarify reconnect guidance 2026-10-18 13:45:13 -07:00
mikecarper cd02e55824 Share the saved admin password across ESP32 management services
Use the committed node credential for setup WiFi, WebConfig and browser OTA. Add persistent ESP32 WiFi Companion management credentials without changing preferences layouts, revoke stale browser sessions on rotation, retain scoped save receipts, and coordinate credential changes with flash uploads. Keep external-service credentials and trusted TCP protocol compatibility independent. Update live join QR codes, failure handling and documentation.

Validated 51 native cases, 158 related host and browser methods, and serial Full V4 Companion, Station G3 Repeater, ESP32-C6 Room Server and V4 Sensor firmware builds.
2026-10-18 13:09:48 -07:00
mikecarper 59b0ab93d0 Keep fractional timezones within constrained flash budgets
Deduplicate validation and preserve the published preference bytes and transactional saves. Correct Ikoka Handheld Companion flash bounds and document QSPI Room migration. Qualify STM32 and RAK4631 at the full 1.18.0.1 release version length.
2026-10-18 08:46:20 -07:00
mikecarper 7088096abf Merge upstream dev through 428a95c64
Integrate fractional Companion timezones and conditional Bluetooth pages while preserving the existing preference byte layout, transactional saves, and Full transport selector. Add migration, rollback, invalid-value, and UI profile regressions.
2026-10-18 08:30:50 -07:00
mikecarper 48bad8ddfb Reduce room board recovery stack use under sustained reads 2026-10-18 00:00:47 -07:00