Commit Graph
147 Commits
Author SHA1 Message Date
tthandClaude Opus 5 18451dd559 fix(mesh): sendZeroHop mazal šířku path hashe, uzel se hlásil jako 1bajtový
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-22 15:04:52 +02:00
tthandClaude Opus 5 0d8ca69d69 feat(repeater): report the TX-failure counters in the RF status reply
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-19 19:42:20 +02:00
tthandClaude Opus 5 cb74cdee06 Merge upstream v1.17.1 (origin/main)
Small one after v1.17.0: 57 files, +825/-200, and it merged with no conflicts at
all. Unlike 1.17.0, the release tags sit directly on origin/main, so no
`-s ours` is needed for git describe to see the release.

What matters for our nodes:

* fix-rxgain-setting-post-agc-reset -- rx gain no longer resets after an AGC
  adjustment. The release notes ask repeater admins to verify radio.rxgain (and
  the new radio.fem.rxgain) after updating, so that goes on the post-flash list.
* NRF52 CC310 crypto is initialised once instead of on every call, and several
  NRF52 pin maps were corrected.
* New 'get/set radio.fem.rxgain/txgain' CLI commands (companion cannot configure
  them yet).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-15 14:13:50 +02: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
tthandClaude Opus 5 10a0c7cefc Merge upstream v1.17.0 (origin/main) into the analyzer/BLE fork
Upstream shipped companion/repeater/room-server v1.17.0 today; its tree is
identical to origin/main, so that is what this merges. Our base was 7 Jul
(7b566670), i.e. 350 files / +11k lines of upstream behind.

Conflicts and how they were settled:

* Mesh.cpp -- upstream split the dedup into wasSeen() + explicit markSeen().
  Kept BOTH: their new call pair AND our payload-length bound on the TRACE
  path-hash read, which is what stops a crafted short TRACE from steering
  isHashMatch() past the buffer.
* companion_radio/main.cpp -- upstream grew its own MultiSerialInterface
  (BLE + USB + WiFi + Ethernet registered side by side), which is a superset
  of the SerialDualInterface we backported from PR #1779. Took theirs whole;
  our copy is now dead code. NOTE: envs that relied on the backport for a USB
  console alongside BLE now need an explicit -D ENABLE_USB_INTERFACE.
* ui-new/UITask.cpp -- isSerialEnabled() was renamed isBluetoothEnabled()
  upstream and DisplayDriver::RED became UIColor::warning_txt. Same intent
  either way: no BT pin on screen while Bluetooth is off.
* EnvironmentSensorManager.cpp -- upstream fixed the millis() wrap on the GPS
  update timer in the exact line our gpsDutyLoop() call sits on. Kept both,
  with their wrap-safe compare.
* NRF52Board.cpp -- upstream independently arrived at the same sd_temp_get()
  fix for SoftDevice-protected TEMP. Took their form, kept our comment, which
  is the only place recording WHY (APP_MEMACC fault -> reboot on telemetry).
* RadioLibWrappers.{h,cpp}, simple_repeater/main.cpp -- add/add. Their
  configSideDetectors()/performChannelScan()/external watchdog next to our
  irqDoneMask()/probeDio1()/BLE pump/WDT feed. The repeater console keeps the
  1032-byte reply buffer for paged analyzer output and now clears it, since a
  static buffer would otherwise reprint the previous reply.
* .vscode/extensions.json -- deleted upstream, and it is in .gitignore; our
  only change was a comment. Gone.

