Commit Graph
3673 Commits
Author SHA1 Message Date
Florent 38fa18efb7 gps: move detection into LocationProvider, remove the legacy constructor 2026-11-08 08:47:34 -04:00
Florent 839bb165fc gps: guard the clock sync against stalled and too old fixes 2026-11-08 08:47:34 -04:00
Florent d71a418748 gps: serial pin and configuration fixes (nrf52, meshadventurer, tracker_v1, heltec_tracker) 2026-11-08 08:47:34 -04:00
Níckolas Goline 22ce208e68 muzi_base: fix GPS UART pins and re-enable ATGM336H NMEA output
The refactor no longer calls Serial1.setPins() on nRF52, so Serial1 uses
PIN_SERIAL1_RX/TX directly. Those were swapped (the GPS transmits on
P0.20), so no data was received. Fix them and define PIN_GPS_TX/RX by the
gps module's side, as other variants do.

The ATGM336H keeps its NMEA output config across power cycles, and other
firmware may leave every sentence disabled. Re-enable GGA + RMC after each
power-up.
2026-11-08 08:47:34 -04:00
Florent d49621c805 gps: fix_stats command 2026-11-08 08:47:34 -04:00
Florent 3fd36e7ac6 gps: adapt ui-new and the sensor managers 2026-11-08 08:47:34 -04:00
Florent fa7ca3f418 rak_gps: simplify the rak driver, which now only handles i2c, for nmea use nmea driver directly 2026-11-08 08:47:34 -04:00
Florent 4ac1ed1d9e gps: periodic acquisition rules (timeout, sats and settle time), isEnabled renamed isActive 2026-11-08 08:47:34 -04:00
Florent 36b53d8de9 gps: cache the last fix in LocationProvider (isValid vs hasValidFix), fix and status commands 2026-11-08 08:47:34 -04:00
Florent fe6a47d0c9 gps: move the gps CLI to GpsPrefs and convert all targets 2026-11-08 08:47:34 -04:00
Florent df5a768c5d gps: add GpsDriver, handle the hardware and software switches in the drivers 2026-11-08 08:47:34 -04:00
ripplebiz 5533c24fde 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
ripplebiz e8202db662 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 c79500e6ad radiolib: drop received packets whose LoRa header says no CRC. 2026-10-30 14:05:25 +00:00
ripplebiz 61eb1950cd 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 77d81d1f82 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 017db61cae 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 04d72b1049 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 5d7100ae7d ui: add some parameters to the cli (mostly regarding eink behaviour) 2026-10-29 08:34:41 -04:00
ripplebiz cf286687d2 Merge pull request #3682 from meshcore-dev/fix-scope-zero
scope 0 rule fixes
2026-10-29 12:17:09 +11:00
Amoulier f688d99baf Initialize the RadioLib receive error counter 2026-10-28 18:56:16 -04:00
ripplebiz 42ded8da64 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 02c827b27d 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 93ddc86db6 Merge pull request #3692 from Seeed-Studio/dev
Fix LR2021 hot frequency change over BLE
2026-10-28 12:48:39 +11:00
fdlamotte 6fd8e2f4bb 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 cedb8050a5 Remove unused buttonStateChanged from some variants 2026-10-27 15:52:36 -04:00
fdlamotte f869e565d0 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 492814bbef 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 afa4b87c6c 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 fd56b1a36c 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 b594cfdace Merge pull request #3693 from recrof/patch-4
bump RadioLib to 7.8.1
2026-10-27 21:58:19 +13:00
Rastislav Vysoky 63bc8ed2bf bump RadioLib to 7.8.1 2026-10-27 09:56:20 +01:00
rado 3e4f71d9a2 Drop unit tests per review feedback 2026-10-27 07:21:24 +01:00
WayenWeng b0bacf8a04 fix(radio): put LR2021 in standby before re-config in setParams 2026-10-27 10:44:36 +08:00
ripplebiz d694bd39c7 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 e197e557c3 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 55b961e36f * unit test fix 2026-10-26 20:39:46 +11:00
Scott Powell bd882a2aa2 * scope 0 rule fixes 2026-10-26 20:29:39 +11:00
Blake LatchfordandClaude Opus 5.5 26e438904e 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 46216b2d0d 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 55abbe72b2 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 36eb5ebad2 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 2cad4eecb4 ThinknodeM5: enable wifi in usb companion 2026-10-25 17:49:16 -04:00
fdlamotte ea8e95447f Merge pull request #3659 from fdlamotte/elecrow_eink_refactor
Elecrow eink refactor
2026-10-24 19:50:03 -04:00
Florent b2106ea7ee ThinknodeM1: update eink driver 2026-10-24 13:26:06 -04:00
Florent d7c0eadbe2 thinknode_m1: fix button2 definition 2026-10-24 11:15:28 -04:00
Florent da98f5318d UiTask: better cleaning of eink screens when hibernating 2026-10-24 10:16:56 -04:00
ripplebiz cd9f97fd4a 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 61363a3309 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 47259633f2 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