Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hamlib connection failure after connection success. #439

Closed
k6ef opened this issue Jan 3, 2024 · 2 comments
Closed

hamlib connection failure after connection success. #439

k6ef opened this issue Jan 3, 2024 · 2 comments
Labels

Comments

@k6ef
Copy link

k6ef commented Jan 3, 2024

Hamlib is configured and listening on the proper port.
pat interactive run, it detects the radio/frequency
freq method:frequency fails with a Hamlib rig not loaded..

in ~ ➜ pat interactive at 12:03:02 PM
2024/01/03 12:03:03 Kenwood ready. Dial frequency is 144.910.00 MHz.

freq
Need freq method.
2024/01/03 12:03:08 Hamlib rig not loaded.

@martinhpedersen
Copy link
Member

Hi,

Thanks for reporting this!

There is a bug in the error handling here, so you get a misleading error message.

The correct syntax is freq <transport>. E.g. to get the current dial frequency of the rig configured with ARDOP: freq ardop.

I'll include an improvement of the error handling (and usage text) in the next release. With this fix, you'll get the following output instead:

in ~ ➜ pat interactive
> freq
Missing transport parameter.
Syntax: freq <transport>[:<frequency>]

@martinhpedersen
Copy link
Member

(tagged as invalid as this is a syntax error, not a bug)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants