Commit Graph
1348 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 88ef08c6d5 public builds: Czech mesh defaults (meshcore.cz wiki)
pub-release / release (push) Successful in 20m57s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 14:15:14 +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
tthandClaude Opus 5.5 af1714db08 Merge upstream dev: RadioLib rx error counter (#3715)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 22:25:08 +01:00
ripplebiz 978b6e01be Merge pull request #3715 from Amoulier/fix/radiolib-rx-error-counter
Initialize the RadioLib receive error counter
2026-11-01 13:19:47 +11:00
tthandClaude Opus 5.5 d32c8caa37 radiolib: RADIO_DIAG reads the SX1262 status byte by hand
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 20:44:42 +01:00
tthandClaude Opus 5.5 65ff32a10a 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
tthandClaude Opus 5.5 9a076ee5c6 Merge upstream/dev (2 commits) [upstream-sync]
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 16:30:14 +01:00
R0ck 93254adbca radiolib: drop received packets whose LoRa header says no CRC. 2026-10-30 14:05:25 +00:00
tthandClaude Opus 5.5 0676aeb201 Merge upstream/dev (11 commits) [upstream-sync]
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 13:36:32 +01:00
Olexandr Tyshchenko 54b90cbdfa Fix possible reply buffer overflow in 'sensor list'
'sensor list' appended 'name=value' lines into the 160-byte CLI reply with
unbounded sprintf, only checking the position before each write (< 134).
A single long value (or several medium ones) could write past the end of
the buffer.

Write each entry with snprintf against the remaining space, keep room for
the '... next:N' paging hint, and move entries that do not fit to the next
page. Also guard against NULL names/values from a sensor manager.
2026-10-29 23:49:49 +02:00
fdlamotte bd4be350c5 Merge pull request #3687 from fdlamotte/display_prefs
ui: add some parameters to the cli (mostly regarding eink behaviour)
2026-10-29 08:35:36 -04:00
Florent 1d88a709bd ui: add some parameters to the cli (mostly regarding eink behaviour) 2026-10-29 08:34:41 -04: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
Amoulier 33eb7434f9 Initialize the RadioLib receive error counter 2026-10-28 18:56:16 -04:00
tth 790cf23466 Merge remote-tracking branch 'origin/dev' 2026-10-28 20:29:38 +01:00
ripplebiz 022ca93c8f Merge pull request #3686 from marcelverdult/upstream-pr/esp32-rtc-backup-once
Define the RTC backup of ESP32RTCClock once instead of per translation unit
2026-10-28 14:38:36 +11:00
ripplebiz 322427e815 Merge pull request #3692 from Seeed-Studio/dev
Fix LR2021 hot frequency change over BLE
2026-10-28 12:48:39 +11:00
Liam Cottle d1e27f5b21 Merge pull request #3615 from radek-sixi/fix/common-radio-prefs-signed-tx-power
Fix unsigned conversion of negative TX power in CommonRadioPrefs
2026-10-27 22:44:04 +13:00
WayenWeng 8a33082b59 fix(radio): put LR2021 in standby before re-config in setParams 2026-10-27 10:44:36 +08:00
ripplebiz 40f2ed331a Merge pull request #3639 from radek-sixi/fix/skip-empty-anon-contact-slots
Skip empty anon contact slots in peer/contact lookups (prevent null-key ECDH sink)
2026-10-27 11:29:10 +11:00
Marcel Verdult 2270b931fa fix(esp32): define the RTC backup of ESP32RTCClock once
ESP32Board.h defined _rtc_backup_time and _rtc_backup_magic as static in the
header, so every translation unit that includes it has its own copy, and the
inline members of ESP32RTCClock read and write the copy of the unit they are
compiled in. Today one unit per image uses them; a second one could restore a
copy that setCurrentTime() never wrote. The header now declares them, and
ESP32Board.cpp defines them once.
2026-10-26 16:11:12 +01:00
Scott Powell ab64c87c38 * scope 0 rule fixes 2026-10-26 20:29:39 +11:00
upstream-sync-bot ad6f6a92f2 Merge upstream/dev (10 commits) [upstream-sync] 2026-10-25 01:03:21 +00:00
fdlamotte d65a6b9667 Merge pull request #3659 from fdlamotte/elecrow_eink_refactor
Elecrow eink refactor
2026-10-24 19:50:03 -04:00
ripplebiz 2797dd7ba1 Merge pull request #3643 from marcelverdult/upstream-candidate/companion-channel-txt-min-len
Fix companion crash on a short CMD_SEND_CHANNEL_TXT_MSG frame
2026-10-24 11:40:49 +11:00
ripplebiz 8723caf0df Merge pull request #3646 from marcelverdult/upstream-candidate/af-nan-text-check
Refuse nan and inf for the airtime factor (set af, set dutycycle)
2026-10-24 11:34:10 +11:00
Marcel Verdult e97de59b57 fix(radio): refuse "nan" for the airtime factor
"set af nan" is accepted and stores a NaN in airtime_factor, the duty cycle
budget the roles hand to their airtime accounting. strtof() consumes the
token, so the parse guard does not fire, and no ordered comparison is true for
a NaN, so "af < 0 || af > 9" cannot reject it. "set dutycycle" writes the same
field and has the same hole.

Both commands now check the text before it is parsed: after optional white
space and sign, a number has to start with a digit or a '.'. That refuses
"nan", "inf" and their variants, and keeps every spelling that was accepted
before (signs, leading white space, ".5"). The ranges and both reply strings
are unchanged.

The check is on the text rather than on the parsed float on purpose. nRF52
builds use -Ofast, and under -ffast-math the compiler may assume a float is
never NaN or infinite. A test on the value, even one that reads its bits, can
then be folded away: clang does exactly that with a bit test at -Ofast, while
arm-none-eabi-gcc keeps it. A character test does not depend on that.
2026-10-22 09:42:58 +00:00
Marcel Verdult 97a6ff714c fix(chat): refuse a negative text length for a group message
CMD_SEND_CHANNEL_TXT_MSG reads txt_type, channel_idx and a 4 byte timestamp, so
the frame needs 7 bytes before the text starts, and the branch had no length
guard. For a shorter frame "len - i" is computed in size_t, wraps, and reaches
sendGroupMessage() as a negative int. The clamp there tests
"text_len + prefix_len > MAX_TEXT_LEN", which a negative value passes, and the
following memcpy() converts the length back to a size_t: a 3 byte frame asks for
4294967292 bytes into a 197 byte stack buffer.

Two guards, because there are two mistakes. The branch now states its minimum
like most other branches of handleCmdFrame do, so a frame below 7 bytes is
answered through the existing path instead of being parsed. And
sendGroupMessage() refuses a negative length the way sendGroupData() in the same
file already does, which protects every other caller.

A frame of exactly 7 bytes keeps working and sends an empty message, as before.

Evidence. On a T-Echo running dev c9fa617c, built with
FIRMWARE_BUILD_DATE "f1-dev" and confirmed by "ver => v1.18.0 (Build: f1-dev)":

  CH_TXT len=7    -> RESP_CODE_OK
  GET_STATS core  -> uptime=78s
  CH_TXT len=3    -> NO REPLY
  DEVICE_QUERY    -> NO REPLY  (three times over 8 s, node never came back)
2026-10-22 09:33:07 +00:00
upstream-sync-bot 4558890275 Merge upstream/dev (2 commits) [upstream-sync] 2026-10-22 05:06:05 +00:00
Florent afbab2de16 DisplayDriver: fixing alignment issue in vtable for nrf52 and epd display 2026-10-21 17:13:27 -04:00
Florent d1d06b92ab refactoring eink devices behaviour 2026-10-21 14:08:56 -04:00
liamcottle 75ea17ea46 implement new auto detect display for sh1106 and ssd1306 2026-10-21 15:41:11 +13: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 1a582db63d nrf52: hardfault recorder v aplikaci a v .noinit (#5)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 22:59:02 +02:00
tthandClaude Opus 5.5 8b55e36f95 nrf52: hodiny přežijí warm reset v .noinit (#5)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 22:17:40 +02:00
rado b2bde37fe4 Fix unsigned conversion of negative TX power in CommonRadioPrefs 2026-10-17 09:36:59 +02:00
upstream-sync-bot 04a6bb3318 Merge upstream/main (20 commits) [upstream-sync] 2026-10-15 11:56:47 +00:00
tthandClaude Opus 5.5 da15d8e685 simple_repeater: filter hash -- runtime deny-forward podle hashe kanálu
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 20:34:19 +02:00
ripplebiz 5ec71b8abf Merge pull request #3575 from agessaman/feat/lr1121-dual-band-power
LR1121: keep TX power valid across sub-GHz and 2.4 GHz
2026-10-14 12:04:47 +11:00
ripplebiz 1726ff0e99 Merge pull request #3574 from agessaman/feat/waveshare-esp32s3-lr1121
feat(variants): add Waveshare ESP32-S3-LR1121
2026-10-14 12:00:11 +11:00
tth 3012453c86 Merge remote-tracking branch 'origin/dev' 2026-10-13 19:41:34 +02:00
ripplebiz 1c3d50fce7 Merge pull request #3573 from meshcore-dev/ack-timing-fix
ACK forwarding timing fix
2026-10-13 15:48:29 +11:00
tthandClaude Opus 5.5 47c550bedd sensor/budka: komentář k číslování měřáků podle uložených zařízení budky
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 03:07:15 +02:00
tthandClaude Opus 5.5 d288425ebf sensor/budka: drobnosti z review před zveřejněním
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 02:56:56 +02:00
tthandClaude Opus 5.5 513b77a8a8 sensor/budka: každý měřák na vlastním LPP kanálu
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 02:32:03 +02:00
tthandClaude Opus 5.5 f4b0a50580 sensor: telemetrie z Chytré budky po drátě (BudkaLinkSensorManager)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 01:56:29 +02:00
agessaman 58721ae6fb fix(radiolib): keep LR1121 tx power valid across sub-GHz and 2.4 GHz
- Clip requested power to the active PA's range instead of failing. A
  stored 22 dBm was rejected at 2.4 GHz (HF PA max 13 dBm), and since
  setTxPower ignores errors the sub-GHz PA stayed configured.
- Re-apply the requested power after every successful retune: PA choice
  depends on the band, and set radio / tempradio only call setParams.
2026-10-11 21:07:05 -07:00
agessaman 223389e936 feat(variants): add Waveshare ESP32-S3-LR1121
ESP32-S3FH4R2 (4MB flash, 2MB PSRAM, native USB-CDC) with an LR1121.
Pins, the DIO5/DIO6 RF switch table and the 1.8 V TCXO follow the HF
schematic and Waveshare's examples. Envs: repeater, room server,
companion USB/BLE and KISS modem, all on min_spiffs so roles share one
partition layout.

Only RFO_HP_LF is wired (R4 on RFO_LP_LF is not fitted), so the new
opt-in LR1121_FORCE_HP_PA flag keeps RadioLib on the HP PA at <= 14 dBm,
where it would otherwise select the unconnected LP PA.
2026-10-11 20:51:18 -07:00