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>
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)
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>
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>
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
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
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
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>
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>
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>
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>
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.
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).
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>
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>
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>
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>
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>
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>