Commit Graph
34 Commits
Author SHA1 Message Date
tthandClaude Opus 5.5 548b96d15c simple_repeater: filter hash throttle + opt-in message age limit (tth #3)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 17:40:09 +01:00
tthandClaude Opus 5.5 910bee899a simple_repeater: per-origin advert window + fairness dry-run (tth #2, #1)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 09:40:20 +01:00
upstream-sync-bot 54b18df118 Merge upstream/dev (3 commits) [upstream-sync] 2026-10-29 05:06:05 +00:00
ripplebiz f39fa53aea Merge pull request #3682 from meshcore-dev/fix-scope-zero
scope 0 rule fixes
2026-10-29 12:17:09 +11:00
tthandClaude Opus 5.5 ce4c755308 test(native): fix duplicate AdvertDataHelpers after upstream test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 20:34:24 +01:00
tth 790cf23466 Merge remote-tracking branch 'origin/dev' 2026-10-28 20:29:38 +01:00
Scott Powell f889b7d8a2 * unit test fix 2026-10-26 20:39:46 +11:00
rado adb01c473e Skip empty anon contact slots in peer/contact lookups (prevent null-key ECDH sink) 2026-10-20 05:56:02 +02:00
tthandClaude Opus 5.5 c35be853c7 blepwr/fairness: opravy z review-three
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 23:46:40 +02:00
tthandClaude Opus 5.5 02cda9f9e3 fairness: limity podle reálného provozu, 00/ff odesílatelé nejsou rezervovaní
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 22:33:05 +02:00
tthandClaude Opus 5.5 107b37b5f4 Merge remote-tracking branch 'origin/dev' into main
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 18:35:35 +02:00
tthandClaude Opus 5 e7fdec8404 refactor: zbylé tři nálezy z review — rozpočet, rename, duplicity
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-21 22:37:20 +02:00
tthandClaude Opus 5 871f75d246 feat(advert): osm úrovní baterie místo dvou stavů, blesk na externím napájení
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-21 20:26:51 +02:00
tthandClaude Opus 5 793c309a4b feat(advert): stav baterie jako ikonka na konci advertovaného jména
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-21 19:13:38 +02:00
Michael Graff b9fbf072ab Fix config parser aborting on an empty object
'custom:{}' (a DynamicConfigSerializer with nothing set) hits EXPECT_KEY
with a '}' and returns TOK_ERROR, so loadSerial stops there and silently
drops every property after it. Nothing follows 'custom' in NodePrefs
today, so it goes unnoticed until you add one.

Also include stdlib.h, which Arduino.h was providing on-device but not
in the native test build.
2026-09-05 23:15:13 -05:00
tthandClaude Fable 5 37598793a0 fix(repeater): drobnosti z review antispamu (žádný high/med, jen LOW)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-06 00:07:52 +02:00
tthandClaude Fable 5 33af8ecc05 feat(repeater): fairness grid viditelnost + runtime cap/refill tuning
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-05 23:39:04 +02:00
tthandClaude Fable 5 6f90c80dcc feat(repeater): antispam — FairnessLimiter (port #1502) + kanálový deny list
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-05 21:35:36 +02:00
tthandClaude Opus 5 bd60aa4322 Merge remote-tracking branch 'origin/dev' into main
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-02 02:19:04 +02:00
tthandClaude Opus 5 0524c78459 fix(packet): readFrom četl pole dřív, než se zeptal, jestli tam vůbec jsou
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-01 20:12:01 +02:00
tthandClaude Opus 5 5230f5efb2 fix(mesh): markSeen je zase idempotentní, jinak si send path ujídá dedup okno
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-01 19:34:32 +02:00
Scott Powell 55855f4cae * DynamicConfigSerializer fixes, and unit tests 2026-08-24 19:42:55 +10:00
Scott Powell c97e40d15d * unit test no longer valid 2026-08-14 16:42:54 +10:00
ripplebiz f8832af086 Merge pull request #3106 from ViezeVingertjes/fix/scoped-reply-routing
Fix replies dropped when flood.max.unscoped is low
2026-08-13 15:00:37 +10:00
agessaman f82950f311 feat(companion_radio): add external FEM gain preferences for RX and TX for companions
Introduced consistent preferences for external LoRa FEM RX and TX gain settings in NodePrefs. Updated companion MyMesh to apply these settings during initialization and transmission. Added unit tests to verify the round-trip serialization of these new preferences.
2026-08-10 11:59:26 -07:00
ViezeVingertjes 34156ddb11 Fix replies dropped when flood.max.unscoped is low 2026-08-03 22:57:12 +02:00
ripplebiz 837869fa93 Merge pull request #3004 from axhoff/agent/preserve-utf8-advert-names
Preserve UTF-8 boundaries in advert names
2026-07-30 12:59:59 +10:00
Scott Powell cfb7d156e9 Merge branch 'dev' into config-serializer
# Conflicts:
#	test/mocks/Arduino.h
#	test/mocks/Stream.h
2026-07-24 15:06:48 +10:00
Alexander Hoffer c5f09f2490 fix: preserve UTF-8 advert names 2026-07-20 15:47:03 +01:00
ViezeVingertjes 2679fa8ebc fix: prevent ESP32 KISS modem stalls under USB backpressure
Switch ESP32-S3 KISS modem environments to HWCDC and move outbound KISS writes to a non-blocking queued frame path so loop() and TX completion keep progressing when the host reads slowly. Add native backpressure regression tests and correct the native_kiss_modem test filter so this suite runs directly with pio test.
2026-07-18 22:43:55 +02:00
Scott Powell dae73ac971 * loadSerial(), support for \n and \r 2026-07-17 21:23:40 +10:00
Scott Powell bfb5310c6b * added unit tests for ConfigSerializer 2026-07-17 20:55:30 +10:00
Christoph Koehler f6843b10a6 refactor: split MeshTables::hasSeen into pure query + markSeen
hasSeen() was simultaneously a predicate and a mutator — it inserted the
packet hash on every miss, making five call sites that only wanted to mark
a packet as sent call it with the return value discarded.

Split into:
- wasSeen()   — pure predicate, no side effects
- markSeen()  — explicit insert

All query sites now call markSeen() immediately after wasSeen() returns
false, preserving identical runtime behaviour. The five mark-only send
sites (sendFlood, sendDirect, sendZeroHop x2) now call markSeen directly.

Also fixes three bridge sites (BridgeBase, ESPNowBridge, RS232Bridge)
that had the same query+implicit-insert pattern.

Tests: add test/test_mesh_tables/ covering wasSeen purity, markSeen,
dup stats, and clear. Update SHA256 mock to produce deterministic output
(previously finalize() was a no-op). Add Packet.cpp to native build filter.
2026-07-01 21:51:38 -06:00
Michael Lynch f6ecbef3da Add unit tests for Utils::toHex 2026-04-24 19:37:21 +00:00