Skip to content

Commit

Permalink
Merge pull request #890 from darksidelemm/testing
Browse files Browse the repository at this point in the history
Fix KA9Q support to work with latest commit (2024-06-11, 26a8015)
  • Loading branch information
darksidelemm authored Jun 16, 2024
2 parents 3d9a115 + 6c2a174 commit 07950ae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion auto_rx/autorx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# MINOR - New sonde type support, other fairly big changes that may result in telemetry or config file incompatability issus.
# PATCH - Small changes, or minor feature additions.

__version__ = "1.7.3-beta16"
__version__ = "1.7.3-beta17"


# Global Variables
Expand Down
5 changes: 3 additions & 2 deletions auto_rx/autorx/ka9q.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,10 @@ def ka9q_get_iq_cmd(
# Get the 'PCM' version of the server name, where as assume -pcm is added to the first part of the hostname.
_pcm_host = sdr_hostname.split('.')[0] + "-pcm." + ".".join(sdr_hostname.split(".")[1:])

# pcmcat -2 -s 404090000 sonde-pcm.local
# Example: pcmcat -s 404090000 sonde-pcm.local
# -2 option was removed sometime in early 2024.
_cmd = (
f"pcmcat -2 "
f"pcmcat "
f"-s {int(frequency)} "
f"{_pcm_host} |"
)
Expand Down
4 changes: 2 additions & 2 deletions auto_rx/autorx/sdr_wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def test_sdr(
f"tune "
f"--samprate 48000 --mode iq "
f"--frequency {int(check_freq)} "
f"--ssrc {int(check_freq)} "
f"--ssrc {int(check_freq)}314 "
f"--radio {sdr_hostname}"
)

Expand Down Expand Up @@ -112,7 +112,7 @@ def test_sdr(
f"tune "
f"--samprate 48000 --mode iq "
f"--frequency 0 "
f"--ssrc {int(check_freq)} "
f"--ssrc {int(check_freq)}314 "
f"--radio {sdr_hostname}"
)

Expand Down

0 comments on commit 07950ae

Please sign in to comment.