Mike Robbins
0fc33c352a
Fix memory leak in NextHopRouter: always free packet copy when removing from pending
2025-09-12 10:40:13 -07:00
Mike Robbins
35340fc6e2
NextHopRouter::roleAllowsCancelingFromTxQueue (same logic as FloodingRouter::roleAllowsCancelingDupe)
2025-09-11 21:31:42 -07:00
Mike Robbins
4140ecfb49
Bring src/mesh/generated/meshtastic/config.pb.h from develop after rebase
2025-09-11 21:31:42 -07:00
Mike Robbins
27cdd464d1
getTxDelayMsecWeighted and startTransmitTimerRebroadcast: extract p->rxSnr
2025-09-11 21:31:42 -07:00
Mike Robbins
5a463373f2
Remove changes to src/mesh/generated/meshtastic/config.pb.h from this PR
2025-09-11 21:31:42 -07:00
Mike Robbins
b768860866
NodeDB::isFromOrToFavoritedNode: skip search for NODENUM_BROADCAST; one-pass search and early exit
2025-09-11 21:31:42 -07:00
Mike Robbins
c63102a312
Swap expression order to allow short-circuit evaluation
2025-09-11 21:31:42 -07:00
Mike Robbins
b1f55ef6e8
Fix linter
2025-09-11 21:31:42 -07:00
Mike Robbins
b305acf7e5
Add FloodingRouter::roleAllowsCancelingDupe and condition for CLIENT_BASE
2025-09-11 21:31:42 -07:00
Mike Robbins
ab5332950c
Add RadioInterface::shouldRebroadcastEarlyLikeRouter and add CLIENT_BASE condition
2025-09-11 21:31:42 -07:00
Mike Robbins
484b4cd848
Add NodeDB::isFavorite, NodeDB::isFromOrToFavoritedNode
2025-09-11 21:31:42 -07:00
Mike Robbins
3cc2b70e4f
Pass meshtastic_MeshPacket down into startTransmitTimerRebroadcast and getTxDelayMsecWeighted
2025-09-11 21:31:42 -07:00
Mike Robbins
7e00054fd7
Rename startTransmitTimerSNR to startTransmitTimerRebroadcast
2025-09-11 21:31:42 -07:00
Ben Meadors
83ae72cbb2
Merge pull request #7961 from meshtastic/master
...
Backmerge
2025-09-11 08:14:46 -05:00
Ben Meadors
e17c50bb86
Put guards in place around debug heap operations ( #7955 )
...
* Put guards in place around debug heap operations
* Add macros to clean up code
* Add pointer as well
2025-09-11 07:57:42 -05:00
Ben Meadors
108bdf7b0d
Close should set heartbeatReceived = false
2025-09-09 19:11:39 -05:00
Jonathan Bennett
e7741c20e4
Add LOG_HEAP log type, and more heap debug messages ( #7937 )
2025-09-09 10:29:07 -05:00
Ben Meadors
ca4b98f2b1
Merge branch 'master' into develop
2025-09-09 08:42:29 -05:00
Ben Meadors
d1d16fc25f
Make phone queues use a static pointer queue ( #7919 )
...
* Make phone queues use a static pointer queue
* Static init
* Compile time constants now
* Instead, lets just use the normal pointerqueue for linux native builds and static for IoT platforms
* Add missing method
* Missing methods
* Update variant.h
2025-09-09 08:21:46 -05:00
Tom Fifield
227d0fa7dc
Merge pull request #7862 from meshtastic/master
...
Backmerge from Master into develop
2025-09-08 11:23:22 +10:00
github-actions[bot]
7b854fb5ca
Update protobufs ( #7903 )
...
Co-authored-by: fifieldt <1287116+fifieldt@users.noreply.github.com >
2025-09-08 11:12:52 +10:00
Dmitry Dubinin
9c6544ebfa
Fix excluded modules configuration handling ( #7838 )
...
* Fix excluded modules configuration handling
- Add excluded_modules flags in getDeviceMetadata() for MQTT, PAXCOUNTER, STOREFORWARD, RANGETEST, NEIGHBORINFO
- Add conditional compilation guards in AdminModule for RANGETEST, AUDIO, PAXCOUNTER, STOREFORWARD, EXTNOTIF, DETECTIONSENSOR, AMBIENTLIGHTING
- Add skip logic in PhoneAPI for excluded modules during config enumeration
- Add conditional has_* flags in NodeDB only for included modules
Fixes issue where excluded modules still appeared in client applications and sometimes caused PAYLOADVARIANT_NOT_SET errors.
* Fix excluded modules issues and refactor code
- Restore original PAXCOUNTER logic: only exclude on non-ESP32 platforms due to memory constraints
- Fix has_store_forward flag to be conditionally compiled based on MESHTASTIC_EXCLUDE_STOREFORWARD
- Refactor PhoneAPI module config skipping logic to use helper function skipExcludedModuleConfig()
- Reduce code duplication in PhoneAPI by extracting common skip logic
This addresses the three issues identified in the code review:
1. PAXCOUNTER memory impact on non-ESP32 devices
2. Unconditional has_store_forward flag setting
3. Duplicated state management logic across multiple #else blocks
* Fix ambient lighting module exclusion in PhoneAPI and AdminModule
- Add conditional compilation guards for ambient lighting in PhoneAPI.cpp
- Replace old HAS_RGB_LED logic with MESHTASTIC_EXCLUDE_AMBIENTLIGHTING check in AdminModule.cpp
- Ensure ambient lighting module is properly excluded when MESHTASTIC_EXCLUDE_AMBIENTLIGHTING=1
2025-09-08 07:15:27 +10:00
GUVWAF
4594ae474e
Upon receiving ACK/reply directly, only update next-hop if we’re the *sole* relayer ( #7859 )
2025-09-06 06:23:43 -05:00
GUVWAF
a25bfd264c
Only stop retransmissions when receiving implicit ACK over LoRa ( #7872 )
...
* Only stop retransmissions when receiving implicit ACK over LoRa
* trunk fmt
2025-09-05 12:00:23 -05:00
GUVWAF
4d6fe936ae
Only stop retransmissions when receiving implicit ACK over LoRa ( #7872 )
...
* Only stop retransmissions when receiving implicit ACK over LoRa
* trunk fmt
2025-09-05 11:01:25 -05:00
Ben Meadors
8356ad97e4
Cleanup file list
2025-09-05 07:18:29 -05:00
github-actions[bot]
89de499198
Update protobufs ( #7855 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com >
2025-09-04 07:32:59 -05:00
Chloe Bethel
5b63bd9331
Add RF switch settings for STM32WL variants ( #7813 )
...
* Add RF switch settings for STM32WL variants
* Shuffle ifdefs in STM32WLE5JCInterface to make it not get built by other targets
2025-09-04 06:38:05 -05:00
Chloe Bethel
2e8f4ad6af
Add RF switch settings for STM32WL variants ( #7813 )
...
* Add RF switch settings for STM32WL variants
* Shuffle ifdefs in STM32WLE5JCInterface to make it not get built by other targets
2025-09-04 15:12:47 +10:00
Jonathan Bennett
1c1c0cc791
Portduino config refactor ( #7796 )
...
* Start portduino_config refactor
* refactor GPIOs to new portduino_config
* More portduino_config work
* More conversion to portduino_config
* Finish portduino_config transition
* trunk
* yaml output work
* Simplify the GPIO config
* Trunk
2025-09-03 17:50:26 -05:00
Ben Meadors
789c1ab59d
Merge branch 'master' into develop
2025-09-03 07:02:05 -05:00
github-actions[bot]
8a8f60d129
Update protobufs ( #7831 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com >
2025-09-02 19:08:05 -05:00
Jason P
cfc1bf10c9
If usePreset is False, show value as Custom ( #7812 )
2025-09-02 06:05:55 -05:00
Jason P
b8d7222423
If usePreset is False, show value as Custom ( #7812 )
2025-09-02 05:55:57 -05:00
Ben Meadors
a0e14439cb
Merge pull request #7785 from meshtastic/master
...
Backmerge
2025-08-29 13:59:19 -05:00
Ben Meadors
4e03df5ea7
Fix freetext hang ( #7781 )
...
* Fixed freetext hangs by adding canned modules back to self-sourced packets and transition to SENDING_ACTIVE state
* Update meshmodule handling
2025-08-29 12:09:22 -05:00
Ben Meadors
8685436cbb
Merge pull request #7773 from meshtastic/master
...
Backmerge
2025-08-27 20:53:55 -05:00
Ben Meadors
237b8908f7
Chainsaw took too much off the top
2025-08-27 09:54:39 -05:00
Ben Meadors
06bccef462
Reinstitute previous streamapi readStream
2025-08-27 07:17:46 -05:00
Ben Meadors
0903ed8232
Mesh solar integrate ( #7764 )
...
* Added HELTEC MeshSolar board. (#7499 )
* Added HELTEC MeshSolar board.
* Set emergency shutdown pin as high impedance
* Set emergency shutdown pin as high impedance
Set emergency shutdown pin as high impedance
* Update variants/nrf52840/heltec_mesh_solar/variant.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update variants/nrf52840/heltec_mesh_solar/variant.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update variants/nrf52840/heltec_mesh_solar/variant.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update I2C SCL pin definition in variant.h
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Updates
---------
Co-authored-by: Quency-D <55523105+Quency-D@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-27 06:02:54 -05:00
Manuel
3f5c30e3b3
T-Lora Pager ( #7613 )
...
* initial commit
* preset rotary1 encoder
* define TAB+ESC
* haptic feedback
* allow switch off haptic feedback
* enable audio amplifier
* include PR4684
* fix for tft target
* add ES8311 audio codec
* fix KB scan duplicate
* display workaround to avoid debris
* fix debris on display
* keyboard backlight
* enable screen options
* fsm based bounce-free rotary encoder implementation
* use fsm RotaryEncoder only for T-Lora Pager
* change inputbroker default config to allow using rotary wheel for screens AND menues
---------
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2025-08-26 09:35:25 -05:00
Ben Meadors
4ace2638e1
Merge pull request #7718 from notmasteryet/err7info
...
Log more information about ignored packet
2025-08-25 14:29:24 -05:00
Ben Meadors
f2ba7d7851
Merge pull request #7744 from meshtastic/master
...
Backmerge to develop
2025-08-25 06:58:05 -05:00
Tom Fifield
1eafdfcbc8
Reduce power of EU433 to 10dBm ( #7733 )
...
We are currently blocked from making the breaking change to fix
EU_433 channel centres until 3.0 (https://github.com/meshtastic/firmware/issues/3371 )
However, as already updated in https://github.com/meshtastic/meshtastic/pull/919
the documentation, the power limit for EU_433 is 10dBm. We can change
the power limit without breaking anything, so this patch sets the
power limit to match the ETSI spec without changing any other settings.
2025-08-24 14:45:29 -05:00
Jonathan Bennett
915f882e1f
Pkc fix ( #7722 )
2025-08-24 10:13:18 -05:00
notmasteryet
1c329d9ffa
Log more information about ignored packet
2025-08-22 08:46:14 -05:00
Jonathan Bennett
ce75bf4496
Initial stab at rak6421 autoconf ( #7691 )
...
* Initial stab at rak6421 autoconf
* trunk
* Add crc check to eeprom autoconf
* Trunk again
2025-08-20 14:18:20 -05:00
github-actions[bot]
890357d579
Update protobufs ( #7693 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com >
2025-08-20 05:53:20 -05:00
Jonathan Bennett
5de61b1a3d
Only gate PKC behind the simradio CLI flag ( #7681 )
...
* Only gate PKC behind the simradio CLI flag
* Hide router.cpp simradio check behind #if ARCH_PORTDUINO
2025-08-19 14:15:05 -05:00
jake-b
e55084629a
Move heartbeat response before !available guard. ( #7672 )
...
* Move heartbeat response before !available guard.
* fix formatting.
---------
Co-authored-by: Jake-B <jake-b@users.noreply.github.com >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2025-08-19 08:10:53 -05:00