Skip to content

Improvement idea: allow disabling a KISS TNC #152

@kotfu

Description

@kotfu

I have a Kenwood TH-D75, which exposes a KISS TNC over bluetooth. I'm running it on a Raspberry Pi 4 running Raspbian trixie.

I you set up a KISS TNC for a serial device, and that serial device happens to be connected via bluetooth, you'll have a tty like /dev/rfcomm0. Set that up in graywolf, and it works. When you want to disconnect the bluetooth device, it's a bit messy. Graywolf wants to keep /dev/rfcomm0 open so he can keep trying to reconnect. But if the bluetooth device has gone away, ie I turned off bluetooth on the TH-D75, the operating system can't clean everything up because graywolf still has /dev/rfcomm0 open.

The only way I can see to get graywolf to close the device is to delete the KISS interface.

It would be very convenient if you could disable a KISS TNC, whether TCP Server, TCP Client, or Serial, and have graywolf close/release the devices instead of continuing to try to reconnect. That way you could leave the channels and their backers all set up, and turn them on without having to reconfigure them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions