Commit Graph
1517 Commits
Author SHA1 Message Date
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
fdlamotte b346674132 Merge pull request #3912 from razzeee/fix/companion-gps-no-fix
Hide coordinates until GPS has a fix
2026-11-25 09:01:48 -04:00
upstream-sync-bot 34ba29f778 Merge upstream/dev (7 commits) [upstream-sync] 2026-11-25 05:05:34 +00:00
ripplebiz addcdc203f Merge pull request #3931 from quyenlt298/feature/ui-button-lock
ui: lock joystick with a Menu double-click
2026-11-25 15:59:14 +11:00
quyenlt298 d48040a115 ui: keep the button lock in UITask only, not in prefs 2026-11-25 11:29:01 +07:00
Scott Powell a7c2e3f7ef * Companion-new UI: MsgPreviewScreen was showing incorrect hop count 2026-11-25 14:24:30 +11:00
Scott Powell 0aad7bd6cc * special case when min_deltas has LPP_GPS value 2026-11-25 12:10:35 +11:00
tth 2ff8d96422 Repeater, room server, sensor, companion: disable unused I2C on nRF52 and calibrate noise floor every 10 s 2026-11-24 19:47:03 +01:00
tth 1cf1bbf6e8 Repeater, room server, sensor, companion: disconnect GPS UART pins when GPS is powered off on nRF52 2026-11-24 19:44:05 +01:00
tth d74a2124af Repeater, room server, sensor, companion: fix nRF52 sleep wake-up loop and keep DC/DC enabled after BLE init 2026-11-24 19:38:41 +01:00
quyenlt298 b6f587499b ui: Menu triple-click still toggles the buzzer while locked 2026-11-24 22:41:34 +07:00
quyenlt298 919345bef1 ui: lock joystick with a Menu double-click 2026-11-24 22:18:12 +07:00
tthandClaude Opus 5.5 b8c5f6372d Repeater (SenseCAP Solar): battery thresholds settable at runtime, and a cutoff that switches a running node off before the cell runs flat
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:22:24 +01:00
razze 47d122ad82 Show when the companion has no adverts or sensor readings
Skip empty slots when drawing recent adverts so the list starts at the top.
2026-11-23 03:35:31 +01:00
razze 716f0ed72b Hide coordinates until GPS has a fix 2026-11-23 03:31:10 +01:00
upstream-sync-bot 2722c75865 Merge upstream/dev (9 commits) [upstream-sync] 2026-11-22 17:05:35 +00:00
mch d27a8bc1a6 BaseChatMesh: test an ACK's route before marking it do-not-retransmit
onAckRecv called markDoNotRetransmit(), which sets the header to 0xFF,
before testing isRouteFlood(). 0xFF's route bits read as
ROUTE_TYPE_TRANSPORT_DIRECT, so the test was always false and
handleReturnPathRetry never ran for a flood ACK: the reciprocal path
was never re-sent to a node that was still flooding. Mark the packet
after the test instead.
2026-11-22 15:47:06 +11:00
tthandClaude Opus 5.5 76109b168f Merge upstream/dev (16 commits): UITask moved to src/helpers/ui
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:39:13 +01:00
Quency-D 97b1c33609 Move MeshPocket V2 role UIs into the board variant 2026-11-20 15:16:59 +08:00
Quency-D 7f9597fe44 Merge upstream dev and adapt MeshPocket V2 to role UI entry points 2026-11-20 15:12:59 +08:00
fdlamotte 88bbae299b Merge pull request #3882 from meshcore-dev/common-prefs-fix
* removed various copied 'dirty' members
2026-11-19 20:25:58 -04:00
Scott Powell 34811a4ce5 * removed various copied 'dirty' members 2026-11-20 11:07:37 +11:00
tthandClaude Opus 5.5 8ee7f6a283 Repeater, room server, sensor (nRF52): get chip tells the silicon and whether SWD can read the flash
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 20:42:59 +01:00
tthandClaude Opus 5.5 9e49a31657 Repeater, room server, sensor, companion: build flag LOCKED_NODE for a node that keeps its secrets from whoever holds it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:21:29 +01:00