Commit Graph
3828 Commits
Author SHA1 Message Date
razze 82bf0782f6 Show when the companion has no adverts or sensor readings
Skip empty slots when drawing recent adverts so the list starts at the top.
2026-11-23 03:35:31 +01:00
ripplebiz f6cbc11c85 Merge pull request #3903 from hamsolodev/fix/ack-flood-path-retry
Test a flood ACK's route before marking it, so the reciprocal path retry runs 🤖🤖
2026-11-22 22:20:12 +11:00
Liam Cottle 274dd72c10 Merge pull request #3348 from KPrivitt/dev
Documentation change to clarify radio settings and individual country requirements.
2026-11-23 00:01:57 +13:00
ripplebiz 621b001760 Merge pull request #3895 from Blake-Latchford/docs/companion-buzzer-cli
Document the companion buzzer CLI command
2026-11-22 16:12:08 +11: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
ripplebiz 0d72bcd44c Merge pull request #3892 from meshcore-dev/repeater-telem-push
Repeater telemetry push
2026-11-22 10:23:36 +11:00
Blake Latchford a5d6db4f62 Document the companion buzzer CLI command
get/set buzzer was added to the companion CLI in #3603 but not to
docs/companion_cli.md.
2026-11-21 12:38:41 -05:00
Scott Powell e3c54039fe * copied sensor telemetry push 2026-11-21 20:59:42 +11: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
ripplebiz 66a01a227f Merge pull request #3881 from meshcore-dev/ui-task-refactor
UI task refactor
2026-11-20 11:17:26 +11:00
Scott Powell 19728e43a5 * removed various copied 'dirty' members 2026-11-20 11:07:37 +11:00
Scott Powell 6ec03df241 * unit test fix 2026-11-20 11:02:45 +11:00
fdlamotte 6e47ba6fa6 Merge pull request #3776 from Blake-Latchford/docs/stats-core-error-flags
docs: describe stats-core output and its error flags
2026-11-19 12:42:00 -04:00
Scott Powell ad701588d7 * final fix 2026-11-19 18:32:36 +11:00
Scott Powell dad7186c5b * more fixes 2026-11-19 18:19:26 +11:00
Scott Powell 54a88a307a * misc fixes 2026-11-19 17:56:59 +11:00
Scott Powell 6c45b94783 * 2nd round of .ini refactors 2026-11-19 17:18:54 +11:00
Scott Powell ce02d5a787 * lotsa super boring refactoring 2026-11-19 15:22:23 +11:00
Scott Powell 98f9e81681 * thinknode_m5: simplified the target.* modules 2026-11-19 12:05:14 +11:00
Scott Powell 69b335d700 Merge commit 'b72fd0dd5e784e6f903380b05287de0652f49819' into ui-task-refactor 2026-11-19 11:54:54 +11: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
fdlamotte b72fd0dd5e ui-task: apply refactoring on thinknode_m5 (#3869) 2026-11-18 11:40:11 -04:00
Scott Powell 26ae484af8 * interface manager now injected via begin() 2026-11-18 23:31:08 +11: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
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
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
ripplebiz 2b35435aae Merge pull request #3849 from liamcottle/fix/cc310-mutex-lock
Fix CC310 Mutex Lock
2026-11-15 18:09:10 +11:00
Liam Cottle 04afba03ba Merge pull request #3754 from netrunnereve/bluetooth-name
Allow the user to set a custom bluetooth name using the cli
2026-11-15 20:01:46 +13:00
liamcottle 6cba768181 workaround for CC310 where mutex can still be locked after a failed verification 2026-11-15 18:22:21 +13: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
fdlamotte 0153ad1b6f Merge pull request #3845 from Ve2mrx/fix/gps-sync-before-settle
gps: don't let the settle time close a periodic window before the time sync
2026-11-14 21:13:58 -04:00
fdlamotte 21efb56ae7 Merge pull request #3846 from meshcore-dev/reapply-3726
Fix USB serial issue on Xiao ESP32-S3 Wio (#1416) (#3726)
2026-11-14 21:11:41 -04:00
Cyclic3 fe520673ae Fix USB serial issue on Xiao ESP32-S3 Wio (#1416) (#3726)
* Initial attempt at fixing serial issue on Xiao ESP32-S3 Wio (#1416)

* restrict Xiao ESP32-S3 WIO fix to just that board
2026-11-14 21:06: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
Eve 7416193a76 change prefix as well 2026-11-14 15:17:32 -05:00
Florent 63e0bb2a36 gps: support time sync on rak i2c gps 2026-11-14 15:03:01 -04: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
Eve de721bcb4b use ble.name 2026-11-13 20:35:32 -05: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 415bd01e4e Merge pull request #3821 from AlexandrTyshchenko/feature/gps-guard-3d-fix
GPS: keep the GPS on for a 3D fix, prefer a recent 3D fix over a 2D one
2026-11-13 14:48:56 -04:00
fdlamotte 60e7d1f868 Merge branch 'dev' into feature/gps-guard-3d-fix 2026-11-13 14:48:02 -04:00
fdlamotte 05a2beb229 Merge pull request #3823 from AlexandrTyshchenko/fix/gps-first-fix-timeout
Limit the first periodic GPS acquisition after boot
2026-11-13 14:47:17 -04: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
Eve 9e70d32f79 add cli option to set custom bluetooth name 2026-11-12 11:09:43 -05:00
Olexandr Tyshchenko be9d278a96 Limit the first periodic GPS acquisition after boot
Before the first fix since boot, a periodic acquisition had no timeout. If no
fix is accepted (no sky view, no antenna, or a guard rejecting spoofed fixes),
the receiver then stayed on until a fix was accepted.

Give that window its own limit, GPS_FIRST_FIX_TIMEOUT_MS (15 min by default,
enough for a full almanac; 0 keeps the old behaviour). It counts as a miss and
the next acquisition starts after the configured period.
2026-11-12 10:48:10 +02:00
Quency-D 7762588e58 Fix RC52 unused SPI1 MISO pin mapping
Use pin index 0, which maps to NRFX_SPIM_PIN_NOT_USED, to avoid the nRF52 SPI constructor indexing g_ADigitalPinMap[255]. Remove the absent MISO shutdown reset so the sentinel cannot reset physical P0.00. Follows the variant-side fixes in #3188 and #3189.

Validated heltec_rc52_repeater and heltec_rc52_companion_radio_ble builds. ELF disassembly confirms the MISO lookup uses map[0]=0xFF instead of the +1020-byte read and shutdown has no P0.00 reset. No hardware testing performed.
2026-11-12 15:54:21 +08:00
Quency-D bf0ccfe2eb Fix RC52 companion radio builds 2026-11-12 14:20:08 +08:00
Quency-D 6ff32a57da Merge pull request #20 from meshcore-dev/dev
merge Dev
2026-11-12 14:03:11 +08:00