Built clean: Xiao_x1_rpt, Xiao_x2_cmp, Xiao_x3_obs, SenseCap_s1_rpt,
T1000E_cmp_cz. Not flashed to anything yet.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-09 22:44:07 +02:00
Scott Powell 49319023e5 Merge branch 'dev'
# Conflicts:
#	docs/payloads.md
2026-08-09 14:36:53 -04:00
agessaman 2eb7feffe0 fix(station-g3): expose FEM gain preferences 2026-08-06 15:29:14 -07:00
ripplebiz 8bf182fb41 Merge pull request #3115 from oltaco/meshnology_w12
Add support for Meshnology W12 and LR2021 Wrapper
2026-08-05 15:04:00 +10:00
taco cb7b158931 LR2021: auto-LDRO for side detectors 2026-08-05 14:23:32 +10:00
taco 5687ba3f87 LR2021 multi-SF support (side detectors) 2026-08-05 14:23:32 +10:00
tthandClaude Opus 5 82cbe85864 feat(radio): DIO1-less operation + pin diagnostics, to salvage bench-board
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-04 21:32:58 +02:00
tthandClaude Opus 5 be074b3bda feat(repeater): channel bot in the analyzer build -- listens and answers without repeating
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-04 18:30:47 +02:00
tthandClaude Opus 5 8dc4448e89 feat(repeater): dfu [uf2|serial|ota] — deterministic reboot into the bootloader
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-04 12:53:20 +02:00
tthandClaude Opus 5 50b94bdb21 feat(repeater): blink on|off, txpwr with RadioLib's verdict; UF2 flash helper
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-04 12:45:28 +02:00
tthandClaude Opus 5 614f9f4941 feat(repeater): blink [n] — ask a board to identify itself
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-04 12:20:28 +02:00
ViezeVingertjes 4820f0916d Merge remote-tracking branch 'upstream/dev' into fix/scoped-reply-routing
# Conflicts:
#	examples/simple_repeater/MyMesh.cpp
2026-08-04 11:49:58 +02:00
ViezeVingertjes 34156ddb11 Fix replies dropped when flood.max.unscoped is low 2026-08-03 22:57:12 +02:00
tthandClaude Opus 5 c6467a2451 fix(tools/ble_dfu): require the target address; feat: ble_cli.py; feat: silent-by-default repeater
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-03 21:46:23 +02:00
tthandClaude Opus 5 a7674c6327 feat(mesh): default to 2-byte path hashes (PATH_HASH_MODE_DEFAULT)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-03 19:12:15 +02:00
Scott Powell c63f7d77f7 * bounds check added for anon_req reply_path_len 2026-08-04 01:00:31 +10:00
tthandClaude Fable 5 75b4434d61 fix(mesh/tx): requeue failed transmits with backoff instead of dropping
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 13:43:34 +02:00
tthandClaude Fable 5 b6c0bb4978 feat(repeater/analyzer): pktfeed ring + pktlog cmd — raw frames for the community observer feed
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 20:50:25 +02:00
tthandClaude Fable 5 4d9648ba90 feat(repeater/analyzer): big console pages + physics-sized tables (rxlog 512, heard 128)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 11:53:48 +02:00
Scott Powell a4e7cdf4f3 * first draft of new ConfigSerializer. (simple embedded JSON prefs) 2026-07-15 01:23:57 +10:00
tthandClaude Opus 4.8 d1ed2e9657 fix(repeater/analyzer): colon-delimit path hops so hash width is self-describing
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-12 19:16:48 +02:00
tthandClaude Opus 4.8 6c4f7af41f feat(repeater/analyzer): multi-path join key + prefer direct 0-hop path
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-12 18:47:44 +02:00
tthandClaude Opus 4.8 c0f5c57c91 perf(repeater): drop duplicate per-packet SHA-256 from rxlog capture
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-12 01:05:16 +02:00
tthandClaude Opus 4.8 a0d1dd4055 feat(repeater): passive mesh analyzer -- nodes + rxlog over the console
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-12 00:19:32 +02:00
tthandClaude Opus 4.8 434e306430 feat: expose repeater text console over BLE + nRF52 SoftDevice fixes
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-11 19:21:11 +02:00
Neil Alexander ea95fa0ad6 Fix recv_pkt_region incorrect usage
The `recv_pkt_region` is set when processing a flood packet in `filterRecvFloodPacket`
but direct/non-flood packets would never pass through that function, so the pointer was
not cleared for them.

`sendFloodReply` would then later use it blindly, which meant that the response would
either inherit the region from the last flood packet, or refer to a non-initialised pointer
if no region floods had been received yet.
2026-07-02 09:28:41 +01:00
taco 1a90abdbe2 return bool when setting rx boost 2026-06-26 07:44:01 +10:00
taco e076cd4e3d remove guard on MyMesh::setRxBoostedGain() 2026-06-26 07:06:37 +10:00
Wessel Nieboer e77b6b101f Have CAD be a separate toggle (set cad on/off) 2026-06-14 15:20:58 +02:00
Wessel Nieboer 720cd75167 Use hardware channel activity detection for checking interference 2026-06-14 15:19:18 +02:00
Quency-D 606f8f1cc3 Merge branch 'dev' into cli-lna-command 2026-06-10 11:30:04 +08:00
Scott Powell a4c1981e6a * default now 8, per the will of the peoples. 2026-06-06 21:00:58 +10:00
Scott Powell d66597c3e7 * new CLI config: flood.max.advert (default 16) 2026-06-06 13:09:24 +10:00
Scott Powell 3a707fad43 * simplified the new flood.max.unscoped pref 2026-06-02 14:15:33 +10:00
ripplebiz fb517b2164 Merge pull request #2661 from mrzarquon/mrz/flood_max_unscoped
Implement flood.max.unscoped to allow selective repeating of unscoped messages
2026-06-02 14:00:33 +10:00
Chris Barker a7bb4bef76 Feat: Adds flood.max.unscoped setting
Before this commit, there was no way to set a different max hop count
for unscoped messages.

Now with this change, by defaul it tracks the flood.max setting, until
a user provides a flood.max.unscoped value, which tax precidence for
packets if ROUTE_TYPE_FLOOD is true.
2026-06-01 21:30:17 +01:00
Scott Powell ac507c2b3e * Bug fix: adding neighbor when path_mode != 0 2026-06-01 23:08:39 +10:00
Rastislav Vysoky 3e0b9da426 Update repeater flood advert interval to 47 hours 2026-05-21 14:50:58 +02:00
Quency-D 747845cfc2 Merge branch 'dev' into cli-lna-command 2026-05-09 18:19:31 +08:00
Scott Powell 8903b907d1 * Refactor: removed duplicated radio_rng_seed(), radio_set_params(), radio_set_tx_power() 2026-05-01 14:47:07 +10:00
Quency-D 9641f7b2a2 Merge branch 'dev' into cli-lna-command 2026-04-25 15:28:07 +08:00
Scott Powell 2b33c0d19a * bug fix 2026-04-17 14:38:03 +10:00
Scott Powell 1e6eeb0d80 * Repeater, room server: rule change for sendFloodReply() 2026-04-16 13:22:39 +10:00
Scott Powell 03fca12415 * 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
Scott Powell fb128a771d * repeater: default-scope support 2026-04-14 17:51:34 +10:00
Quency-D 1cc1b7fa58 Add v4 FEM LNA CLI control commands. 2026-03-24 10:48:15 +08:00