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
086175d80f
Merge upstream/dev (2 commits) [upstream-sync]
2026-11-27 17:05:12 +00: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
Scott Powell
0aad7bd6cc
* special case when min_deltas has LPP_GPS value
2026-11-25 12:10:35 +11:00
tth and Claude 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
tth and Claude 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
tth and Claude 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
tth and Claude 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
tth and Claude 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
tth and Claude 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
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
Valentin Metz
224658694f
Fix stack-buffer overflow in CLI reply buffers
...
The remote-CLI reply buffers in onPeerDataRecv() (repeater, room server,
sensor) and BaseChatMesh were sized temp[166] for a 5-byte datagram
header plus 161 bytes of reply. But MyMesh::handleCommand() first
reflects a 3-byte correlation prefix (e.g. 'aa|') into the reply, after
which CommonCLI commands may write up to 160 chars + NUL into the
remaining 158 bytes -- overflowing the buffer by 2 bytes (e.g. a full
'regions' listing via exportTo(reply, 160)).
Triggering this remotely crashes the node (observed as an unresponsive
repeater after a prefixed 'regions' query); the 2 out-of-bounds bytes
are a printable region-name character and a NUL.
Size the buffers for the full worst case instead:
5 header + 3 prefix + 160 reply + 1 NUL = 169.
Verified with a host ASan harness reproducing the exact layout:
prefixed 'regions' with a 25-region listing overflowed temp[166]
(BufStream::write, RegionMap.cpp) and now passes clean with temp[169];
unprefixed (serial) path unaffected.
2026-11-11 05:30:54 +01:00
Maxwell
25c1867bbd
Add min/max/avg history queries to repeaters
...
Move TimeSeriesData from simple_sensor into src/helpers and drive it with
monotonic uptime, so RTC changes cannot stall recording or break queries.
Keep the old RTCClock* overloads as deprecated for custom sensor sketches.
Record 24h of battery, noise floor, TX/RX airtime % and MCU temperature on
repeaters and answer the existing 0x04 min/max/avg request using the same
format as sensor nodes. No packets are sent by this feature.
REPEATER_HISTORY_SLOTS=0 removes it; default off on STM32/RP2040.
Add native tests for TimeSeriesData and document the request and channels.
2026-11-08 16:34:54 +02:00
tth and Claude Opus 5.5
1f71cf1525
radiolib: RADIO_DIAG -- radiostat/radiokick for a receiver that went deaf
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-31 19:51:11 +01:00
Scott Powell
3819a0bd89
* subscribe response now returns expiry_secs (not timestamp)
2026-09-15 17:17:48 +10:00
Scott Powell
bc8ccefafe
* fix for telemHasChanged()
2026-09-14 20:23:10 +10:00
Scott Powell
df82dc2339
* min_deltas now mandatory
2026-09-13 11:05:38 +10:00
Scott Powell
d69ae98b5a
* telemHasChanged() mod, so that only _specified_ min_delta values are considered.
2026-09-12 16:53:45 +10:00
Scott Powell
8660d1c973
* refactor: LPP helpers moved to LPPData class
2026-09-08 17:55:02 +10:00
Scott Powell
d71a54cd3d
* CLI: removed "sub" and "unsub" (cannot support via command line)
...
* _SUBSCRIBE: binary req/resp payload changes (now keeps supplied 'push_tag')
* Sensor: added MCU temperature support in telemetry
2026-09-07 13:56:47 +10:00
Scott Powell
62d0556a70
* added region load/save support
...
* SUBSCRIBE now with timeout param (default 30 mins, max ~18 hours)
2026-09-05 15:59:29 +10:00
Scott Powell
3a5a6b90ab
* sensor: CLI "sub" and "unsub" commands
2026-09-04 22:02:49 +10:00
Scott Powell
9bc6060831
* new: REQ_TYPE_SUBSCRIBE and REQ_TYPE_UNSUBSCRIBE
2026-09-04 15:13:17 +10:00
Scott Powell
b4e37044ed
* default and reply scopes now applied
2026-09-03 14:09:15 +10:00
Scott Powell
5a162ff4c6
* new DynamicConfigSerializer
...
* board/variant KeyValueStore now can write to 'custom' object in Json prefs
2026-08-24 17:12:56 +10:00
Scott Powell
47b0b7b3b8
* T096, and Station G3: refactoring the 'FEM' prefs to variant-specific code
...
* CommonCLI: 'FEM' commands removed
* introduced static no-op attachDynamicPrefs() for all boards
2026-08-24 01:50:22 +10:00
Scott Powell
2c0ace2519
* new TXT_TYPE_CLI_COMMAND (3)
2026-08-23 22:04:05 +10:00
agessaman
23066573e5
fix(station-g3): expose FEM gain preferences
2026-08-06 15:29:14 -07:00
Scott Powell
2af1e6d099
* first draft of new ConfigSerializer. (simple embedded JSON prefs)
2026-07-15 01:23:57 +10:00
Wessel Nieboer
7c8e092457
Have CAD be a separate toggle (set cad on/off)
2026-06-14 15:20:58 +02:00
Wessel Nieboer
4f9a091671
Use hardware channel activity detection for checking interference
2026-06-14 15:19:18 +02:00
Quency-D
12e6899580
Merge branch 'dev' into cli-lna-command
2026-05-09 18:19:31 +08:00
Scott Powell
0a8a0a4904
* Refactor: removed duplicated radio_rng_seed(), radio_set_params(), radio_set_tx_power()
2026-05-01 14:47:07 +10:00
Quency-D
ddedb3c7a7
Merge branch 'dev' into cli-lna-command
2026-04-25 15:28:07 +08:00
Scott Powell
4131a455a2
* repeater: refactored 'region' CLI commands -> CommonCLI
...
* room server: added RegionMap, and new CommonCLI wiring, default_scope handling
* sensor: only minimal RegionMap wiring. Still needs work to handle default-scope
2026-04-15 13:32:49 +10:00
Quency-D
8435464c84
Add v4 FEM LNA CLI control commands.
2026-03-24 10:48:15 +08:00
ripplebiz
cf0cc851d4
Merge pull request #1297 from ViezeVingertjes/feature/duty-cycle-token-bucket
...
Implement token bucket duty cycle enforcement
2026-03-08 23:54:32 +11:00
Scott Powell
a66773bac0
* CommonCLI: added "get/set path.hash.mode "
2026-02-23 14:25:19 +11:00
Scott Powell
3e76161e9c
* refactor of Contact/Client out_path_len (stored in files), from signed to unsigned byte (+2 squashed commits)
...
Squashed commits:
[f326e25] * misc
[fa5152e] * new 'path mode' parsing in Dispatcher
2026-02-21 19:35:51 +11:00
Wessel Nieboer
d0720c63c2
Allow negative tx power
...
Like SX1262 allows -9 dBm lowest, some allow lower but that probably
isn't useful
2026-02-06 02:24:51 +01:00
liamcottle
ed589f9620
boot adverts are now zero hop instead of flood
2026-01-26 22:20:36 +13:00
taco
96ef5e5efe
allow set prv.key from remote, validate new prv.key
2026-01-25 01:32:48 +11:00
taco
988287bfd7
recalc ClientACL shared_secrets at startup
2026-01-25 01:32:44 +11:00
taco
6336bd5b72
refactor ClientACL and CommonCLI, add ClientACL::clear()
2026-01-25 01:31:53 +11:00
ViezeVingertjes
eb4fa032ff
Implement token bucket duty cycle enforcement
2026-01-04 21:33:46 +01:00
ripplebiz
79a036f995
Merge pull request #1131 from wel97459/dev-uint
...
Changed uint used in flags to uint8_t
2025-11-25 21:51:36 +11:00
Scott Powell
0e903de72c
* BUG FIX: same remote login fix as repeater
2025-11-25 15:09:51 +11:00
taco
e13c064487
add board.setAdcMultiplier to room server and sensor
2025-11-21 21:46:55 +11:00
Winston Lowe
031fa1e704
Changed uint to a uint8_t
2025-11-20 21:58:42 -08:00