Christoph Koehler
f6843b10a6
refactor: split MeshTables::hasSeen into pure query + markSeen
...
hasSeen() was simultaneously a predicate and a mutator — it inserted the
packet hash on every miss, making five call sites that only wanted to mark
a packet as sent call it with the return value discarded.
Split into:
- wasSeen() — pure predicate, no side effects
- markSeen() — explicit insert
All query sites now call markSeen() immediately after wasSeen() returns
false, preserving identical runtime behaviour. The five mark-only send
sites (sendFlood, sendDirect, sendZeroHop x2) now call markSeen directly.
Also fixes three bridge sites (BridgeBase, ESPNowBridge, RS232Bridge)
that had the same query+implicit-insert pattern.
Tests: add test/test_mesh_tables/ covering wasSeen purity, markSeen,
dup stats, and clear. Update SHA256 mock to produce deterministic output
(previously finalize() was a no-op). Add Packet.cpp to native build filter.
2026-07-01 21:51:38 -06:00
Liam Cottle
761b40df5e
Merge pull request #2873 from ckoehler/fix/nix-devshell
...
build: add gcc, gtest to nix shell, fix native test framework
2026-07-02 11:32:21 +12:00
Christoph Koehler
caece08f8d
build: add gcc, gtest to nix shell, fix native test framework
2026-07-01 08:19:27 -06:00
entr0p1
5ed80856c4
SX1262 LDO Support
...
- Added build flag "SX126X_USE_REGULATOR_LDO" (set to 1 to enable) to use LDO for the SX1262 radio instead of DC-DC when the DCDC pin isn't wired up (e.g. t-echo lite)
- Added additional debug mode diagnostic messages during SX1262 init to better highlight faults
2026-06-30 16:55:16 +10:00
Liam Cottle
ff3ed838cf
Merge pull request #2853 from HDDen/dev
...
Add Data-Type to number_allocations.md
2026-06-29 21:49:19 +12:00
HDDen
de1ec0dbd3
Update number_allocations.md
2026-06-29 12:41:44 +03:00
HDDen
3f419b9184
Update number_allocations.md
...
Added Data-Type range for MeshCore Images codec (range is for small reserve to future versions)
2026-06-28 00:32:22 +03:00
Scott Powell
412cfe4a96
* ACK packets being 'clipped' (in Dispatcher send). Needed to extend max_airtime timeout calc for short packets
2026-06-27 21:06:01 +10:00
Liam Cottle
a2ae24e51f
Merge pull request #2570 from IoTThinks/MCdev-Fixed-flashmode-XiaoC6-202605
...
Added flash_mode=dio to avoid boot loop when flashing using merge.bin
2026-06-27 11:32:10 +12:00
Liam Cottle
2bb7495356
Merge pull request #2639 from sefinek/fix/typos-in-comments
...
fix: fix typos in source code comments
2026-06-27 11:26:54 +12:00
Liam Cottle
00df5fd04c
Merge pull request #2844 from oltaco/fix-rx-boosted-gain
...
Fix for Rx boosted gain on LR1110
2026-06-27 11:22:47 +12:00
taco
1e5e1f4e0d
always save boosted gain setting
2026-06-26 22:36:49 +10:00
Quency-D
0d034d4738
Merge pull request #14 from meshcore-dev/dev
...
merge Dev
2026-06-26 17:16:23 +08:00
Liam Cottle
5ec30db9dd
Merge pull request #1194 from ViezeVingertjes/nibble_zero_connect
...
Added support for the nibble zero connect
2026-06-26 13:59:59 +12:00
taco
5eb4e7e5da
fix: report error when rxgain setting is unsupported or rejected
2026-06-26 08:45:03 +10:00
taco
1a90abdbe2
return bool when setting rx boost
2026-06-26 07:44:01 +10:00
ViezeVingertjes
f2a68a164f
Add trailing underscore to nibble_screen_connect env names to exclude from automatic builds
2026-06-25 23:27:07 +02:00
ViezeVingertjes
3ba242894d
Address review comments and sync with dev
2026-06-25 23:26:55 +02:00
ViezeVingertjes
2c5259f263
Remove NeoPixel configuration as its unused.
2026-06-25 23:26:55 +02:00
ViezeVingertjes
7407536366
Added support for the nibble zero connect
2026-06-25 23:26:55 +02:00
taco
e076cd4e3d
remove guard on MyMesh::setRxBoostedGain()
2026-06-26 07:06:37 +10:00
liamcottle
b610750b24
initial support for elecrow thinknode m7
2026-06-25 16:03:27 +12:00
UltimateCodeWarrior
a3a48badc8
Fix blank OLED on T-Beam Supreme V3 (I2C bus + 0x3D address)
...
The SH1106 OLED on the LilyGo T-Beam Supreme V3 never lights up because:
1. The primary I2C bus (Wire) that the OLED, BME280 and magnetometer share
is never initialized. The PMU/RTC use Wire1 (via XPowersLib); nothing
brings up Wire on PIN_BOARD_SDA/PIN_BOARD_SCL, so the display driver
talks on the wrong default pins.
2. The OLED is at I2C address 0x3D on this board (0x3C is taken by the
QMC6310 magnetometer), but SH1106Display::begin() only tried 0x3C.
Initialize Wire for TBEAM_SUPREME_SX1262, and have SH1106Display::begin()
prefer 0x3D (only ever used by the OLED) before falling back to 0x3C.
Backwards-compatible for boards with the OLED at 0x3C.
Closes #2609
2026-06-22 23:39:34 -07:00
ripplebiz
02e48b2eb6
Merge pull request #2752 from Quency-D/heltec-tower-v2
...
Add Heltec tower v2
2026-06-23 11:51:03 +10:00
ripplebiz
2c61050cbf
Merge pull request #2765 from fizzyfuzzle/ESP32-Reset-Reason
...
Add ESP32 Reset Reason to existing pwrmgt.bootreason cli command
2026-06-23 11:41:57 +10:00
ripplebiz
76a003eac0
Merge pull request #2771 from oltaco/nrf52-framework-buildfix
...
Point Heltec Mesh Solar and Mesh Pocket at our NRF52 framework fork
2026-06-23 11:37:03 +10:00
Liam Cottle
7077842765
Merge pull request #2810 from IoTThinks/MCDev-Fixed-GPS-Time-for-T114-202606
...
Fixed GPS time sync for Heltec T114
2026-06-22 14:19:09 +12:00
Kevin Le
07b07995a5
Fixed GPS time sync for Heltec T114
2026-06-22 09:13:36 +07:00
Ryan Gregg
7f1ecc2045
Merge remote-tracking branch 'upstream/dev' into rak-ethernet
...
# Conflicts:
# docs/faq.md
# examples/companion_radio/main.cpp
2026-06-20 14:39:03 -07:00
ripplebiz
919d2cffe3
Merge pull request #1727 from weebl2000/use-hardware-channel-activity-detection
...
Use hardware channel activity detection for checking interference
2026-06-15 19:51:59 +10:00
taco
c44f1b706d
build fix for Heltec Mesh Solar and Mesh Pocket
2026-06-15 00:57:12 +10:00
Wessel Nieboer
e77b6b101f
Have CAD be a separate toggle (set cad on/off)
2026-06-14 15:20:58 +02:00
Wessel Nieboer
3f1c0fb60b
Prevent packet errors from growing
2026-06-14 15:19:20 +02:00
Wessel Nieboer
3c1511884e
Just check for not channel free
2026-06-14 15:19:19 +02:00
Wessel Nieboer
3095bc458b
Also return busy if preamble detected
2026-06-14 15:19:19 +02:00
Wessel Nieboer
720cd75167
Use hardware channel activity detection for checking interference
2026-06-14 15:19:18 +02:00
Marco
33b5e2f91c
Add ESP32 Reset Reason
2026-06-14 11:41:01 +02:00
Huw Duddy
af043a41b4
Merge pull request #2763 from meshcore-dev/anon-contacts-fix
...
* fix for anon contacts when full
2026-06-14 19:11:38 +10:00
Scott Powell
e2a00e664e
* fix for anon lastmod
2026-06-14 18:54:51 +10:00
Scott Powell
7728baae11
* fix for counter in RESP_CODE_CONTACTS_START
2026-06-14 18:39:34 +10:00
Scott Powell
326e8de439
* now handle the case where onAdvertRecv() should _replace_ the anon contact slot
2026-06-14 18:12:08 +10:00
Scott Powell
03dce189f1
* fix for anon contacts when full
2026-06-14 17:50:41 +10:00
ripplebiz
5ad21f8c65
Merge pull request #2140 from Quency-D/cli-lna-command
...
Add CLI control to LoRa's fem LNA.
2026-06-13 22:00:08 +10:00
Quency-D
06e7d0f282
Restore companion NodePrefs file ending
2026-06-13 17:40:11 +08:00
Quency-D
4e6e909f7e
Remove companion FEM RX gain command IDs
2026-06-13 17:31:54 +08:00
Scott Powell
840fe023e6
* PAYLOAD_TYPE_PATH bad path_len now rejected
2026-06-13 18:19:41 +10:00
Quency-D
f2a332b6fc
Fix low power consumption issues
2026-06-13 16:00:06 +08:00
Liam Cottle
c283a6e183
Merge pull request #2753 from formtapez/cli-docs
...
Added some missing CLI commands
2026-06-13 00:17:36 +12:00
formtapez
5ae8c26772
fix formatting
2026-06-12 12:14:46 +02:00
formtapez
b21b12ec7f
added some missing CLI commands
2026-06-12 12:11:12 +02:00