Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openwebrx-mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ha7ilm
openwebrx-mirror
Commits
c2a7b4a4
Commit
c2a7b4a4
authored
Oct 10, 2015
by
ha7ilm
Browse files
Options
Downloads
Patches
Plain Diff
Added experimental HackRF support.
parent
c9bf26f1
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
config_webrx.py
+7
-0
7 additions, 0 deletions
config_webrx.py
with
7 additions
and
0 deletions
config_webrx.py
+
7
−
0
View file @
c2a7b4a4
...
@@ -84,6 +84,13 @@ start_rtl_thread=True
...
@@ -84,6 +84,13 @@ start_rtl_thread=True
start_rtl_command
=
"
rtl_sdr -s {samp_rate} -f {center_freq} -p {ppm} - | nc -vvl 127.0.0.1 8888
"
.
format
(
rf_gain
=
rf_gain
,
center_freq
=
center_freq
,
samp_rate
=
samp_rate
,
ppm
=
ppm
)
start_rtl_command
=
"
rtl_sdr -s {samp_rate} -f {center_freq} -p {ppm} - | nc -vvl 127.0.0.1 8888
"
.
format
(
rf_gain
=
rf_gain
,
center_freq
=
center_freq
,
samp_rate
=
samp_rate
,
ppm
=
ppm
)
format_conversion
=
"
csdr convert_u8_f
"
format_conversion
=
"
csdr convert_u8_f
"
#start_rtl_command="hackrf_transfer -s {samp_rate} -f {center_freq} -g {rf_gain} -l16 -a0 -r hackrf_pipe & cat hackrf_pipe | nc -vvl 127.0.0.1 8888".format(rf_gain=rf_gain, center_freq=center_freq, samp_rate=samp_rate, ppm=ppm)
#format_conversion="csdr convert_i8_f"
## To use a HackRF, first run "mkfifo hackrf_pipe" in the OpenWebRX directory.
## You should also use the csdr git repo from here:
## git clone https://github.com/sgentle/csdr
## git checkout origin/signed_char
# >> Sound card SDR (needs ALSA)
# >> Sound card SDR (needs ALSA)
#I did not have the chance to properly test it.
#I did not have the chance to properly test it.
#samp_rate = 96000
#samp_rate = 96000
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment