Commit Graph
176 Commits
Author SHA1 Message Date
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
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
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 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 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 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 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
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
Scott Powell 8c73c948b4 * T096, and Station G3: refactoring the 'FEM' prefs to variant-specific code
* CommonCLI: 'FEM' commands removed
* introduced static no-op attachDynamicPrefs() for all boards
2026-08-24 01:50:22 +10:00
Scott Powell 644e68d0ff * new TXT_TYPE_CLI_COMMAND (3) 2026-08-23 22:04:05 +10:00
tthandClaude Opus 5 89f08f76b7 fix(mesh): sendZeroHop mazal šířku path hashe, uzel se hlásil jako 1bajtový
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-22 15:04:52 +02:00
tthandClaude Opus 5 48dea09a0c feat(repeater): report the TX-failure counters in the RF status reply
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-19 19:42:20 +02:00
Rastislav Vysoky d1a2a0c20b repeater: set loop.detect to minimal as default for new installs 2026-08-18 14:56:58 +02:00
tthandClaude Opus 5 f73da0492d Merge upstream v1.17.1 (origin/main)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-15 14:13:50 +02:00
ripplebiz f8832af086 Merge pull request #3106 from ViezeVingertjes/fix/scoped-reply-routing
Fix replies dropped when flood.max.unscoped is low
2026-08-13 15:00:37 +10:00
tthandClaude Opus 5 774676248b Merge upstream v1.17.0 (origin/main) into the analyzer/BLE fork
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-09 22:44:07 +02:00
Scott Powell 49319023e5 Merge branch 'dev'
# Conflicts:
#	docs/payloads.md
2026-08-09 14:36:53 -04:00
agessaman 2eb7feffe0 fix(station-g3): expose FEM gain preferences 2026-08-06 15:29:14 -07:00
ripplebiz 8bf182fb41 Merge pull request #3115 from oltaco/meshnology_w12
Add support for Meshnology W12 and LR2021 Wrapper
2026-08-05 15:04:00 +10:00
taco cb7b158931 LR2021: auto-LDRO for side detectors 2026-08-05 14:23:32 +10:00
taco 5687ba3f87 LR2021 multi-SF support (side detectors) 2026-08-05 14:23:32 +10:00
tthandClaude Opus 5 82cbe85864 feat(radio): DIO1-less operation + pin diagnostics, to salvage bench-board
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-04 21:32:58 +02:00
tthandClaude Opus 5 be074b3bda feat(repeater): channel bot in the analyzer build -- listens and answers without repeating
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-04 18:30:47 +02:00
tthandClaude Opus 5 8dc4448e89 feat(repeater): dfu [uf2|serial|ota] — deterministic reboot into the bootloader
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-04 12:53:20 +02:00
tthandClaude Opus 5 50b94bdb21 feat(repeater): blink on|off, txpwr with RadioLib's verdict; UF2 flash helper
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-04 12:45:28 +02:00
tthandClaude Opus 5 614f9f4941 feat(repeater): blink [n] — ask a board to identify itself
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-04 12:20:28 +02:00
ViezeVingertjes 4820f0916d Merge remote-tracking branch 'upstream/dev' into fix/scoped-reply-routing
# Conflicts:
#	examples/simple_repeater/MyMesh.cpp
2026-08-04 11:49:58 +02:00
ViezeVingertjes 34156ddb11 Fix replies dropped when flood.max.unscoped is low 2026-08-03 22:57:12 +02:00
tthandClaude Opus 5 c6467a2451 fix(tools/ble_dfu): require the target address; feat: ble_cli.py; feat: silent-by-default repeater
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-03 21:46:23 +02:00
tthandClaude Opus 5 a7674c6327 feat(mesh): default to 2-byte path hashes (PATH_HASH_MODE_DEFAULT)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-03 19:12:15 +02:00
Scott Powell c63f7d77f7 * bounds check added for anon_req reply_path_len 2026-08-04 01:00:31 +10:00
tthandClaude Fable 5 75b4434d61 fix(mesh/tx): requeue failed transmits with backoff instead of dropping
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 13:43:34 +02:00