Commit Graph
3790 Commits
Author SHA1 Message Date
tthandClaude Opus 5.5 e31cd00a53 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 812b3bb9ac 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 6e76af57d7 lint: shfmt, shellcheck, mypy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 16:56:55 +01:00
tthandClaude Opus 5.5 177129d94b tools: ruff clean across the directory
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 16:53:23 +01:00
tthandClaude Opus 5.5 46994d65cd Merge upstream/dev (2 commits) [upstream-sync]
Conflict in CustomSX1262Wrapper.h was whitespace only: upstream added
lastRxHadCRC() next to isReceivingPacket(), whose trailing space we had
stripped. Kept both; our LORA_POLL_IRQ irqDoneMask() is untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 16:30:14 +01:00
ripplebiz d7d17dd230 Merge pull request #3739 from A13xB0/fix/rx-header-no-crc
Drop received packets whose LoRa header says no CRC in RadioLib override
2026-10-31 12:29:10 +11: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 55014e3103 Merge upstream/dev (11 commits) [upstream-sync]
Conflict in examples/companion_radio/ui-new/UITask.cpp: upstream replaced
UI_SHOW_CLOCK with the runtime pref ui_show_clock; kept that and our
BLE pin condition (shown only while Bluetooth is enabled).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 13:36:32 +01:00
ripplebiz 351a1ad20c Merge pull request #3728 from AlexandrTyshchenko/fix/sensor-list-overflow
Fix possible reply buffer overflow in 'sensor list'
2026-10-30 13:36:22 +11:00
Liam Cottle b09b12d4ef Merge pull request #3603 from A13xB0/companion-buzzer-cli
Add CLI command to toggle the buzzer for companions
2026-10-30 12:53:18 +13: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 34f433225e 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 e1d4af3bbd 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 d9c7d2e9cd Merge remote-tracking branch 'origin/dev' 2026-10-28 20:29:38 +01:00
ripplebiz 65c6a42627 Merge pull request #3688 from Blake-Latchford/fix/stats-dup-count-wrap
Saturate duplicate packet stats instead of wrapping
2026-10-28 17:06:21 +11: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
fdlamotte 8fa4ef8b65 Merge pull request #3703 from fdlamotte/remove_button_state_changed
Remove unused buttonStateChanged from some variants
2026-10-27 16:03:02 -04:00
Florent a1528cc36f Remove unused buttonStateChanged from some variants 2026-10-27 15:52:36 -04:00
fdlamotte 7ab21ebe2d Merge pull request #3702 from akalinin-softvelum/fix/techo-eink-driver
T-Echo: use GxEPD2_154_D67 e-ink driver
2026-10-27 14:56:21 -04:00
akalinin-softvelum b2997ef0d3 T-Echo: use GxEPD2_154_D67 e-ink driver
T-Echo used the fallback GxEPD2_150_BN; on my unit every refresh hit the
10 s busy timeout. Switch to GxEPD2_154_D67 like Meshtastic.
2026-10-27 18:20:36 +00:00
fdlamotte b714aa2419 Merge pull request #3509 from marcelverdult/fix/thinknode-m8-sensors
Fix ThinkNode M8 repeater/room server build: compile sensor helpers for all envs
2026-10-27 09:31:51 -04: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
Liam Cottle c60490f741 Merge pull request #3693 from recrof/patch-4
bump RadioLib to 7.8.1
2026-10-27 21:58:19 +13:00
Rastislav Vysoky 15c58df0d9 bump RadioLib to 7.8.1 2026-10-27 09:56:20 +01:00
rado 4d93dfbc04 Drop unit tests per review feedback 2026-10-27 07:21:24 +01: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 f889b7d8a2 * unit test fix 2026-10-26 20:39:46 +11:00
Scott Powell ab64c87c38 * scope 0 rule fixes 2026-10-26 20:29:39 +11:00
upstream-sync-bot 987fd35973 Merge upstream/dev (7 commits) [upstream-sync] 2026-10-26 05:06:09 +00:00
Blake LatchfordandClaude Opus 5.5 8e0e5b8110 Saturate duplicate packet stats instead of wrapping
Tested on a Heltec V4 repeater with the counter seeded at 65530.

Fixes #3255

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 21:45:10 -04:00
ripplebiz 4d3178d82a Merge pull request #3617 from aXistem-dev/feat/tz-offset-quarter-hours
Show quarter-hour timezone offsets with two decimals
2026-10-26 12:27:10 +11:00
ripplebiz a36ab23469 Merge pull request #3667 from Blake-Latchford/fix/kiss-modem-usbcdc-tx-buffer
Fix broken KISS modem build on 6 ESP32-S3 platforms
2026-10-26 12:02:57 +11:00
ripplebiz e258ebc98f Merge pull request #3680 from fdlamotte/m5_wifi_usb_companion
ThinknodeM5: enable wifi in usb companion
2026-10-26 11:18:10 +11:00
Florent 6f9b3ba155 ThinknodeM5: enable wifi in usb companion 2026-10-25 17:49:16 -04:00
upstream-sync-bot 9d02e2870d Merge upstream/dev (10 commits) [upstream-sync] 2026-10-25 01:03:21 +00:00
tthandClaude Opus 5.5 09a7a39abf platformio: zástupné secrets.admin_pw (upstream-sync CI bez local.ini padal na tth_fleet)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 02:54:46 +02:00
fdlamotte d65a6b9667 Merge pull request #3659 from fdlamotte/elecrow_eink_refactor
Elecrow eink refactor
2026-10-24 19:50:03 -04:00
Florent 81fa5d7f5a ThinknodeM1: update eink driver 2026-10-24 13:26:06 -04:00
Florent f0ea4620ca thinknode_m1: fix button2 definition 2026-10-24 11:15:28 -04:00
Florent e8be1ad6b2 UiTask: better cleaning of eink screens when hibernating 2026-10-24 10:16:56 -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
Blake Latchford fded88ac6a Fix broken KISS modem build on 6 ESP32-S3 platforms
Broken out from PR #3496 which has been open for a month.
2026-10-22 17:57:33 -04: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