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

[bladeRF-cli] Make 'help print' and 'help set' formatting match #422

Closed
jynik opened this issue Aug 20, 2015 · 0 comments
Closed

[bladeRF-cli] Make 'help print' and 'help set' formatting match #422

jynik opened this issue Aug 20, 2015 · 0 comments
Labels
Issue: Bug It's a bug and it oughta be fixed

Comments

@jynik
Copy link
Contributor

jynik commented Aug 20, 2015

They currently look like this:

Usage: print <param>

The print command takes a parameter to print. The parameter is one of:

       Parameter Description
  -------------- --------------------------------------------------------
       bandwidth Bandwidth settings
       frequency Frequency settings
            gpio FX3 <-> FPGA GPIO state
        loopback Loopback settings
         lnagain Gain setting of the LNA, in dB
          rxvga1 Gain setting of RXVGA1, in dB
          rxvga2 Gain setting of RXVGA2, in dB
          txvga1 Gain setting of TXVGA1, in dB
          txvga2 Gain setting of TXVGA2, in dB
        sampling External or internal sampling mode
      samplerate Samplerate settings
         trimdac VCTCXO Trim DAC settings


bladeRF> help set

Usage: set <param> <arguments>

The set command takes a parameter and an arbitrary number of arguments
for that particular command. The parameter is one of:

  -----------------------------------------------------------------------
       Parameter Description
  -------------- --------------------------------------------------------
       bandwidth Bandwidth settings

       frequency Frequency settings

            gpio FX3 <-> FPGA GPIO state

        loopback Loopback settings. Run 'set loopback' for available
                 modes.

         lnagain Gain setting of the LNA, in dB. Valid values: 0, 3, 6

          rxvga1 Gain setting of RXVGA1, in dB. Range: [5, 30]

          rxvga2 Gain setting of RXVGA2, in dB. Range: [0, 30]

          txvga1 Gain setting of TXVGA1, in dB. Range: [-35, -4]

          txvga2 Gain setting of TXVGA2, in dB. Range: [0, 25]

        sampling External or internal sampling mode

      samplerate Sample rate settings

         trimdac VCTCXO Trim DAC settings
  -----------------------------------------------------------------------

@jynik jynik added the Issue: Bug It's a bug and it oughta be fixed label Aug 20, 2015
@jynik jynik closed this as completed in a6aea09 Aug 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Bug It's a bug and it oughta be fixed
Projects
None yet
Development

No branches or pull requests

1 participant