458 Commits
Author SHA1 Message Date
upstream-sync-bot 95be305143 Merge upstream/dev (2 commits) [upstream-sync]
pub-release / release (push) Successful in 32m59s
2026-11-22 05:05:36 +00:00
Scott Powell e3c54039fe * copied sensor telemetry push 2026-11-21 20:59:42 +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
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
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
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
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
tth 4813340a69 FwUpdate binary: cap the missing-units reply at 150 B (companion frame limit); ota_mesh_push --text 2026-11-13 01:06:06 +01:00
tth 637b0d78b7 FwUpdate: binary firmware chunks over the mesh (REQ_TYPE_FW_OTA 0xF0) 2026-11-13 00:55:06 +01:00
tthandClaude Opus 5.5 b06fd957b9 radio: RX duty cycle (RXPS) from EasySkyMesh PowerSaving v18, opt-in
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 14:57:16 +01:00
tthandClaude Opus 5.5 507842cea2 sensors: INA shunt set at runtime -- sensor set ina.shunt <mOhm>, kept in prefs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 13:58:39 +01:00
tthandClaude Opus 5.5 8d0b0dd164 Merge upstream/dev (80 commits) [upstream-sync]
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 09:22:19 +01:00
Florent cefd4c76cf Revert "Merge pull request #3784 from Maxwell456/feature/repeater-history"
This reverts commit 66d404eac8, reversing
changes made to 1c4b237d73.
2026-11-11 07:49:41 -04:00
Valentin Metz f02d9d9e47 Fix stack-buffer overflow in CLI reply buffers
The remote-CLI reply buffers in onPeerDataRecv() (repeater, room server,
sensor) and BaseChatMesh were sized temp[166] for a 5-byte datagram
header plus 161 bytes of reply. But MyMesh::handleCommand() first
reflects a 3-byte correlation prefix (e.g. 'aa|') into the reply, after
which CommonCLI commands may write up to 160 chars + NUL into the
remaining 158 bytes -- overflowing the buffer by 2 bytes (e.g. a full
'regions' listing via exportTo(reply, 160)).

Triggering this remotely crashes the node (observed as an unresponsive
repeater after a prefixed 'regions' query); the 2 out-of-bounds bytes
are a printable region-name character and a NUL.

Size the buffers for the full worst case instead:
5 header + 3 prefix + 160 reply + 1 NUL = 169.

Verified with a host ASan harness reproducing the exact layout:
prefixed 'regions' with a 25-region listing overflowed temp[166]
(BufStream::write, RegionMap.cpp) and now passes clean with temp[169];
unprefixed (serial) path unaffected.
2026-11-11 05:30:54 +01:00
fdlamotte 66d404eac8 Merge pull request #3784 from Maxwell456/feature/repeater-history
Add min/max/avg history queries to repeaters
2026-11-10 12:42:53 -04:00
Maxwell 64f75005b5 Add min/max/avg history queries to repeaters
Move TimeSeriesData from simple_sensor into src/helpers and drive it with
monotonic uptime, so RTC changes cannot stall recording or break queries.
Keep the old RTCClock* overloads as deprecated for custom sensor sketches.

Record 24h of battery, noise floor, TX/RX airtime % and MCU temperature on
repeaters and answer the existing 0x04 min/max/avg request using the same
format as sensor nodes. No packets are sent by this feature.
REPEATER_HISTORY_SLOTS=0 removes it; default off on STM32/RP2040.

Add native tests for TimeSeriesData and document the request and channels.
2026-11-08 16:34:54 +02:00
Florent dea38936d7 gps: move the gps CLI to GpsPrefs and convert all targets 2026-11-08 08:47:34 -04:00
Florent 81afafcb35 gps: add GpsDriver, handle the hardware and software switches in the drivers 2026-11-08 08:47:34 -04:00
tthandClaude Opus 5.5 0243af712e simple_repeater: channel bot caps itself at 10 replies per 5 min
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:29:31 +01:00
tthandClaude Opus 5.5 2ced8502a0 simple_repeater: dfu, radio silence watchdog and boot diagnostics from NodeMaintenance
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 00:38:43 +01:00
tthandClaude Opus 5.5 278c1b8c8a simple_repeater: radio silence watchdog -- re-arm RX, then reboot a deaf receiver (#6)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 20:03:01 +01:00
tthandClaude Opus 5.5 c1eaa6f98b simple_repeater: ble pin <6 digits> -- own BLE PIN, saved; public builds refuse ble on without it
pub-release / release (push) Successful in 23m33s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 01:37:38 +01:00
tthandClaude Opus 5.5 94a5526b66 simple_repeater: RPT_BLE_DEFAULT_OFF -- BLE console starts off, ble on is saved
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 23:15:52 +01:00
tthandClaude Opus 5.5 f0c48e2b46 simple_repeater: RADIO_DIAG on the masts (radiostat/radiokick)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 19:41:29 +01:00
tthandClaude Opus 5.5 548b96d15c simple_repeater: filter hash throttle + opt-in message age limit (tth #3)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 17:40:09 +01:00
tthandClaude Opus 5.5 88ef08c6d5 public builds: Czech mesh defaults (meshcore.cz wiki)
pub-release / release (push) Successful in 20m57s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 14:15:14 +01:00
tthandClaude Opus 5.5 910bee899a simple_repeater: per-origin advert window + fairness dry-run (tth #2, #1)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 09:40:20 +01:00
tth 790cf23466 Merge remote-tracking branch 'origin/dev' 2026-10-28 20:29:38 +01:00
Blake LatchfordandClaude Opus 5.5 8e0e5b8110 Saturate duplicate packet stats instead of wrapping
Tested on a Heltec V4 repeater with the counter seeded at 65530.

Fixes #3255

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 21:45:10 -04:00
tthandClaude Opus 5.5 1a582db63d nrf52: hardfault recorder v aplikaci a v .noinit (#5)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 22:59:02 +02:00
tthandClaude Opus 5.5 8b55e36f95 nrf52: hodiny přežijí warm reset v .noinit (#5)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 22:17:40 +02:00
upstream-sync-bot 04a6bb3318 Merge upstream/main (20 commits) [upstream-sync] 2026-10-15 11:56:47 +00:00
Scott Powell a4f1601df3 * version 1.18.0 2026-10-15 19:42:01 +11:00
tthandClaude Opus 5.5 da15d8e685 simple_repeater: filter hash -- runtime deny-forward podle hashe kanálu
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 20:34:19 +02:00
tthandClaude Opus 5.5 4a2d84c7a8 blepwr: explicitní hodnota se ukládá vždy, blepwr default ji zapomene
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 23:54:44 +02:00
tthandClaude Opus 5.5 c35be853c7 blepwr/fairness: opravy z review-three
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 23:46:40 +02:00
tthandClaude Opus 5.5 04db619dc7 repeater/ble: blepwr se ukládá a přežije reboot
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 23:39:44 +02:00
tthandClaude Opus 5.5 f14517029c Merge remote-tracking branch 'origin/dev'
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 16:28:45 +02:00
Scott Powell 48aae4072d * don't respond to DISCOVER requests if node has adverts turned off. (isHiddenNode()) 2026-10-04 15:02:00 +11:00
tthandClaude Opus 5.5 107b37b5f4 Merge remote-tracking branch 'origin/dev' into main
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 18:35:35 +02:00
Wolfram Keil ba345d486c Add board loop hook for periodic work 2026-09-22 08:01:48 +02:00
Kevin Le 39ba9ddb15 Off LED before powering off for repeater 2026-09-19 11:26:42 +07:00
tthandClaude Fable 5 37598793a0 fix(repeater): drobnosti z review antispamu (žádný high/med, jen LOW)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-06 00:07:52 +02:00
tthandClaude Fable 5 33af8ecc05 feat(repeater): fairness grid viditelnost + runtime cap/refill tuning
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-05 23:39:04 +02:00
tthandClaude Fable 5 6f90c80dcc feat(repeater): antispam — FairnessLimiter (port #1502) + kanálový deny list
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-05 21:35:36 +02:00
João Brázio dbb2aeee00 Ensure command buffers stay NUL-terminated to prevent overflow
The serial command buffers must stay NUL-terminated within their
bounds: if they ever aren't, strlen() can return >= sizeof(command)
and the read loop would index past the buffer. Additionally, a full
buffer now becomes a completed line (end-of-line marker placed
inside the buffer, NUL terminator kept) instead of overwriting the
terminator and silently corrupting the buffer for the next pass.

Applies to the serial CLI readers of the repeater, room server,
sensor and secure chat examples, and to the CLI rescue reader of
the companion example.
2026-09-04 20:01:39 +01:00
tthandClaude Opus 5 bd60aa4322 Merge remote-tracking branch 'origin/dev' into main
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-02 02:19:04 +02:00
Scott Powell 5a7bc507d1 * new DynamicConfigSerializer
* board/variant KeyValueStore now can write to 'custom' object in Json prefs
2026-08-24 17:12:56 +10:00