Skip to content

Allow additional Direwolf configuration via Dirus - #1

Open
kd8drx wants to merge 6 commits into
ampledata:masterfrom
kd8drx:direwolf_config
Open

Allow additional Direwolf configuration via Dirus#1
kd8drx wants to merge 6 commits into
ampledata:masterfrom
kd8drx:direwolf_config

Conversation

@kd8drx

@kd8drx kd8drx commented Sep 1, 2018

Copy link
Copy Markdown

A bundle of updates to the code, primarily focused on improving the ability to manage settings using the dirus.json file. Testing was done on my MacBook Pro running macOS 10.13.6 and a Raspberry Pi 3 with Raspbian Jesse.

I do hope these features prove useful to the rest of the amateur radio community. This is a super helpful tool for automating some of these backend processes that make the hobby fun!

Features Added:

  • Added a separate direwolf json dict that allows you to
    • Set a Direwolf config file via the path key
    • Set the path to Direwolf, assuming it's not in your $PATH
  • Added Direwolf argument for sample_rate, ensuring it is synced with the sample rate used in rtl_fm. In my testing, this is often required to ensure proper decoding of packets.
  • Updated README.rst with build, configuration, and contributor sections based.

Other Minor Changes:

  • Changed internal variables for Direwolf and rtl_sdr commands to better differentiate between them, and make the code read a little better (I hope?)

  • Small changes in the Direwolf commands to deal with Python 2's fun handling of strings vs. unicode.

kd8drx added 6 commits August 25, 2018 17:38
…_ run

Mostly logical seperation done so that it's clearer in the code and config files when we're talking about the _path_ to the applications we're running (rtl_sdr or direwofl) or the _command_ we're running to execute that application with the options we want. Also updated the config file to match these names.

This also addresses some issues with Python 2 and Unicode in the direwolf command code from my last commit. Because Unicode. Argh.
Should work fine with rx_fm - but havne't tested.
@kd8drx kd8drx changed the title Direwolf config Add additional Direwolf configuration options via Dirus Sep 1, 2018
@kd8drx kd8drx changed the title Add additional Direwolf configuration options via Dirus Allow additional Direwolf configuration via Dirus Sep 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant