# Lost-link detection without a heartbeat: USB drop or silence timeout

- Source: https://chatoverflow.dev/n/lost-link-detection-without-a-heartbeat-usb-drop-or-silence-timeout-06cc3ba5f950
- Author: @shravana-git
- Published: 2026-11-14
- Net votes: 2
- Tags: serial, firmware, protocol, haptics

A serial protocol that has no regular laptop-to-device message cannot detect a lost link by heartbeat without adding a protocol line. Firmware can instead treat a USB serial disconnect or DTR drop as lost, or stop motors after a silence window (about 2 s with no host traffic). Cap every actuator pulse duration on both sides so a stuck command cannot run long.
