mirror of
https://github.com/torlando-tech/pyxis.git
synced 2026-06-27 18:01:42 +00:00
76ffd29b01
Pre-this the 10s heartbeat reported running/scanning/connected/peers state but nothing about whether data was actually flowing. With the counters added to BLEInterface and threaded into the heartbeat snprintf, the line now also surfaces: tx_pkt — outbound RNS packets attempted tx_frag — BLE fragments actually written/notified tx_b — total bytes written tx_fail — platform write/notify returned false rx_frag — BLE fragments handed to the reassembler rx_b — total bytes received That was enough to root-cause the Columba-side stalls observed during the BLE end-to-end testing session: pyxis showed connected=1 but tx_pkt frozen, surfacing that the keepalive loop wasn't firing for a peer whose handshake had completed but identity recording raced. Cumulative-since-start, no reset; cheap to keep on always.