Skip to content
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

bias t #86

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ services:
| `PPM` | Parts per million correction of the decoder | No | 0 |
| `GAIN` | The gain applied to the RTL-SDR dongle. | No | `40` |
| `OVERSAMPLE` | Overrides the default oversampling rate used by dumpvdl2. | No | Blank |
| `ENABLE_BIAS_T` | Enable Bias T. | No | `False` |
| `VDLM_FILTER_ENABLE` | Filter out non-informational messages. Turning this off (set to a blank value) will cause increased message rate but the messages will be of little value. Will cause extra SD card read/writes. | No | `TRUE` |
| `VDLM_FILTER` | Specify the dumpvdl2 filter string. Used it `VDLM_FILTER_ENABLE` is true. | No | `all,-avlc_s,-acars_nodata,-x25_control,-idrp_keepalive,-esis` |
| `QUIET_LOGS` | Mute log output to the bare minimum. Set to `false` to disable. | No | `TRUE` |
Expand Down
6 changes: 6 additions & 0 deletions rootfs/etc/s6-overlay/scripts/dumpvdl2
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ if [ -n "${PPM}" ]; then
VDLM_CMD+=("--correction" "$PPM")
fi

if chk_enabled "${ENABLE_BIAS_T}"; then
VDLM_CMD+=("--biast" "1")
else
VDLM_CMD+=("--biast" "0")
fi

VDLM_CMD+=("--gain" "$GAIN")

if [[ ${VDLM_FILTER_ENABLE,,} =~ true ]]; then
Expand Down