Nick Dunklee
37bd27afa9
feat: use RAK hardware crypto on advert processing
...
While working on some sensor code implementations, I ran into
some hard crashes that root-caused to the 4KB loop task stack
being exhausted.
Looking for various optimization schemes resulted in this relatively
low-lift fix. RAK3401 and RAK4631 both support hardware crypto.
Rather than loading in one of the two software crypto libs,
we can just use the onboard hardware. This is faster, should
consume less power, and in testing used a scant up to 700
bytes in the run loop vs 2.5-3KB per advert.
This change **only** affects advert verification processing, which
currently consumes a significant chunk of the 4KB run loop.
I figured such a change should likely be implemented in phases.
After soaking, this hardware crypto verification
process could be implemented across the entire MeshCore
cryptographic function on RAK nodes. Also possible other nodes
have available hardware crypto, however, I have not checked,
so future improvements may also exist there.
Tested on:
- RAK3401 RAK 1W
- RAK4631 19001
2026-06-23 11:39:20 -06: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
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
Quency-D
487457465b
Add maximum power limit
2026-06-12 18:05:27 +08:00
Quency-D
3517d26185
add tower v2 PA control
2026-06-12 17:58:19 +08:00
Quency-D
b1bcb8f0df
Merge pull request #13 from meshcore-dev/dev
...
merge Dev
2026-06-11 15:30:31 +08:00
Quency-D
606f8f1cc3
Merge branch 'dev' into cli-lna-command
2026-06-10 11:30:04 +08:00
ripplebiz
2ce4331c83
Merge pull request #2722 from liamcottle/fix/free-packet-on-parse-failure
...
Fix: CMD_SEND_RAW_PACKET not freeing packet on parse failure
2026-06-08 22:47:06 +10:00
liamcottle
145d50bda9
use releasePacket instead of _mgr->free
2026-06-09 00:42:58 +12:00
liamcottle
309ed80fa6
free packet on parse failure
2026-06-09 00:31:48 +12:00
Scott Powell
f7f8a331cd
Merge branch 'dev'
...
# Conflicts:
# docs/faq.md
companion-v1.16.0
repeater-v1.16.0
room-server-v1.16.0
2026-06-06 21:12:43 +10:00
Scott Powell
f4d0485dd6
* version 1.16.0
2026-06-06 21:09:38 +10:00
ripplebiz
444c8efb9d
Merge pull request #2702 from meshcore-dev/flood.max.advert
...
new CLI config: flood.max.advert
2026-06-06 21:05:22 +10:00
Scott Powell
a4c1981e6a
* default now 8, per the will of the peoples.
2026-06-06 21:00:58 +10:00
Liam Cottle
9e30f117f4
Merge pull request #2703 from IoTThinks/Fixed-powersaving--in-cli_commands.md-2026-06
...
Change default power saving setting to 'off'
2026-06-06 16:09:27 +12:00
IoTThinks
f74c1ab368
Change default power saving setting to 'off'
2026-06-06 11:04:36 +07:00
Scott Powell
d66597c3e7
* new CLI config: flood.max.advert (default 16)
2026-06-06 13:09:24 +10:00
Scott Powell
6a1a4601ba
* number allocations: Ripple range reserved
2026-06-06 12:45:35 +10:00
ripplebiz
e19984f26a
Merge pull request #2684 from oltaco/rp2040-build-fixes
...
Build fixes for some RP2040 targets
2026-06-05 12:30:08 +10:00
Liam Cottle
8f6fce5a3d
Merge pull request #2463 from NoodlesNZ/fix-stddef
...
Add stddef.h to fix compilation issue on MacOS
2026-06-05 11:29:44 +12:00
Liam Cottle
1511501516
Merge pull request #2685 from oltaco/more-build-fixes
...
Build fixes for nibble_screen_connect and ThinkNode M2
2026-06-05 03:08:10 +12:00
taco
40111d3dcb
build fixes for nibble_screen_connect and thinknode_m2
2026-06-05 00:55:02 +10:00
taco
653a52f31b
build fix for rp2040 companion usb
2026-06-04 23:36:51 +10:00
taco
a0d7f2b9e2
add missing radio_init() for rak11310
2026-06-04 23:30:50 +10:00
taco
2488de7dbd
pin platform-raspberrypi to 4e22a0d
...
pins framework-arduinopico @ 1.50600.0+sha.6a1d13e9
2026-06-04 23:21:41 +10:00
Liam Cottle
36e50dee9e
Merge pull request #2683 from oltaco/techo-card-buildfixes
...
build fixes for LilyGo T-Echo Card
2026-06-04 21:40:11 +12:00
taco
337e35b2ff
build fixes for LilyGo T-Echo Card
2026-06-04 19:05:58 +10:00
Liam Cottle
cfe27b3a6f
Merge pull request #2672 from meshcore-dev/non-contact-requests
...
Non contact requests
2026-06-04 16:05:47 +12:00
Liam Cottle
1ca66e4cd4
Merge pull request #2671 from sefinek/fix/typos-grammar-formatting
...
Fix typos and formatting in documentation and comments
2026-06-04 15:57:48 +12:00