Commit Graph
1229 Commits
Author SHA1 Message Date
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
ripplebiz 7df3b9826f Merge pull request #4014 from agessaman/feat/ro-password
Add a read-only password for repeaters and sensors
2026-12-03 12:20:49 +11:00
upstream-sync-bot e73ed273ed Merge upstream/dev (6 commits) [upstream-sync] 2026-12-02 17:05:10 +00: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
fdlamotte c608202561 Merge pull request #3974 from MarkRose/fix/sensor-io-command
Sensor CLI: make 'io' match the whole word and check its argument 🤖🤖
2026-12-02 11:40:44 -04: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
tth 41c7697e6d Companion: block leading-space and prefix bypasses of "set pin" over USB and locked CLI rescue 2026-12-02 00:12:26 +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
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
upstream-sync-bot 1c5adf7edb Merge upstream/dev (3 commits) [upstream-sync] 2026-11-28 05:05:09 +00:00
Mark RoseandClaude Mythos 5.2 c39d68ddb3 Sensor CLI: 'io' must match the whole word and parse its argument
memcmp(command, "io ", 2) accepted every command starting with "io",
and a write whose argument had no hex digits passed an uninitialised
value to board.setGpio().

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
2026-11-27 15:55:44 -06: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
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
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
Scott Powell 0aad7bd6cc * special case when min_deltas has LPP_GPS value 2026-11-25 12:10:35 +11:00
upstream-sync-bot f189855457 Merge upstream/dev (2 commits) [upstream-sync] 2026-11-22 05:05:36 +00:00
Scott Powell 7df63ae26e * copied sensor telemetry push 2026-11-21 20:59:42 +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
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
tthandClaude Opus 5.5 3204e3733e Companion: the private key and the BLE PIN are again refused over USB, UART and WiFi -- only paired BLE gets them
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 17:09:12 +01:00
Scott Powell 363b391866 * interface manager now injected via begin() 2026-11-18 23:31:08 +11:00
tthandClaude Opus 5.5 0d16dd541c Repeater, room server, sensor: passwords can no longer be guessed over the air at full speed, and a replayed login no longer floods a reply
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 13:03:59 +01:00
tthandClaude Opus 5.5 4dbffda57b Repeater, room server, sensor: guests no longer cause a flash write per request
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 12:57:53 +01:00
Scott Powell 7b8ac81527 * companion UI's moved/refactored to src/helpers/ui
* only select variants .ini config refactored so far (Heltec V3, MeshTracker V1, LilyGo T-Echo Card)
2026-11-18 22:00:04 +11:00
tthandClaude Opus 5.5 ea2d4a0bfa ClientACL: the replay floor survives a reboot -- a captured admin command no longer works after every boot
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 10:18:04 +01:00
Scott Powell 0e164ae46c * refactored UITask from repeater/room/sensor to /helpers/ui/server
* added BaseUITask for common behaviours
* ui_task now instantiated in one of the variant's target-*.cpp modules
2026-11-18 18:18:06 +11:00
upstream-sync-bot 76b7c5713b Merge upstream/dev (6 commits) [upstream-sync] 2026-11-15 17:06:10 +00:00
Liam Cottle b6a9b5d877 Merge pull request #3754 from netrunnereve/bluetooth-name
Allow the user to set a custom bluetooth name using the cli
2026-11-15 20:01:46 +13:00
Eve 0dbf8f62c3 change prefix as well 2026-11-14 15:17:32 -05:00
tthandClaude Opus 5.5 b866b95ccb Repeater: TX stall watchdog -- packets queued, nothing sent for 15 min: re-arm, then reboot
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 11:02:58 +01:00
upstream-sync-bot f2b927d205 Merge upstream/dev (16 commits) [upstream-sync] 2026-11-14 05:06:06 +00:00
Eve 2a53a81e82 use ble.name 2026-11-13 20:35:32 -05:00
tthandClaude Opus 5.5 54e21e3da1 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
Olexandr Tyshchenko 069b9fdaf8 GPS: first fix timeout as a saved setting (gps firstfix), 1 h by default
A cold start can take up to ~30 min with a weak sky view, so the default
limit before the first fix since boot goes from 15 min to 1 h.

The limit is now a GPS preference, set with `gps firstfix <duration>`
(0 = no limit, at most 1 day) and saved with the other GPS settings, so
repeaters and companions can use different values without a rebuild.
GPS_FIRST_FIX_TIMEOUT_MS stays as the build default.
2026-11-13 14:29:02 +02:00
tth 514ee38dd5 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 5ac3d61825 FwUpdate: binary firmware chunks over the mesh (REQ_TYPE_FW_OTA 0xF0) 2026-11-13 00:55:06 +01:00
Eve 4c7a134e15 add cli option to set custom bluetooth name 2026-11-12 11:09:43 -05:00
tthandClaude Opus 5.5 27e6a5d6fd 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 2ba62d779e 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 5f8d3a4c9e 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
liamcottle e3c1c34828 fix for mdns string not compiling due to ambiguous overload 2026-11-12 16:08:30 +13:00
fdlamotte d1d802717a Merge pull request #3811 from fdlamotte/mdns_using_char
companion_radio: rewrite mdns part removing String class
2026-11-11 07:58:59 -04:00
Florent 74f1f5a156 Revert "Merge pull request #3784 from Maxwell456/feature/repeater-history"
This reverts commit f678f6ac15, reversing
changes made to b8ae75d258.
2026-11-11 07:49:41 -04:00
Florent 85bba10742 companion_radio: rewrite mdns part removing String class 2026-11-11 07:37:24 -04:00