Commit Graph
3796 Commits
Author SHA1 Message Date
upstream-sync-bot d6d9fe52c6 Merge upstream/dev (2 commits) [upstream-sync] 2026-11-02 05:06:07 +00:00
Liam Cottle 221e1bd7ba Merge pull request #3750 from jooray/docs/road-events-data-type
Add Road Events allocation for GroupData
2026-11-02 12:36:14 +13:00
tthandClaude Opus 5.5 f8ea4144d9 Merge upstream dev: RadioLib rx error counter (#3715)
Conflict in the RadioLibWrapper constructor: our txpow fields + upstream's
n_recv_errors init, both kept. Builds Xiao_nrf52_sensor and
SenseCap_Solar_repeater_ble, native tests 109/109.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 22:25:08 +01:00
Juraj Bednar 90ffa57c5f Add Road Events allocation for GroupData 2026-11-01 13:32:38 +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 c940db7523 radiolib: RADIO_DIAG reads the SX1262 status byte by hand
SX126x::getStatus() asks SPIreadStream for zero data bytes, so the status
never reaches the caller and radiostat showed mode=0 on a receiving chip.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 20:44:42 +01:00
tthandClaude Opus 5.5 e6f2ae6249 radiolib: RADIO_DIAG -- radiostat/radiokick for a receiver that went deaf
bench-sensor stopped receiving on 31. 10. 2026 (recv frozen for minutes,
noise_floor -120, last_rssi 0, nothing in the debug log); a reboot revived it.
Before fixing anything, find out WHERE it is stuck:

  radiostat   wrapper state, DIO1 ISR count/age, last good RX age, plus the
              SX1262 side: chip mode, cmd status, IRQ register, device errors,
              instantaneous RSSI, DIO1/RXEN pin levels, boosted gain. Read only.
  radiokick   one recovery step at a time (rx | clrirq | standby | agc); the
              first one that brings recv back names the broken layer.

Compiled only with -D RADIO_DIAG; the sensor example wires the commands in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 19:51:11 +01:00
tthandClaude Opus 5.5 49886b6c04 tools, hooks: shfmt, shellcheck warnings, mypy clean
shfmt over tools/ and .claude/hooks/ (layout only: `shfmt -mn` output is
identical before and after). flash_node.sh: `cd "$ROOT" || die`, and the
three `ls /dev/serial/by-id | grep "$TARGET"` keep their regex semantics
under a commented SC2010 exemption instead of a glob rewrite in the
flasher. mypy: budka_telem's `# type:` comment was parsed as a type
comment, mesh_sniffer's Counter got an annotation, build_version (SCons)
exempts the SCons builtins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 16:56:55 +01:00
tthandClaude Opus 5.5 77e19c1f82 tools: ruff clean across the directory
Layout and naming only: split import lists and `a; b` one-liners, drop
an unused `subprocess` import (board_probe) and a placeholder-less
f-string (openhop_observer_config), rename `l` to `ln` (E741).
build_version.py is a SCons script whose `Import`/`env` are SCons
builtins and must come first, so it gets a commented file-wide noqa
instead of a rewrite. ASTs unchanged apart from those edits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 16:53:23 +01:00
tthandClaude Opus 5.5 f6d0972f9d 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 fd04fdf093 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 0889cbaa51 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
tthandClaude Opus 5.5 5a8c32f69b test(native): fix duplicate AdvertDataHelpers after upstream test
Upstream test_empty_contact_slots #includes helpers/AdvertDataHelpers.cpp
itself, while our native envs also compiled it via build_src_filter, so the
native test binary failed to link (multiple definition) and upstream-sync
stopped pushing since 2026-10-27. Drop it from the filter and include it in
test_battery_icon the same way upstream tests do.

native_asan skips test_empty_contact_slots: it is the first test to run
ed25519 on the host and UBSan stops on the ref10 left-shift idiom in
lib/ed25519/fe.c, not on our code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 20:34:24 +01:00
tth ec8e6bcdda 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 fbf9b072f2 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 040b51e807 Merge upstream/dev (10 commits) [upstream-sync] 2026-10-25 01:03:21 +00:00
tthandClaude Opus 5.5 c959ff79ec 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