Commit Graph
77 Commits
Author SHA1 Message Date
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
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
tthandClaude Opus 5 bbd4fbc358 feat(clock): a node with no GPS starts at its build epoch, not in 2024
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-09 22:24:59 +02:00
Scott Powell 49319023e5 Merge branch 'dev'
# Conflicts:
#	docs/payloads.md
2026-08-09 14:36:53 -04:00
Adam Gessaman 5704db9f74 fix(station-g3): apply FEM PA level at TX start
PA PL1 re-targets the PA's DC-DC supply rail rather than selecting a
logic-level gain, and the serial CLI is serviced on every main-loop pass
regardless of whether a transmit is in flight. A `set radio.fem.txgain`
write could therefore move the rail mid-transmit, while the SX1262 was
still driving the PA at full input power.

Record the requested level in setPAGainEnable() and drive the pin from
setTxModeEnable(), which runs from onBeforeTransmit() ahead of
startTransmit(). The level only matters while transmitting, so deferring
costs nothing.

Document that the pref is saved immediately but applied at the next
transmit, so `get radio.fem.txgain` can lead the hardware until then.
2026-08-08 14:53:57 -07:00
agessaman 2eb7feffe0 fix(station-g3): expose FEM gain preferences 2026-08-06 15:29:14 -07:00
tthandClaude Opus 5 5486cc5439 feat(gps): duty-cycle the receiver, for nodes that run GPS only for the clock
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-06 10:05:26 +02:00
Alexander Hoffer c5f09f2490 fix: preserve UTF-8 advert names 2026-07-20 15:47:03 +01:00
liamcottle 22b2de711c Merge remote-tracking branch 'official/main' into dev 2026-07-20 20:42:09 +12:00
Ryan Gregg 7f1ecc2045 Merge remote-tracking branch 'upstream/dev' into rak-ethernet
# Conflicts:
#	docs/faq.md
#	examples/companion_radio/main.cpp
2026-06-20 14:39:03 -07:00
Wessel Nieboer e77b6b101f Have CAD be a separate toggle (set cad on/off) 2026-06-14 15:20:58 +02:00
formtapez 5ae8c26772 fix formatting 2026-06-12 12:14:46 +02:00
formtapez b21b12ec7f added some missing CLI commands 2026-06-12 12:11:12 +02:00
Quency-D 606f8f1cc3 Merge branch 'dev' into cli-lna-command 2026-06-10 11:30:04 +08:00
Scott Powell f7f8a331cd Merge branch 'dev'
# Conflicts:
#	docs/faq.md
2026-06-06 21:12:43 +10:00
IoTThinks f74c1ab368 Change default power saving setting to 'off' 2026-06-06 11:04:36 +07: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
Liam Cottle 7feea5981a Merge pull request #2635 from sefinek/docs/fix-typos-and-grammar
docs: fix typos, grammar issues and standardise Wi-Fi spelling
2026-06-02 12:41:30 +12:00
Chris Barker f430d9f990 Updates Docs to reflect flood.max.unscoped behavior. 2026-06-01 21:30:31 +01:00
Sefinek c99fe41b1e docs: remove duplicate radio.rxgain entry and fix hardware note 2026-05-28 14:52:00 +02:00
Sefinek a3a52e58fa docs: fix typos, grammar and Wi-Fi capitalisation across docs 2026-05-28 14:23:31 +02:00
agessaman c9b44367d6 Refactor region def with helpers, refine docs
Extract the inline cursor-walk in handleRegionCmd into file-local
helpers (skipSpaces, rtrimSpaces, takeToken, splitNameJump,
processRegionDefSegment), grouped immediately above the consumer.
Behavior is identical; addresses PR #2540 review feedback on
readability.

