Commit Graph
3224 Commits
Author SHA1 Message Date
Valentin V. BartenevandGitHub 17689e4d1d Mention LNA on/off in README.md
Build and deploy Docs site to GitHub Pages / github-pages (push) Waiting to run
Build and deploy Docs site to GitHub Pages / github-pages (push) Waiting to run
Run Unit Tests / test (push) Waiting to run
2026-06-07 20:31:02 +03:00
Valentin V. Bartenev 1817248d97 Add LoRa FEM RX-path LNA control via CLI; restore enabled default
Ported from meshcore-dev/MeshCore#2140 (Quency-D <hj_zzns@163.com>).

The upstream v1.16.0 merge changed the Heltec FEM LNA to disabled by
default (upstream commit 696aae6e).  This patch restores the enabled
default for repeater via the new "radio.fem.rxgain" preference
(defaulted to 1), while also making the setting user-configurable
and persisted across reboots.
2026-06-07 15:36:19 +03:00
Valentin V. Bartenev d58311ce3c Revert on-disk layout to the one before 1.16.0 merge
When "flood_max_unscoped" and "flood_max_advert" were inserted at offsets
291-292 in a previous commit, they displaced "fan_mode" and "fan_timeout_secs"
from their established positions.  On upgrade, devices with existing saved
prefs would load the old "fan_mode" byte (0, 1, or 2) into "flood_max_unscoped"
and the low byte of "fan_timeout_secs" into "flood_max_advert", both yielding
values of 0 or 1.  A "flood_max_unscoped" or "flood_max_advert" of 0 or 1
effectively silences the repeater, causing it to drop nearly all unscoped
flood and advert packets.  Additionally, "rx_boosted_gain" was displaced to
offset 291 in the new layout, causing it to read 0 (gain disabled) on devices
whose prefs were saved before the layout change.

Restore a correct, upgrade-safe layout:

  290: reserved_290  (placeholder; preserves the byte that held
                      rx_boosted_gain in the layout before this series)
  291: rx_boosted_gain
  292: fan_mode
  293-294: fan_timeout_secs  (uint16_t)
  295: flood_max_unscoped
  296: flood_max_advert

"flood_max_unscoped" and "flood_max_advert" are moved to the end so that
existing saved prefs with "fan_mode"/"fan_timeout_secs" at 291-294 are
read correctly on upgrade, and the repeater resumes normal flood forwarding
behaviour.

Also fix a copy-paste bug in loadPrefsInt where the availability
checks for "flood_max_unscoped" and "flood_max_advert" both used
sizeof(rx_boosted_gain) instead of their own field sizes.
2026-06-07 14:51:02 +03:00
Valentin V. Bartenev 6aef34567e Merge official v1.16.0 firmware and resolve conflicts 2026-06-06 21:55:43 +03:00
Valentin V. Bartenev 7635634f87 Restore original docs and workflows to avoid conflicts while merging 2026-06-06 20:50:05 +03:00
Valentin V. Bartenev ae60d86207 Adjust image paths in README after the docs move 2026-06-06 20:20:49 +03:00
Valentin V. Bartenev b9bd0fc270 Moved docs and workflows to avoid conflicts while merging official repo 2026-06-06 20:18:03 +03:00
Scott Powell 07a3ca9e05 Merge branch 'dev'
# Conflicts:
#	docs/faq.md
2026-06-06 21:12:43 +10:00
Scott Powell 8c0d5c5b24 * version 1.16.0 2026-06-06 21:09:38 +10:00
ripplebizandGitHub 74adda6316 Merge pull request #2702 from meshcore-dev/flood.max.advert
new CLI config: flood.max.advert
2026-06-06 21:05:22 +10:00
Scott Powell 8fc2da5c98 * default now 8, per the will of the peoples. 2026-06-06 21:00:58 +10:00
Liam CottleandGitHub b6454d6251 Merge pull request #2703 from IoTThinks/Fixed-powersaving--in-cli_commands.md-2026-06
Change default power saving setting to 'off'
2026-06-06 16:09:27 +12:00
IoTThinksandGitHub 6a9a84e8a5 Change default power saving setting to 'off' 2026-06-06 11:04:36 +07:00
Scott Powell 5f6821bb66 * new CLI config: flood.max.advert (default 16) 2026-06-06 13:09:24 +10:00
Scott Powell 397ac6144f * number allocations: Ripple range reserved 2026-06-06 12:45:35 +10:00
Valentin V. Bartenev 86154ce8d0 Fix intermittent RadioLib static SPI buffer overflow
When RADIOLIB_STATIC_ONLY=1 is set, RadioLib's SPItransferStream()
allocates two fixed-size stack buffers (buffOut and buffIn) of
RADIOLIB_STATIC_ARRAY_SIZE bytes each, instead of heap-allocating
exactly the right size.

The default value of RADIOLIB_STATIC_ARRAY_SIZE is 256.  When receiving
a maximum-size LoRa packet (255 bytes, equal to MAX_TRANS_UNIT),
SX126x::readBuffer() passes a 3-byte SPI command header
(CMD_READ_BUFFER + offset + NOP) plus 255 bytes of payload to
SPItransferStream(), for a total buffLen of 258 bytes.  This overflows
the 256-byte stack buffers by 2 bytes, corrupting adjacent locals and
occasionally the stack canary, triggering __stack_chk_fail.

The same overflow occurs on the transmit path: SX126x::writeBuffer()
passes a 2-byte command header plus 255 bytes of payload (buffLen=257),
also overflowing the 256-byte buffer.

