Files
meshcore_py/src/meshcore
Matthew Wolter 7db73b5817 G4: N04 — move TCP receive counter from data_received to handle_rx
Why: _receive_count incremented inside data_received(), which fires
once per TCP read — not once per completed MeshCore frame. Under TCP
fragmentation a single frame can arrive in multiple segments, inflating
_receive_count relative to _send_count. The disconnect-detection
heuristic (send_count - receive_count >= 5) then never fires because
the receive side is over-counted. Moving the increment into handle_rx
after a complete frame is assembled makes the counter semantically
correct: one increment per MeshCore frame dispatched to the reader.
Refs: Forensics report finding N04
2026-04-11 20:25:26 -07:00
..
2025-09-07 12:28:26 -07:00
2026-03-07 21:05:00 -04:00
2026-03-07 17:42:41 -04:00
2026-03-18 17:31:17 -07:00