Scott Powell
f4d1bfea18
* repeater: new "get/set loop.detect {off | minimal | moderate | strict }"
2026-03-05 16:26:09 +11:00
Liam Cottle
ec5c82d6ab
Merge pull request #1490 from mesher-de/feature-0hop-cli
...
Add CLI-command for zerohop advert
2026-03-05 15:24:48 +13:00
Liam Cottle
8d7d34fc4b
Merge pull request #1001 from kallanreed/fix_gps_debug_logging
...
Use correct macro for GPS logging test
2026-03-05 13:14:37 +13:00
Liam Cottle
754e2dc2c5
Merge pull request #1841 from weebl2000/nit-prefs
...
prefs is 5 char length :nerd:
2026-03-04 01:39:55 +13:00
ripplebiz
a1e1c4655f
Merge pull request #1743 from weebl2000/fixagcreset
...
fix agc reset on SX126x, SX1276 & LR11x0 chips
2026-03-03 22:19:34 +11:00
Liam Cottle
ee2387c0ac
Merge pull request #1633 from weebl2000/fix/gps-uart-power-leak
...
Fix GPS UART consuming +8mA when disabled (nRF52)
2026-03-03 23:26:58 +13:00
Wouter Bijen and Claude Opus 4.6
d6b1cb77e5
Clarify comment wording: 1 = direct (0 hops)
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-03 08:40:17 +01:00
Wouter Bijen and Claude Opus 4.6
79d0623e3c
Address PR review: subtract-1 encoding and clamp max_hops
...
- Change > to >= so stored value 1 means direct/0-hop only (liamcottle)
- Clamp max_hops to 63 on write since getPathHashCount() caps at 63 (robekl)
- Update comments to reflect encoding: 0=no limit, 1=direct only, N=up to N-1 hops
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-03 08:37:22 +01:00
Wouter Bijen and Claude Opus 4.6
e20b41631b
Add configurable max hops filter for auto-add contacts
...
Filter auto-add of new contacts by hop count (issues #1533 , #1546 ).
Setting is configurable from the companion app via extended
CMD_SET/GET_AUTOADD_CONFIG protocol (0 = no limit, 1-63 = max hops).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-02 20:41:41 +01:00
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
Wessel Nieboer
8a2366043a
fix comment, we know the band now after checking LR1110 user manual
2026-02-28 19:09:25 +01:00
Wessel Nieboer
ce83dc9004
Calibrate configured frequency for AGC reset
2026-02-28 19:09:25 +01:00
Wessel Nieboer
4d2d9a55e4
Also implement LR11x10 AGC reset
...
Similar to SX126x but simpler.
2026-02-28 19:09:25 +01:00
Wessel Nieboer
72810274b8
make it more dry
2026-02-28 19:09:25 +01:00
Wessel Nieboer
4f625ad2e2
reset noise_floor sampling after agc reset
2026-02-28 19:09:25 +01:00
Wessel Nieboer
87e4f6784e
when doing AGC reset, call Calibrate(0x7F)
...
1. warm sleep
2. wake to stdby
3. Calibrate(0x7F) to reset all internal blocks
4. re-apply DIO2 RF / boosted gain & register patch to make sure
everything is as it was
2026-02-28 19:09:25 +01:00
Wessel Nieboer
dd903eac41
fix agc reset
2026-02-28 19:09:25 +01:00
Wessel Nieboer
2f98ef7ddb
prefs is 5 char length :nerd:
2026-02-28 19:07:38 +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
mesher-de
c14a471cab
add advert.zerohop command to CLI
2026-02-17 13:56:18 +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