Wessel Nieboer
a2dc2eb50c
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
f81ec4b14c
fix agc reset
2026-02-28 19:09:25 +01:00
Wessel Nieboer
d9e67222f5
prefs is 5 char length :nerd:
2026-02-28 19:07:38 +01:00
Daniel Novak
c7568a8db0
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
c436bd42c5
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
8ad17d1022
gps sync reply: fill buffer with text
2026-02-28 09:07:30 +00:00
Liam Cottle
eee42c5099
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
e323755990
sensecap solar: add poweroff command and board power/LED parity
2026-02-27 22:12:12 -05:00
João Brázio
64a16d7ad2
Merge branch 'dev' into 2026/remote-lna
2026-02-27 10:32:14 +00:00
Scott Powell
b67decfba0
* bug fix: Packet::writeTo(), Packet::readFrom()
2026-02-26 15:36:21 +11:00
lincomatic
557d714c3c
don't limit bridge_baud to 115200
2026-02-25 07:52:42 -08:00
Scott Powell
8737c64fdb
* Packet::copyPath() fix
2026-02-25 17:10:31 +11:00
Wessel Nieboer
8bf63256b6
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
45564bad9b
* Dispatcher bug fixes
2026-02-23 23:51:30 +11:00
Scott Powell
a66773bac0
* CommonCLI: added "get/set path.hash.mode "
2026-02-23 14:25:19 +11:00
Scott Powell
05e7b682b9
Merge branch 'dev' into multibyte-paths
2026-02-23 13:11:36 +11:00
Daniel Novak
011edd3c99
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
3e76161e9c
* 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
d05d6abab8
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
39fb2902ec
Avoid negative _claims
2026-02-18 22:32:01 +07:00
Kevin Le
063f5056f2
Fixed RefCountedDigitalPin.h to release claim correctly. Ensure no negative claims number.
2026-02-18 22:32:01 +07:00
taco
1500a5a9cb
add get bootloader.ver command for nrf52
2026-02-18 15:35:20 +11:00
Wessel Nieboer
ffc9815e9a
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
8e404e9aea
add advert.zerohop command to CLI
2026-02-17 13:56:18 +01:00
recrof
cafc212bb2
fix M5Stack Unit M6L build errors
2026-02-15 11:25:27 +01:00
João Brázio
71136671bd
Implement remote lna toggle cli cmd
2026-02-10 15:02:23 +00:00
ripplebiz
3f33455b4d
Merge pull request #1570 from Quency-D/fix-heltec-power-consumption
...
Fix heltec-v4 power consumption
2026-02-09 16:49:49 +11:00
ViezeVingertjes
519b97a90a
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
30d6588792
Update logic in Dispatcher to ensure refill is only applied when greater than zero.
2026-02-07 18:26:39 +01:00
Wessel Nieboer
0b1fd580f1
Fix double claim, eliminate dead code at compile time
2026-02-06 11:35:05 +01:00
Wessel Nieboer
d0720c63c2
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
f7e92a7cd1
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
76a46a74e9
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
4b9d5462bb
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
e15503d50d
Fix low power consumption issues
2026-02-02 14:19:42 +08:00
taco
a342ab8437
nrf52: allow repeater to sleep when idle
2026-02-01 14:51:27 +11:00
ripplebiz
699d1cd0b6
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
13cfc9ad4c
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
f231347131
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
31ba971c60
only store advblob when adding/updating contacts
2026-02-01 00:02:30 +11:00
taco
c7eea3915d
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
31fbb679d5
Merge branch 'dev' into heltecv4-register1
2026-01-29 09:12:35 -06:00
Max Litruv Boonzaayer
dd2a9044f3
Refactor display scaling definitions for HELTEC_VISION_MASTER_T190
2026-01-29 08:05:26 +11:00
João Brázio
edeafde51c
Fix: Correct validation logic in isValidName function
2026-01-27 19:36:12 +00:00
Piotr Małek
3845a1c021
Fix incorrect INA260 address in debug message
2026-01-27 16:29:31 +01:00
fdlamotte
3f3978c7d3
Merge branch 'dev' into nrf-dcdc
2026-01-27 08:42:58 -04:00
ripplebiz
fedf703262
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
5ff6e813bd
* Fix: RegionMap build fail on _max
2026-01-27 18:16:21 +11:00
Scott Powell
5627500988
* new "clkreboot" CLI command
2026-01-27 15:22:18 +11:00
ripplebiz
d81616ec68
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