Skip to content

Command Line Options Not Working #73

@sndguru

Description

@sndguru

I noticed #63 has an image with command line options displayed, appearing to be with the '-h' option.

I wanted to set 'hackrf-spectrum-analyzer' to startup with certain options, but I've tried several ways to present this to the .jar, but nothing works.

Opening the .jar file up, I don't believe the current version supports parameters. Can we have these turned back on please - if they were working - or, explain what I'm doing wrong. I can't find any documentation regarding command line options.

Thank you

Starting Hackrf_sweep.. 2400-2
hackrf_sweep params: freq 2400
hackrf_open() failed: HackRF no
Usage:
[-h] # this help
[-d serial_number] # Se
[-a amp_enable] # RX R
[-f freq_min:freq_max] #
[-p antenna_enable] # A
[-g gain_db] # RX LNA (
[-G gain_db] # RX VGA (
[-w bin_width] # FFT bin width (frequency resolution) in Hz, 2445-5000000
[-1] # one shot mode
[-N num_sweeps] # Numbe
[-B] # binary output
[-I] # binary inverse F
-r filename # output fi

Output fields:
date,time,hz_low,hz_

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions