Commit Graph
1541 Commits
Author SHA1 Message Date
tth a2a2b67ee3 Merge feat/stats-bundle-env into main 2026-12-04 04:05:18 +01:00
tthandClaude Opus 5.5 2a5c596250 Repeater: the stats request also carries the node's sensors (humidity, pressure, external temperature, ...)
Changelog-cs: Repeater: požadavek na statistiky teď vrací i senzory uzlu (vlhkost, tlak, externí teplotu, ...)
Changelog-topic: stats-bundle
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 03:52:50 +01:00
upstream-sync-bot 17a03ac646 Merge upstream/dev (2 commits) [upstream-sync]
tth-docs / site (push) Successful in 21s
pub-release / release (push) Successful in 24m36s
2026-12-04 01:08:17 +00:00
tth 97f52e71b8 Merge feat/reproducible-fast-build into main 2026-12-04 01:41:52 +01:00
tth e440eb1a6b Repeater, room server, sensor, companion: the same commit builds into the same firmware, byte for byte
Changelog: Repeater, room server, sensor, companion: the same commit builds into the same firmware, byte for byte (anyone can check a release against the source)
Changelog-cs: Repeater, room server, sensor, companion: ze stejného commitu vznikne bajtově stejný firmware (vydání se dá ověřit proti zdrojákům)
2026-12-04 01:18:20 +01:00
tthandClaude Opus 5.5 b7129f1df1 Repeater: the config checksum of the stats request covers regions
Changelog-cs: Repeater: kontrolní součet konfigurace v požadavku na statistiky teď pokrývá i regiony
Changelog-topic: stats-bundle
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 00:09:53 +01:00
tthandClaude Opus 5.5 86351f2d41 Repeater: one request returns status, telemetry, filter counters and config checksums
Changelog-cs: Repeater: jeden požadavek vrátí stav, telemetrii, čítače filtrů a kontrolní součty konfigurace
Changelog-topic: stats-bundle
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 00:09:53 +01:00
tth e49c76999c Merge feat/adaptive-powersave-47 into main 2026-12-04 00:09:53 +01:00
tth 5e691d1f64 Merge fix/rxps-stall-46 into main 2026-12-04 00:09:53 +01:00
tth 6b7fcbe889 Merge feat/tickless into main 2026-12-04 00:09:53 +01:00
tth 130a961003 Repeater, room server, sensor: add adaptive battery-voltage power saving (rxgain, rxps)
Changelog-cs: Repeater, room server, sensor: přidáno adaptivní úsporné řízení rádia podle napětí baterie (set pwr.rxgain, set pwr.rxps) s hysterezí a ochranou proti USB/glitchům
2026-12-04 00:09:28 +01:00
tth 9daead0089 Repeater, room server, sensor, companion: a node with the RX duty cycle on no longer stops transmitting
Changelog: Repeater, room server, sensor, companion: a node with the RX duty cycle (`radio.rxps`) on no longer stops transmitting, `set radio.rxps off` takes effect at once, and a node silent for weeks keeps sending
Changelog-cs: Repeater, room server, sensor, companion: uzel se zapnutým RX duty cycle (`radio.rxps`) už nepřestane vysílat, `set radio.rxps off` platí hned a uzel, který týdny mlčel, dál vysílá
Changelog-topic: rxps-stall-46
2026-12-04 00:09:28 +01:00
tth 63823f526b Repeater, room server, sensor: set radio.rxps off takes effect at once, and reception restarts after the noise-floor calibration
Changelog-cs: Repeater, room server, sensor: `set radio.rxps off` platí hned a příjem se po kalibraci šumu znovu nastartuje
Changelog-topic: rxps-stall-46
2026-12-04 00:09:19 +01:00
tthandClaude Opus 5.5 ae8d5057da Repeater: filter flow holds 24 rules and an r rule can match one requester on any destination
Changelog: Repeater: `filter flow` holds 24 rules (was 16), and an `r` rule with a 3-byte key (source + first hop) blocks one requester on any destination
Changelog-cs: Repeater: `filter flow` pojme 24 pravidel (bylo 16) a pravidlo `r` s 3bajtovým klíčem (zdroj + první hop) zablokuje jednoho tazatele pro libovolný cíl
Changelog-topic: filter-flow
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 23:16:43 +01:00
tthandClaude Opus 5.5 4feeb765c0 Repeater, room server, sensor (nRF52): the main loop sleeps tickless instead of waking ~1000 times a second
Changelog-cs: Repeater, room server, sensor (nRF52): hlavní smyčka spí bez pravidelného tiku místo ~1000 probuzení za sekundu
Changelog-topic: tickless
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 22:14:36 +01:00
tthandClaude Sonnet 5.5 5fe599c5b6 Repeater: filter flow -- one table of forward-deny rules (channel, dest/src, login, advert, relay) with throttle, expiry and a rules CRC
Changelog: Repeater: new `filter flow` forward-deny rules (channel, dest/src, login flood, advert, relay in path) with throttle, expiry and a rules CRC; `filter hash` and `filter path` remain as aliases
Changelog-cs: Repeater: nová pravidla `filter flow` pro blokaci přeposílání (kanál, cíl/zdroj, login flood, advert, repeater v cestě) s throttle, expirací a CRC pravidel; `filter hash` a `filter path` zůstávají jako aliasy
Changelog-topic: filter-flow
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-03 21:52:50 +01:00
tthandClaude Opus 5.5 6850d2e8ad Repeater: filter path add <hex> stops forwarding floods that came through a given relay
Changelog-cs: Repeater: `filter path add <hex>` přestane přeposílat floody, které prošly daným repeaterem
Changelog-topic: filter-path
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 20:28:14 +01:00
fdlamotte 25f9f38e98 Merge pull request #3938 from jbrazio/feat/nrf52-gdfu-ota-direct
Update repeaters from the bottom of the hill
2026-12-03 15:14:38 -04:00
tthandClaude Opus 5.5 8f0f6859d3 Repeater, room server, sensor, companion: BMP388 / BMP390 pressure sensor supported
pub-release / release (push) Failing after 6s
tth-docs / site (push) Successful in 17s
Changelog-cs: Repeater, room server, senzor, companion: podpora tlakového čidla BMP388 / BMP390
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 16:55:26 +01:00
tthandClaude Opus 5.5 36c6632aaa Repeater, room server, sensor, companion: an SHTC3 sleeps from boot, not only after its first read
Changelog-cs: Repeater, room server, senzor, companion: čidlo SHTC3 spí od startu, ne až po prvním čtení
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 16:12:40 +01:00
tthandClaude Opus 5.5 7e911aa17d Merge upstream/dev (3 commits) [upstream-sync]
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 11:50:55 +01:00
agessaman 0b1713f8dc Track shared-password logins in RAM, tighten eviction and passwords
Mark guest and read-only logins with a RAM-only flag instead of an ACL
permission bit, so saved permission bytes keep their meaning. Inserts
evict unsaved entries before saved ones. Sensors refuse GPS movement
deltas from shared-password subscribers and give promoted admins the
default alert flags. The admin, guest and read-only passwords must all
differ, and set ro.password with no value clears it.
2026-12-02 08:14:05 -08:00
agessaman 50b7dd7301 Add a read-only password for repeaters and sensors
ro.password grants the read-only role at login. These logins are never
saved, cannot evict saved ACL entries, and on a sensor get no location.
Sensors also honor guest.password now (blank disables guest login).
2026-12-02 07:42:24 -08:00
upstream-sync-bot ad63c6b90a Merge upstream/dev (11 commits) [upstream-sync] 2026-12-02 05:05:09 +00:00
ripplebiz f74879e829 Merge pull request #3803 from Quency-D/MeshPocket_V2
Add MeshPocket V2 board and power-bank UI support
2026-12-02 12:16:53 +11:00
tth c418c737cd Merge upstream/dev (9 commits) [upstream-sync] 2026-12-02 00:55:34 +01:00
tth 9802093d38 tests: cover CLI prefix stripping, set-pin gate, paged reply bounds, and ACL write failures
Changelog: -
2026-12-02 00:36:05 +01:00
tth aa7b181944 Repeater, room server, sensor: fix CLI reply buffer overflow, OTA bounds checks, and ACL slot rotation 2026-12-02 00:12:33 +01:00
fdlamotte 74f996b5fd Merge pull request #3972 from MarkRose/fix/gps-date-range-checks
GpsGuard: range-check the GPS date and time for both NMEA and RAK12500 🤖🤖
2026-12-01 11:17:12 -04:00
fdlamotte e4e4145d0e Merge pull request #3966 from cryptomaxsun/feat/ui-compact-clock-date
Companion UI: add compact 128x64 clock/date layout, RTC guard, and e-ink minute refresh
2026-12-01 11:11:24 -04:00
tthandClaude Opus 5.5 ca5e99418b Bench: opt-in nRF52 instrument for MCU awake time and CPU time per received packet
Changelog: -
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 12:30:27 +01:00
tthandClaude Opus 5.5 d5cbb5ef00 Merge upstream/dev (1 commit: sec patch) [upstream-sync]
Changelog: Repeater, room server, sensor: an admin's CLI reply captured over the air can no longer be sent back to the node as a command (upstream security fix)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 11:53:23 +01:00
Liam Cottle 779d916c23 Merge pull request #3914 from razzeee/feature/m1-empty-lists
Show when the companion has no adverts or sensor readings
2026-11-30 14:07:51 +13:00
cryptomaxsun ff234f9f05 ui: drop redundant e-ink refresh special case (handled by display CRC) 2026-11-29 19:57:34 +02:00
Scott Powell e4f89eb919 * sec patch 2026-11-29 16:06:00 +11:00
upstream-sync-bot 8eea3e536c Merge upstream/dev (2 commits) [upstream-sync] 2026-11-29 05:05:08 +00:00
ripplebiz 9430da4fe5 Merge pull request #3936 from meshcore-dev/sensor-gps-movement
Sensor GPS telemetry push
2026-11-29 10:51:44 +11:00
Mark RoseandClaude Opus 5.5 5879802660 RAK12500 GPS: range-check the module's date, wait for the first NAV-PVT
getTimestamp() called the SparkFun library's getUnixEpoch(), which
indexes its day tables with the module's year and month unchecked. Use
GpsGuard::epochFromFields() instead, which returns 0 (already treated as
"no time" by RakLocationProvider) for an implausible date.

hasFix() returned the library's fix flag before any NAV-PVT had
arrived. The library doesn't clear that record, so until the first
reply the flag, position and date were whatever was on the heap. Wait
for the first NAV-PVT.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 16:12:35 -06:00
Mark RoseandClaude Opus 5.5 267a4bc9d2 GpsGuard: convert the receiver's date and time with range checks
MicroNMEA turns any two characters of a checksum-valid GGA/RMC time or
date field into a number, so month, day, hour, minute and second can
each be 0..255. getTimestamp() passed them to RTClib's DateTime, whose
date2days() walks its 11-entry days-per-month table up to the given
month: a read of up to 243 bytes past it. The result was then written
to the RTC. GpsGuard only sees the epoch afterwards, and only when
GPS_GUARD is enabled.

Add GpsGuard::epochFromFields(), which returns 0 for a date or time out
of range (year 2020..2099, the day checked against the month). It is
static and available with or without GPS_GUARD. The NMEA provider uses
it for its timestamp, and doesn't sync the clock, report a clock offset
or apply GPS time when the fields are out of range.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 16:12:35 -06:00
upstream-sync-bot 1c5adf7edb Merge upstream/dev (3 commits) [upstream-sync] 2026-11-28 05:05:09 +00:00
Liam Cottle e7ba1fb4b4 Merge pull request #3945 from MarkRose/fix/contact-name-nul
Terminate contact names received from the companion app 🤖🤖
2026-11-28 10:29:02 +13:00
upstream-sync-bot 086175d80f Merge upstream/dev (2 commits) [upstream-sync] 2026-11-27 17:05:12 +00:00
tthandClaude Opus 5.5 f3eae0582c Repeater, room server, sensor, companion: set commands refuse out-of-range or non-numeric values instead of saving them
Changelog: Repeater, room server, sensor, companion: `set tx`, `set radio`, `set freq` and other number settings now refuse a value that is out of range or not a number, instead of saving it and answering OK.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 17:33:42 +01:00
Mark RoseandClaude Opus 5.5 f803de2b12 Bound the contact name copy into the UI recent list
addToRecents() in the new and tiny companion UIs strcpy()s the contact
name into a 32-byte field. Names are terminated on receipt now, but use
a bounded copy here as well, like the other name copies in the UIs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 00:23:50 -06:00
cryptomaxsun ca146d09df ui: add compact 128x64 clock/date layout, RTC sync guard, and e-ink minute refresh 2026-11-26 21:45:47 +02:00
Pablo Ramón Guevara d6045b5732 fix bug where a login from a new identity silently removes an admin 2026-11-26 18:33:12 +01:00
tth 35c1a05378 Merge pull request 'Repeater, room server, sensor, companion: nRF52 no longer stays at +2.6 mA after boot (CC310 IRQ), plus sleep/peripheral fixes' (#28) from feat/powersave-audit into main 2026-11-26 17:46:00 +01:00
tthandClaude Opus 5.5 5c586e6ce4 Docs: nRF52 sleep fixes measured — CC310 IRQ is the 2.6 mA one, DC/DC and nfcal below resolution
Changelog: -
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 11:35:35 +01:00
Mark RoseandClaude Opus 5.5 e296494d31 Terminate contact names received from the app
updateContactFromFrame() copies 32 name bytes from the companion frame
without terminating them, so an app (or a corrupt frame) can store a name
with no NUL. The UI then passes it to sprintf() into fixed-size origin
buffers. Terminate the name on receipt and use snprintf() in both UIs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 00:02:20 -06:00
upstream-sync-bot 421cbbd52a Merge upstream/dev (8 commits) [upstream-sync] 2026-11-25 17:05:40 +00:00