Skip to content

Commit

Permalink
Merge pull request #972 from darksidelemm/testing
Browse files Browse the repository at this point in the history
v1.8.1-beta4 - New KA9Q-Radio version required
  • Loading branch information
darksidelemm authored Jan 1, 2025
2 parents bdf2e90 + cbd4b55 commit 468e65d
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 4 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.8.1-beta3"
__version__ = "1.8.1-beta4"

# Global Variables

Expand Down
4 changes: 2 additions & 2 deletions auto_rx/autorx/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ def lsusb():

depth = 1 + len(indent_match.group(1)) / 2
if depth > len(depth_stack):
logging.debug('lsusb parsing error: unexpected indentation: "%s"', line)
#logging.debug('lsusb parsing error: unexpected indentation: "%s"', line)
continue

while depth < len(depth_stack):
Expand All @@ -743,7 +743,7 @@ def lsusb():
depth_stack.append(new_entry)
continue

logging.debug('lsusb parsing error: unrecognized line: "%s"', line)
#logging.debug('lsusb parsing error: unrecognized line: "%s"', line)

if device:
devices.append(device)
Expand Down
28 changes: 27 additions & 1 deletion auto_rx/test/test_demod.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
},
'rs41_fsk_demod_soft_centre': {
# Keep signal centred.
'demod' : "| csdr convert_f_s16 | ./tsrc - - 0.500 | ../fsk_demod --cs16 -b -10000 -u 10000 -s --stats=5 2 48000 4800 - - 2>stats.txt |",
'demod' : "| csdr convert_f_s16 | ./tsrc - - 0.500 | ../fsk_demod --cs16 -b -10000 -u 10000 -s --mask 4800 --stats=5 2 48000 4800 - - 2>stats.txt |",

# Decode using rs41ecc
'decode': "../rs41mod --ecc --ptu --crc --softin -i --json 2>/dev/null",
Expand Down Expand Up @@ -275,6 +275,32 @@
"post_process" : "| grep aprsid | wc -l",
'files' : "./generated/m10*"
},
'm10_fsk_demod_soft_centre_48000': {
# Shift up to ~24 khz, and then pass into fsk_demod.
'demod' : "| csdr convert_f_s16 | ../tsrc - - 0.500 -c | ../fsk_demod --cs16 -b -10000 -p 5 -u 10000 -s --stats=5 2 48000 9600 - - 2>stats.txt |",
'decode': "../m10mod --json --softin -i -vvv 2>/dev/null",
# Count the number of telemetry lines.
"post_process" : "| grep aprsid | wc -l",
'files' : "./generated/m10*"
},

'm10_fsk_demod_soft_centre_48000_2': {
# Shift up to ~24 khz, and then pass into fsk_demod.
'demod' : "| csdr convert_f_s16 | ../tsrc - - 0.500 -c | ../fsk_demod --cs16 -b -10000 -p 5 -u 10000 -s --stats=5 2 48080 9616 - - 2>stats.txt |",
'decode': "../m10mod --json --softin -i -vvv 2>/dev/null",
# Count the number of telemetry lines.
"post_process" : "| grep aprsid | wc -l",
'files' : "./generated/m10*"
},

'm10_fsk_demod_soft_centre_96200': {
# Shift up to ~24 khz, and then pass into fsk_demod.
'demod' : "| csdr convert_f_s16 | ../tsrc - - 1.0020833333333334 -c | ../fsk_demod --cs16 -b -10000 -p 10 -u 10000 -s --stats=5 2 96200 9620 - - 2>stats.txt |",
'decode': "../m10mod --json --softin -i -vvv 2>/dev/null",
# Count the number of telemetry lines.
"post_process" : "| grep aprsid | wc -l",
'files' : "./generated/m10*"
},
'm20_fsk_demod_soft_centre': {
# Shift up to ~24 khz, and then pass into fsk_demod.
'demod' : "| csdr convert_f_s16 | ./tsrc - - 0.500 | ../fsk_demod --cs16 -p 5 -b -10000 -u 10000 -s --stats=5 2 48000 9600 - - 2>stats.txt |",
Expand Down

0 comments on commit 468e65d

Please sign in to comment.