Varanny - #542
Conversation
|
Thanks for the PR :) Varanny support would be useful, but I do not think the current implementation has the right architectural boundary. The proposal spreads Varanny-specific discovery, modem selection, session state, CAT handling, fallback behavior, startup, and cleanup across This is also producing concrete ownership and lifecycle problems:
I have opened #545 to propose a complementary lifecycle abstraction for stateful modem transports. It would manage modem initialization, health checks, reuse, ownership, associated CAT/VFO resources, and cleanup, while The initial implementation does not need to generalize every modem. It can focus on VARA HF/FM and provide:
With that boundary, application code could request a VARA modem without knowing whether it is connected directly or managed by Varanny. I consider #545 a prerequisite for this PR. Once that lifecycle boundary is available, Varanny can be implemented behind it rather than as cross-cutting application state. |
|
Ok, in the meanwhile are you OK with leaving this PR open, as the implementation here works. |
Varanny is a launcher for VARA modems. Varanny support in pat would enable the VARA (and rigctld) instance to be started and stopped automatically, conserving system resources.
When varanny is enabled, all varanny modems available in the network are discovered automatically via mDNS.