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
Daniel Novak
3c4d10f55c
Replace 0xFFFFFFFF sentinel with explicit getOutboundTotal()
...
Instead of overloading getOutboundCount() with a magic sentinel value,
add a dedicated getOutboundTotal() method to the PacketManager interface
that returns the total queue size without time filtering.
This eliminates the fragile convention that caused the regression and
makes the two operations — time-filtered count vs total count —
explicitly separate in the API.
2026-02-28 17:19:04 +01:00
Daniel Novak
829bf5012d
Fix countBefore sentinel regression from millis wraparound fix
...
PR #1795 changed PacketQueue::countBefore() to use signed 2's complement
arithmetic for millis wraparound safety. However, this broke the
0xFFFFFFFF sentinel pattern used by callers to mean "count all packets
regardless of schedule".
With the signed comparison, countBefore(0xFFFFFFFF) always returns 0,
causing hasPendingWork() to report false and repeaters to sleep with
packets still queued. Stats reporting also shows queue_len as 0.
Add an early-return for the sentinel value before the loop, and document
the sentinel convention on the virtual interface and implementation.
2026-02-28 16:22:58 +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
Specter242
1dc7bb9680
sensecap solar: add poweroff command and board power/LED parity
2026-02-27 22:12:12 -05:00
João Brázio
75508ac10b
Merge branch 'dev' into 2026/remote-lna
2026-02-27 10:32:14 +00:00
Scott Powell
7d913e45f4
* bug fix: Packet::writeTo(), Packet::readFrom()
2026-02-26 15:36:21 +11:00
lincomatic
4a9524915b
don't limit bridge_baud to 115200
2026-02-25 07:52:42 -08:00
Scott Powell
e25e0b87f9
* Packet::copyPath() fix
2026-02-25 17:10:31 +11:00
Wessel Nieboer
50bddbee61
Fix remote LNA toggle bugs: correct register comparison, add missing implementations, wire up companion radio
...
getRxBoostedGain was returned true because both 0x94 (power saving) and
0x96 (boosted gain = 1) return true
2026-02-24 23:49:06 +01: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
João Brázio
072d73b0f2
Implement remote lna toggle cli cmd
2026-02-10 15:02:23 +00: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
Quency-D
96fee57b80
Fix watchdog code in repeater
2026-02-09 11:43:41 +08:00
Quency-D
03fa3b767e
Merge branch 'dev' into solar-watchdog
2026-02-09 10:15:50 +08:00
ViezeVingertjes
c8672fcb1c
Updated the Dispatcher logic to replace hardcoded values with defined constants for minimum TX budget reserve and airtime division.
2026-02-07 19:07:33 +01:00
ViezeVingertjes
3cf3845d9f
Update logic in Dispatcher to ensure refill is only applied when greater than zero.
2026-02-07 18:26:39 +01: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