Mike Robbins and Ben Meadors
f7469159cf
Reliable ACKs for DMs ( #8165 )
...
* RoutingModule::sendAckNak takes ackWantsAck arg to set want_ack on the ACK itself
* Use reliable delivery for traceroute requests (which will be copied to traceroute responses by setReplyTo)
* Update ReliableRouter::sniffReceived to use ReliableRouter::shouldSuccessAckWithWantAck
* Use isFromUs
* Update MockRoutingModule::sendAckNak to include ackWantsAck argument (currently ignored)
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2025-10-01 15:31:53 -05:00
Mike Robbins
5d3c92f1a2
When DEBUG_HEAP is defined, add free heap bytes to every log line in RedirectablePrint::log_to_serial
2025-09-15 12:50:38 -07:00
Mike Robbins
bf4e2e8e86
Fix GPS gm_mktime memory leak ( #7981 )
2025-09-14 06:36:16 -05:00
Mike Robbins
00772996b6
Fix GPS gm_mktime memory leak ( #7981 )
2025-09-14 05:05:06 -05:00
Mike Robbins
ead67446a3
Fix memory leak in NRF52Bluetooth: allocate BluetoothStatus on stack, not heap
2025-09-12 13:15:52 -07:00
Mike Robbins
43cf12edfb
Fix memory leak in NimbleBluetooth: allocate BluetoothStatus on stack, not heap
2025-09-12 13:00:17 -07:00
Mike Robbins
962e5d513c
Fix memory leak in NextHopRouter: always free packet copy when removing from pending
2025-09-12 13:16:48 -05:00
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
4ab125bbf7
src/graphics/Screen.cpp: move #include "meshUtils.h" outside of "#ifdef HAS_SCREEN" so IS_ONE_OF works on all devices
2025-09-11 21:31:42 -07:00
Mike Robbins
87eff2c4a9
Fix logic in Screen::shouldWakeOnReceivedMessage and add CLIENT_HIDDEN and CLIENT_BASE to be treated the same as CLIENT and CLIENT_MUTE
2025-09-11 21:31:42 -07:00
Mike Robbins
527e88ca46
Add CLIENT_BASE to DisplayFormatters::getDeviceRole
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