Commit Graph
1471 Commits
Author SHA1 Message Date
tthandClaude Opus 5.5 be46cfa5fb Repeater (SenseCAP Solar): battery thresholds settable at runtime, and a cutoff that switches a running node off before the cell runs flat
pub-release / release (push) Successful in 34m55s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:22:24 +01:00
upstream-sync-bot 8e6ee952bf Merge upstream/dev (9 commits) [upstream-sync]
pub-release / release (push) Successful in 37m3s
2026-11-22 17:05:35 +00:00
mch 713802a714 BaseChatMesh: test an ACK's route before marking it do-not-retransmit
onAckRecv called markDoNotRetransmit(), which sets the header to 0xFF,
before testing isRouteFlood(). 0xFF's route bits read as
ROUTE_TYPE_TRANSPORT_DIRECT, so the test was always false and
handleReturnPathRetry never ran for a flood ACK: the reciprocal path
was never re-sent to a node that was still flooding. Mark the packet
after the test instead.
2026-11-22 15:47:06 +11:00
tthandClaude Opus 5.5 9652199464 Merge upstream/dev (16 commits): UITask moved to src/helpers/ui
pub-release / release (push) Successful in 37m52s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:39:13 +01:00
fdlamotte cbb830b2b3 Merge pull request #3882 from meshcore-dev/common-prefs-fix
* removed various copied 'dirty' members
2026-11-19 20:25:58 -04:00
Scott Powell 19728e43a5 * removed various copied 'dirty' members 2026-11-20 11:07:37 +11:00
tthandClaude Opus 5.5 b30cda7936 Repeater, room server, sensor (nRF52): get chip tells the silicon and whether SWD can read the flash
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 20:42:59 +01:00
tthandClaude Opus 5.5 b7249f449a Repeater, room server, sensor, companion: build flag LOCKED_NODE for a node that keeps its secrets from whoever holds it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:21:29 +01:00
tthandClaude Opus 5.5 769139999d Companion: the private key and the BLE PIN are again refused over USB, UART and WiFi -- only paired BLE gets them
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:09:12 +01:00
tthandClaude Opus 5.5 dcf10d1c86 Repeater, room server, sensor: a long unknown get no longer overruns the reply buffer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 15:56:28 +01:00
Scott Powell 1ad8ca230a * UITask constructors now with same params, so don't have to have separate target-* modules/dirs 2026-11-19 11:54:24 +11:00
Scott Powell 26ae484af8 * interface manager now injected via begin() 2026-11-18 23:31:08 +11:00
tthandClaude Opus 5.5 dbdae14566 Repeater, room server, sensor: passwords can no longer be guessed over the air at full speed, and a replayed login no longer floods a reply
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 13:03:59 +01:00
tthandClaude Opus 5.5 de92ca9ba2 Repeater, room server, sensor: guests no longer cause a flash write per request
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 12:57:53 +01:00
Scott Powell d05ed2122c * companion UI's moved/refactored to src/helpers/ui
* only select variants .ini config refactored so far (Heltec V3, MeshTracker V1, LilyGo T-Echo Card)
2026-11-18 22:00:04 +11:00
tthandClaude Opus 5.5 1171d8f972 ClientACL: the replay floor survives a reboot -- a captured admin command no longer works after every boot
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 10:18:04 +01:00
Scott Powell 0b38bfd81a * refactored UITask from repeater/room/sensor to /helpers/ui/server
* added BaseUITask for common behaviours
* ui_task now instantiated in one of the variant's target-*.cpp modules
2026-11-18 18:18:06 +11:00
upstream-sync-bot 7216a50ec3 Merge upstream/dev (2 commits) [upstream-sync]
pub-release / release (push) Successful in 40m30s
2026-11-16 17:06:14 +00:00
fdlamotte f8476f94f2 Merge pull request #3843 from fdlamotte/raki2cgps_time_sync
gps: support time sync on rak i2c gps
2026-11-16 12:30:17 -04:00
upstream-sync-bot 8c11154a3a Merge upstream/dev (6 commits) [upstream-sync]
pub-release / release (push) Successful in 36m41s
2026-11-15 17:06:10 +00:00
liamcottle 6cba768181 workaround for CC310 where mutex can still be locked after a failed verification 2026-11-15 18:22:21 +13:00
upstream-sync-bot 391ddfcef2 Merge upstream/dev (6 commits) [upstream-sync]
pub-release / release (push) Successful in 39m9s
2026-11-15 05:06:07 +00:00
fdlamotte df445548ad Merge pull request #3844 from Ve2mrx/fix/rak-gps-firstfix-diag
rak4631: forward the first-fix limit and gps diag to the serial GPS
2026-11-14 21:15:23 -04:00
Martin BoissonneaultandClaude Opus 5.5 d1c71522b8 gps: don't let the settle time close a periodic window before the time sync
In periodic mode a window closed after GPS_FIX_SETTLE_MS (10 s) from the
first fix even if the clock sync was still pending. The sync needs about
4 s of continuous valid fixes (time_valid > 2, reset on any pass without
a fix), so after a hot start, when the receiver reports a fix within
seconds but not yet steadily, the window could close unsynced. On a
board without an RTC the clock then stays at its default until the next
window, a whole period later.

