Changelog-cs: Všechny nRF52 obrazy: čas uzlu už neposkočí o 4,5 h dopředu (oprava obsluhy tiku v Adafruit core; uptime, airtime i hodiny skákaly o 16 384 s)
Changelog: All nRF52 images: the node's time no longer jumps 4.5 h ahead (tick handler fix in the Adafruit core; uptime, airtime and the clock jumped 16384 s)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Changelog: All nRF52 images build on platform nordicnrf52 11.1.0; the masts move to it from 10.12.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Changelog: All nRF52 images build on a pinned platform (nordicnrf52 10.12.0, as the masts and the bench) and exact library versions from platformio.lock, so a build no longer depends on the day it ran
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
Wrap the JOYSTICK_* pin defines in variants/wio-tracker-l1/variant.h
in #ifndef guards so builds can remap them with -D flags, e.g. for
enclosures that mount the display rotated 90 degrees relative to the
joystick. No change to default behavior.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XZSU585Bf7KxVsYxYZyfun
Changelog: SenseCAP Solar (repeater, room server, companion): the battery voltage reads correctly again; since the previous release it read 0.1-0.15 V high, so the low-voltage cutoff would have let the cell run lower.
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>