The overflow is small (2 bytes on the read path, 1 byte on the write
path), so it only intermittently reaches the stack canary depending on
compiler-generated stack frame layout.

Set RADIOLIB_STATIC_ARRAY_SIZE=260 to eliminate the overflow on both
paths, with 2 bytes of margin on the read path (258 < 260) and 3 bytes
on the write path (257 < 260). The value is placed in [arduino_base] so
it applies to all target platforms.
2026-06-06 03:49:15 +03:00
ripplebizandGitHub 53d50aa1ef Merge pull request #2684 from oltaco/rp2040-build-fixes
Build fixes for some RP2040 targets
2026-06-05 12:30:08 +10:00
Liam CottleandGitHub 1485d3301b Merge pull request #2463 from NoodlesNZ/fix-stddef
Add stddef.h to fix compilation issue on MacOS
2026-06-05 11:29:44 +12:00
Liam CottleandGitHub 5222ee4d13 Merge pull request #2685 from oltaco/more-build-fixes
Build fixes for nibble_screen_connect and ThinkNode M2
2026-06-05 03:08:10 +12:00
taco b4b0a0ee0f build fixes for nibble_screen_connect and thinknode_m2 2026-06-05 00:55:02 +10:00
taco 7ce8b66718 build fix for rp2040 companion usb 2026-06-04 23:36:51 +10:00
taco 33ce1c991c add missing radio_init() for rak11310 2026-06-04 23:30:50 +10:00
taco 2a8bd3edad pin platform-raspberrypi to 4e22a0d
pins framework-arduinopico @ 1.50600.0+sha.6a1d13e9
2026-06-04 23:21:41 +10:00
Liam CottleandGitHub b4038529b5 Merge pull request #2683 from oltaco/techo-card-buildfixes
build fixes for LilyGo T-Echo Card
2026-06-04 21:40:11 +12:00
taco 2f221acd37 build fixes for LilyGo T-Echo Card 2026-06-04 19:05:58 +10:00
Liam CottleandGitHub da21d42a2e Merge pull request #2672 from meshcore-dev/non-contact-requests
Non contact requests
2026-06-04 16:05:47 +12:00
Liam CottleandGitHub b83355e702 Merge pull request #2671 from sefinek/fix/typos-grammar-formatting
Fix typos and formatting in documentation and comments
2026-06-04 15:57:48 +12:00
ripplebizandGitHub 6be398d748 Merge pull request #2663 from oltaco/no-autoshutdown-when-powered
Disable auto-shutdown when externally powered, add auto-shutdown warning for OLED displays
2026-06-04 13:42:00 +10:00
Scott Powell 3c96a7de43 * powersaving on/off lowercase fix 2026-06-04 13:36:18 +10:00
ripplebizandGitHub 999e20a4c2 Merge pull request #1687 from IoTThinks/MCdev-PowerSaving-for-all-esp32-repeaters-202602
Added PowerSaving for all ESP32-based repeaters
2026-06-04 13:31:51 +10:00
Liam CottleandGitHub cb73a4a156 Merge pull request #2022 from weebl2000/adjust-max-framesize
Increase MAX_FRAME_SIZE by 4 bytes
2026-06-03 19:58:01 +12:00
Kevin Le aeca6f3f3f Added "override" to getIRQGpio() for ESP32Board.h 2026-06-03 14:10:28 +07:00
Sefinek 81510e7495 docs: fix remaining rendering issues 2026-06-03 00:38:53 +02:00
Sefinek 4dcd664363 docs: fix remaining rendering issues 2026-06-03 00:32:25 +02:00
Sefinek 4f4699ab61 docs: fix remaining rendering issues 2026-06-03 00:28:09 +02:00
Sefinek f7bff44572 docs: fix remaining rendering issues 2026-06-03 00:24:01 +02:00
Sefinek 456e14f7a7 docs: add missing periods at sentence endings 2026-06-03 00:15:26 +02:00
Sefinek 15913d580f docs: fix FAQ rendering 2026-06-03 00:14:29 +02:00
Sefinek 3daa6adc83 docs: fix FAQ heading capitalization 2026-06-02 23:57:50 +02:00
Sefinek 6b5cf1a9d7 docs: fix FAQ link rendering 2026-06-02 23:48:28 +02:00
Sefinek 1422f02cd3 docs: fix FAQ rendering 2026-06-02 23:35:02 +02:00
Sefinek f9a0f215c4 docs: fix FAQ resource link rendering 2026-06-02 23:31:25 +02:00
Sefinek e0a6fd12b5 docs: fix FAQ bullet list rendering 2026-06-02 22:34:38 +02:00
Sefinek 4749a61bb4 docs: fix FAQ bullet list rendering 2026-06-02 22:30:42 +02:00
Sefinek bf39919f15 docs: remove extra FAQ TOC indentation 2026-06-02 22:28:15 +02:00
Sefinek cc05ae555a docs: fix typos, grammar, and formatting in FAQ and code comments 2026-06-02 22:12:18 +02:00
Sefinek 82560ede55 chore: normalize board JSON line endings 2026-06-02 15:34:00 +02:00
Liam CottleandGitHub add18d6866 Merge pull request #2641 from sefinek/ci/update-github-actions
ci: update GitHub Actions and Python version
2026-06-03 01:26:35 +12:00
Liam CottleandGitHub 15889c32c0 Merge pull request #2664 from entr0p1/fix/rak_wismesh_tag_platform
Rak WisMesh Tag fixes
2026-06-02 23:01:22 +12:00
taco e449af1723 bypass auto-shutdown delay for e-ink devices 2026-06-02 18:37:18 +10:00