Wessel Nieboer
7d1ddfd312
Fix GPS +8mA power leak when disabled (nRF52)
...
On the T114, GPS_RESET (pin 38) is the same pin as PIN_3V3_EN.
MicroNMEALocationProvider::begin() sets pin 38 HIGH (powering the 3V3
rail) but stop() never set it back LOW, leaving the GPS module powered
even when disabled.
Assert reset pin in stop() to mirror begin(), and guard
_location->loop() behind gps_active check.
Fixes meshcore-dev/MeshCore#1628
2026-02-28 19:13:42 +01:00
enricolorenzoni59
954a2d084b
gps sync reply: fill buffer with text
2026-02-28 09:07:30 +00:00
Liam Cottle
ae2d9c40cc
Merge pull request #1569 from IoTThinks/MCdev-Fixed-Incorrect-Release-of-RefCountedDigitalPin
...
Fixed RefCountedDigitalPin.h and SSD1306Display for Heltec v4
2026-02-28 17:35:17 +13:00
Scott Powell
7d913e45f4
* bug fix: Packet::writeTo(), Packet::readFrom()
2026-02-26 15:36:21 +11:00
Scott Powell
e25e0b87f9
* Packet::copyPath() fix
2026-02-25 17:10:31 +11:00
Scott Powell
0c8a5c80cf
* Dispatcher bug fixes
2026-02-23 23:51:30 +11:00
Scott Powell
9f1f1bcf47
* CommonCLI: added "get/set path.hash.mode "
2026-02-23 14:25:19 +11:00
Scott Powell
8423633db3
Merge branch 'dev' into multibyte-paths
2026-02-23 13:11:36 +11:00
Daniel Novak
4997c74e73
Fix millis() wraparound in PacketQueue time comparisons
...
PacketQueue::countBefore() and PacketQueue::get() use unsigned
comparison (_schedule_table[j] > now) to check if a packet is
scheduled for the future. This breaks when millis() wraps around
after ~49.7 days: packets scheduled just before the wrap appear
to be in the far future and get stuck in the queue.
Use signed subtraction instead, matching the approach already used
by Dispatcher::millisHasNowPassed(). This correctly handles the
wraparound for time differences up to ~24.8 days in either
direction, well beyond the maximum queue delay of 32 seconds.
2026-02-22 18:01:55 +01:00
Scott Powell
62320b64c5
* refactor of Contact/Client out_path_len (stored in files), from signed to unsigned byte (+2 squashed commits)
...
Squashed commits:
[f326e25] * misc
[fa5152e] * new 'path mode' parsing in Dispatcher
2026-02-21 19:35:51 +11:00
ripplebiz
1e1e57c8cd
Merge pull request #1726 from weebl2000/fix-packet-pool-leak-queue-full
...
Fix packet pool leak when rx queue is full
2026-02-21 17:18:02 +11:00
Kevin Le
fa55496ebc
Avoid negative _claims
2026-02-18 22:32:01 +07:00
Kevin Le
15f25697db
Fixed RefCountedDigitalPin.h to release claim correctly. Ensure no negative claims number.
2026-02-18 22:32:01 +07:00
taco
428f0e3ded
add get bootloader.ver command for nrf52
2026-02-18 15:35:20 +11:00
Wessel Nieboer
0181520f4c
Fix packet pool leak when rx queue is full
...
PacketQueue::add() silently dropped packets when the queue was at
capacity. The packet pointer was lost — never enqueued, never returned
to the unused pool. Each occurrence permanently shrank the 32-packet
pool until allocNew() returned NULL and the node went deaf. Return bool
from add() and free the packet back to the pool on failure.
2026-02-17 23:54:33 +01:00
recrof
2bb616689c
fix M5Stack Unit M6L build errors
2026-02-15 11:25:27 +01:00
ripplebiz
469c2e7332
Merge pull request #1570 from Quency-D/fix-heltec-power-consumption
...
Fix heltec-v4 power consumption
2026-02-09 16:49:49 +11:00
Wessel Nieboer
553f922d34
Fix double claim, eliminate dead code at compile time
2026-02-06 11:35:05 +01:00
Wessel Nieboer
20e71ebc53
Allow negative tx power
...
Like SX1262 allows -9 dBm lowest, some allow lower but that probably
isn't useful
2026-02-06 02:24:51 +01:00
ripplebiz
38414f07de
Merge pull request #1398 from Socalix/heltecv4-register1
...
Improve Heltec v4 RX reception with undocumented register patch
2026-02-05 19:14:18 +11:00
ripplebiz
5ebfac4982
Merge pull request #1562 from oltaco/nrf52-sleep-repeater
...
Add Low-Power Sleep for nRF52 Boards
2026-02-05 13:16:47 +11:00
ripplebiz
a1ddfec6e4
Merge pull request #1532 from oltaco/esp32board.h-removewifi
...
Refactor ESP32Board.h to save ~500 bytes of DRAM
2026-02-05 13:09:04 +11:00
Quency-D
2c4a5df4cc
Fix low power consumption issues
2026-02-02 14:19:42 +08:00
taco
8c9ce15f66
nrf52: allow repeater to sleep when idle
2026-02-01 14:51:27 +11:00
ripplebiz
0ff57a20a3
Merge pull request #1495 from oltaco/esp32-advblob-removal
...
Fix unlimited advert blob growth on ESP32
2026-02-01 13:37:28 +11:00
ripplebiz
3d8aee36de
Merge pull request #1498 from piotrmalek/fix-env-sensor-manager
...
Fix incorrect INA260 address in debug message
2026-02-01 13:34:58 +11:00
ripplebiz
258060eabb
Merge pull request #1512 from litruv/dev
...
Refactor display scaling definitions for HELTEC_VISION_MASTER_T190
2026-02-01 13:33:53 +11:00
taco
cdd00716ee
only store advblob when adding/updating contacts
2026-02-01 00:02:30 +11:00
taco
e36ca64f00
fix: remove esp_wifi.h from esp32board.h
...
saves ~500 bytes of dram and allows Tbeam to compile again
2026-01-30 15:07:40 +11:00
SoCalix
2475bbd2d1
Merge branch 'dev' into heltecv4-register1
2026-01-29 09:12:35 -06:00
Max Litruv Boonzaayer
6f7c74ceb5
Refactor display scaling definitions for HELTEC_VISION_MASTER_T190
2026-01-29 08:05:26 +11:00
João Brázio
f5ad70559a
Fix: Correct validation logic in isValidName function
2026-01-27 19:36:12 +00:00
Piotr Małek
b3c3b91021
Fix incorrect INA260 address in debug message
2026-01-27 16:29:31 +01:00
fdlamotte
b3d4dfa05b
Merge branch 'dev' into nrf-dcdc
2026-01-27 08:42:58 -04:00
ripplebiz
7fc19d0d51
Merge pull request #1486 from Quency-D/fix-heltec-v4-tft
...
Add heltec v4-tft code.
2026-01-27 19:47:20 +11:00
Scott Powell
ce47082c7b
* Fix: RegionMap build fail on _max
2026-01-27 18:16:21 +11:00
Scott Powell
b9a2b21dd3
* new "clkreboot" CLI command
2026-01-27 15:22:18 +11:00
ripplebiz
dd21b64fb3
Merge pull request #1476 from mattzzw/region_via_LoRa
...
Add cli command `region list {allowed|denied}`, enable output of region cmd via remote cli
2026-01-27 11:07:22 +11:00
Matthias Wientapper
9dbda71566
Add output of region cmd via lora cli
...
Add cli commands "region list {allowed|denied}"
2026-01-26 17:44:43 +01:00
liamcottle
2fb315839c
increase maximum flood advert interval to 168 hours (7 days)
2026-01-26 23:05:10 +13:00
liamcottle
6cb97cca77
boot adverts are now zero hop instead of flood
2026-01-26 22:20:36 +13:00
ripplebiz
0d6d2b9b9f
Merge pull request #1477 from Cisien/dev
...
Expose a counter to track RadioLib receive errors
2026-01-26 19:04:48 +11:00
Quency-D
165b36bbf0
Add v4-tft code.
2026-01-26 13:48:15 +08:00
Scott Powell
13118a1cc5
* region names now don't need '#' prefix. (SHA still adds a '#' for back compat)
2026-01-25 18:35:55 +11:00
Chris
834d2ff6dd
Expose a counter to track RadioLib receive errors
...
This change counts when readData returns an err code other than RADIOLIB_ERR_NONE. In most cases this is going to be a CRC error. This counter is exposed in the `stats-packets` command, and in the repeater stats payload (4 additional bytes to the payload, which is now 56 bytes with this change. My incompetent robot claims the total payload size is 96 bytes (unverified but probably close).
2026-01-24 20:06:29 -08:00
ripplebiz
d32913a694
Merge pull request #1457 from oltaco/remote-set-prvkey
...
Allow set prv.key over LoRa, clear ACL and validate key
2026-01-25 14:46:41 +11:00
taco
a6ecec57f1
allow set prv.key from remote, validate new prv.key
2026-01-25 01:32:48 +11:00
taco
447b4ca36c
recalc ClientACL shared_secrets at startup
2026-01-25 01:32:44 +11:00
taco
1df8dc9ef3
refactor ClientACL and CommonCLI, add ClientACL::clear()
2026-01-25 01:31:53 +11:00
ripplebiz
9d43a8c467
Merge pull request #1456 from Quency-D/fix-env-i2c
...
Fix env i2c errors
2026-01-24 21:58:14 +11:00