Reconnect for KISS-over-TCP

Issue #85 resolved
Former user created an issue

If Direwolf restarts, the status switch for my KISS-over-TCP changes to orange. Are there ever attempts to reconnect, or do I need to manually do this every time?

Comments (4)

  1. Matt

    For example, if running QTH on a laptop, every time I close and reopen the laptop, I have to manually reconnect.

  2. Weston Bustraan repo owner

    Yeah, I’ve experienced that too, when I’ve left it running overnight.

    I believe what it happening is that the OS suspends all the apps when it goes to sleep, so that when the APRS-IS server sends a disconnect (FIN) packet, QTH is suspended. When QTH resumes, it thinks that it’s still connected because it never received the FIN.

    I am going to add event handlers to detect when the system is going to sleep, shutdown all the connections, and then start them back up when it wakes back up.

    I had toyed with the idea of QTH preventing sleep, like when a video is playing, but I think there are other ways to accomplish that, like Amphetamine

  3. Matt

    This was announced as fixed in 0.3.1 and it seems to be working properly for me in all versions since that one (now on 0.4.0). Thanks!

  4. Log in to comment