Tighten the region def docs: collapse five Note callouts into three
grouped paragraphs (Behavior / Existing regions / Limits), add a
case-sensitivity caveat plus an error example, note the cursor reset
between split commands, and use generic placeholder names.
2026-05-21 19:25:01 -07:00
Ryan Gregg 4761d49449 Merge remote-tracking branch 'upstream/dev' into rak-ethernet
# Conflicts:
#	examples/companion_radio/main.cpp
2026-05-18 20:57:28 +00:00
agessaman 335dec8366 Update CLI command from region bulk to region def 2026-05-16 10:47:51 -07:00
AI7NC c088f9103c Update cli_commands.md to include 'ver'
Include the 'ver' command for retrieving the firmware version
2026-05-12 12:42:33 -07:00
agessaman cfe6cb09bc Add bulk region hierarchy command to CLI
Add a new command `region bulk` for defining region hierarchies in a single line. This command allows users to create multiple regions in a single message. Updated the documentation to include usage examples and detailed parameter descriptions.
2026-05-12 12:08:03 -07:00
Quency-D 747845cfc2 Merge branch 'dev' into cli-lna-command 2026-05-09 18:19:31 +08:00
ripplebiz 974297bf7d Merge pull request #2445 from kizniche/update-docs-txdelay-rxdelay
Docs: Add explanatory notes for txdelay, direct.txdelay, and rxdelay
2026-05-06 14:37:36 +10:00
Avi0n bb93ff073c fix typos 2026-04-30 14:21:26 -07:00
Kyle d2be6bd285 docs: add explanatory notes for txdelay, direct.txdelay, and rxdelay CLI commands 2026-04-29 14:10:13 -04:00
Quency-D 9641f7b2a2 Merge branch 'dev' into cli-lna-command 2026-04-25 15:28:07 +08:00
Ryan Gregg 1fe2bb9068 Merge remote-tracking branch 'upstream/dev' into rak-ethernet
# Conflicts:
#	docs/faq.md
2026-04-20 15:06:09 +00:00
Scott Powell a54cfa05a1 Merge branch 'dev'
# Conflicts:
#	docs/faq.md
2026-04-19 11:35:03 +10:00
Liam Cottle ae537a4aa3 Merge pull request #2103 from robekl/docs-radio-rxgain
docs: add radio.rxgain command reference
2026-04-18 19:05:43 +12:00
Scott Powell 4f40ffb305 Merge branch 'default-scope' into dev 2026-04-17 16:30:19 +10:00
Scott Powell 0a4ee5c1ea * doco: "region default" 2026-04-17 13:49:57 +10:00
Liam Cottle 3280b71c01 Merge pull request #2102 from robekl/docs-gps-output-format
docs: align gps output description with CLI
2026-04-13 01:51:51 +12:00
liamcottle f5f904fd8b update neighbor.remove docs 2026-04-02 23:24:39 +13:00
Scott Powell e75644f7d6 * docs changes for PAYLOAD_TYPE_GRP_DATA 2026-03-29 06:33:35 +11:00
Quency-D 1cc1b7fa58 Add v4 FEM LNA CLI control commands. 2026-03-24 10:48:15 +08:00
Wessel Nieboer 9f9a1701c7 Merge branch 'dutycycle-command' of github.com:weebl2000/MeshCore into dutycycle-command 2026-03-24 03:08:54 +01:00
Wessel Nieboer 0814181792 restore docs 2026-03-24 03:08:18 +01:00
Wessel Nieboer ec0236fb7e Address comments 2026-03-23 14:31:08 +01:00
Wessel Nieboer 726d1a4858 Add get/set dutycycle command
We translate to af internally, it's easier to store and doesn't break
stored prefs. Made get/set af command show deprecated, but it still
works fine.
2026-03-23 14:31:07 +01:00
Jeroen Vermeulen 066a85e31a Add discover.neighbors command documentation 2026-03-22 21:35:02 +01:00
Jeroen Vermeulen 7ef1f52300 Update temporary note with a hyperlink to issue #2118 2026-03-22 21:19:06 +01:00
Jeroen Vermeulen 9bf5e2a367 Update note for upgrade to version 1.14.1
Clarify note regarding upgrade from older version.
2026-03-22 21:18:14 +01:00
Jeroen Vermeulen be3edfd8eb Update note about setting when upgrading
Clarified note regarding default setting for upgrades from older versions.
See https://github.com/meshcore-dev/MeshCore/pull/1653#issuecomment-4101341378
2026-03-20 23:54:48 +01:00
Jeroen Vermeulen 97e6d9843e Documented get/set radio.rxgain CLI command
Added documentation for RX Boosted Gain Mode commands.
2026-03-20 22:46:53 +01:00
Robert Ekl 057588ca92 docs: add radio.rxgain command reference 2026-03-20 12:30:51 -05:00