Close the window only once the sync has been tried (done, not needed, or
refused by GPS_GUARD); the settle time and the satellite count apply
after that. The acquisition timeout still bounds the window.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 18:23:54 -05:00
Martin BoissonneaultandClaude Opus 5.5 3a3f69fb5d rak4631: forward the first-fix limit and gps diag to the serial GPS
RakLocationProvider wraps a MicroNMEALocationProvider but did not override
setFirstFixTimeout(), getFirstFixTimeout() or formatDiagnostics(), so on
RAK4631 boards with a serial GPS:
- `gps firstfix` always answered "0 (no limit)" (the LocationProvider
  default), while the limit in force was the build default (1 h);
- `gps firstfix <n>` saved the value but never applied it, at once or at boot;
- `gps diag` gave the short base form, without the UART/NMEA counters or fm:.

Forward all three to the NMEA provider. The RAK12500 (I2C) path has no
first-fix limit, so it keeps reporting 0 and the short diagnostics.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 17:42:51 -05:00
Florent 63e0bb2a36 gps: support time sync on rak i2c gps 2026-11-14 15:03:01 -04:00
upstream-sync-bot cc0598b1a4 Merge upstream/dev (1 commits) [upstream-sync]
pub-release / release (push) Successful in 36m36s
2026-11-14 17:06:11 +00:00
Marcel Verdult 166863f690 rak: keep WB_IO2 driven HIGH after a failed RAK12500 probe (#3834)
The I2C probe left WB_IO2 as an input when no RAK12500 answered. WB_IO2
switches the 3V3_S slot rail, which also powers a serial GPS. On base
boards that pull this line low, the serial GPS lost power right after
detection and never got a fix (#3830). Before 81afafcb the pin stayed
HIGH, so keep it driven HIGH again. WB_IO4 and WB_IO5 still go back to
inputs.
2026-11-14 08:13:08 -04:00
tthandClaude Opus 5.5 d9c7b9c008 Repeater: TX stall watchdog -- packets queued, nothing sent for 15 min: re-arm, then reboot
pub-release / release (push) Successful in 39m1s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 11:02:58 +01:00
tth 2e8aea5c44 Merge remote-tracking branch 'rfa/main' 2026-11-14 10:42:44 +01:00
tthandClaude Opus 5.5 5970edc99c NmeaGpsDriver: close the UART while gps duty keeps the GPS off (nRF52)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 10:42:33 +01:00
upstream-sync-bot fbefa417b9 Merge upstream/dev (16 commits) [upstream-sync]
pub-release / release (push) Successful in 37m31s
2026-11-14 05:06:06 +00:00
Liam Cottle 0c760a65ac Merge pull request #3032 from Quency-D/heltec-rc52
Add heltec rc52
2026-11-14 10:43:40 +13:00
fdlamotte 60e7d1f868 Merge branch 'dev' into feature/gps-guard-3d-fix 2026-11-13 14:48:02 -04:00
tthandClaude Opus 5.5 d22005a6fd OTA phase 5: tools and docs ready for the public export
pub-release / release (push) Successful in 32m57s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 18:07:39 +01:00
tthandClaude Opus 5.5 0b38eab008 FwUpdate phase 1: only in FW_OTA images, manifest layout 2, no downgrade over the mesh
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 16:33:29 +01:00
tthandClaude Opus 5.5 81d7f600d8 Merge main into ota-admin: tools split, WITH_RX_POWERSAVING
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 16:12:20 +01:00
tthandClaude Opus 5.5 9165590d13 FwUpdate: over the mesh only deltas, a full image only over USB / BLE
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 15:25:53 +01:00
tthandClaude Opus 5.5 73c1a7beb2 NodeMaintenance, build_version.py: back to the original formatting
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 14:30:19 +01:00
tthandClaude Opus 5.5 46d33bd2b0 FwUpdate: chunk offset overflow, no heavy work in handlers, crc 0 refused
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 14:30:19 +01:00
Olexandr Tyshchenko fb210a8441 GPS: accept a 2D fix, but keep the GPS on for a 3D fix
Per review: a 2D fix is valid, only less precise, and in some places a
receiver never gets a 3D fix. So the guard no longer rejects it; instead
the fix mode decides when the GPS may sleep:

- the fix mode is read from GSA for every NMEA receiver, not only with
  GPS_GUARD (`fm:` in `gps diag`), and stored with the last fix;
- in periodic mode, and for `gps once`, the GPS sleeps only after a 3D
  fix (or a fix from a receiver that does not report the mode); after a
  2D fix it stays on up to the acquisition timeout;
- a 2D fix does not replace a 3D fix younger than 5 min
  (GPS_3D_FIX_PREFERRED_MS).
2026-11-13 14:30:24 +02:00
Olexandr Tyshchenko 407cb9abac GPS: first fix timeout as a saved setting (gps firstfix), 1 h by default
A cold start can take up to ~30 min with a weak sky view, so the default
limit before the first fix since boot goes from 15 min to 1 h.

The limit is now a GPS preference, set with `gps firstfix <duration>`
(0 = no limit, at most 1 day) and saved with the other GPS settings, so
repeaters and companions can use different values without a rebuild.
GPS_FIRST_FIX_TIMEOUT_MS stays as the build default.
2026-11-13 14:29:02 +02:00
tth a029863d66 FwUpdate binary: the chunk crc covers sid, offset and length too 2026-11-13 02:11:00 +01:00
tth 227edb9c63 FwUpdate: transfer counters in the ready status too 2026-11-13 02:05:31 +01:00
tth b8ce87c6ff FwUpdate binary: crc16 per chunk; a mangled chunk is dropped and asked for again 2026-11-13 02:03:16 +01:00
tth 0c06994d1f FwUpdate: diagnosis counters in 'failed' status (binary/dropped/text chunks, last manifest writer) 2026-11-13 01:57:56 +01:00
tth b4d2601c8f FwUpdate: transfer session id; binary chunks of another session are dropped 2026-11-13 01:49:55 +01:00
tth 3a7140fd51 FwUpdate: wrong base error names both sha prefixes 2026-11-13 01:33:28 +01:00
tth 232c2bb791 FwUpdate: fw bin -- the binary mesh protocol over the USB console (bench) 2026-11-13 01:30:14 +01:00
tth dc13c5b286 FwUpdate: check the manifest from a RAM copy; flag a flash readback mismatch 2026-11-13 01:26:10 +01:00