-
Notifications
You must be signed in to change notification settings - Fork 52
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
Allow configuration of hamlib (net rigctld) in RX only systems to set reporter band automatically over LAN. #539
Comments
You should theoretically be able to provide the IP address of the other machine instead of localhost/127.0.0.1 in the Hamlib settings, i.e. "192.168.1.123:4532". Assuming Hamlib is okay with that setting, FreeDV should then pull the frequency/mode every 5 seconds or so. Is that currently producing an error or some other undesired behavior on either machine? |
As I see it there is only provision to enter a host:port in the PTT section, which for a receive only machine is greyed out with 'Use Hamlib PTT' unselected. Also just tried enabling PTT to enter the host:port and then disabling it again - no complaints but no joy either. 4532 is open on both machines. |
Using "Hamlib NET rigctl" for the radio name shouldn't need a serial device, especially if you choose "CAT" for PTT instead of DTR or RTS. YMMV if you're choosing some other radio name instead, though. Can you confirm that it's still expecting a serial device with "Hamlib NET rigctl"? |
These two images are with and without 'Use Hamlib PTT' selected. However this request is not related to PTT as this machine does not have any TX audio settings and does not use any PTT. In 'monitoring' mode neither does it have a 'Report Frequency' in the main dialogue as it's not reporting. It does appear to be requiring serial info when the 'Use Hamlib PTT' is checked. This PTT settings dialogue seems to be the wrong place for this to be configured. |
Thanks for your explanations. OK I have now discovered the issue that I was having. Read on ;) Reading the above many times I realized that I was not doing anything wrong and it was just not working. Having fixed that I was very surprised to find that it works exactly as I was asking in this issue. What is not perfect (for my use case) is the confusing terminology in the configuration which you have mentioned so I won't close this yet. Also why is the 'PTT config' in a totally separate dialogue, could it be moved to a tab in the other settings? This is the monitoring laptop not reported, with the main instance reported and it's band filtered by the 'track current frequency'. Its demonstrating UTC too :) |
Consolidating config dialogs is going to be a bigger effort but for now, I created #550 to adjust the labeling a bit. Let me know if those proposed changes sound reasonable. |
I think this can be closed then. |
Done. :) |
The summary explains this adequately I think.
However long explanation:
The main system running TX/RX instance of FreeDV is wired to the radio via USB.
Hamlib rigctld daemon on localhost communicates with FreeDV.
Another instance of FreeDV running on another system could also receive the rig frequency, mode etc. from the main system over the LAN, however FreeDV does not currently cater for the configuration of this.
I already run a logging program alongside FreeDV that uses the same data via localhost:4532
Can configuration be added to facilitate this by adding settings hostname/IP:port and a way to enable this?
This also depends on #527 being fixed as the main reason for this would be to enhance that feature.
The text was updated successfully, but these errors were encountered: