Skip to content

CyberRadio/NDRCommandLine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

NDRxxx CommandLine

NDRxxx CLI Utility for sending JSON commands to radios supported through CyberRadioDriver.

Contributing Authors: - Brandon Smith

Installation

No Frills Use the Script

git clone https://github.com/CyberRadio/NDRCommandLine.git
cd NDRCommandLine/ndrcommandline/scripts/
python3 ndrxxx_command_line.py -i 192.168.0.10 # removed the -r <radio> requirement

Installation from internal APT

sudo apt install python3-ndrcommandline 

Installation from Source

makedeb -3 ndrcommandline
sudo dpkg -i <debian-name>

Using the program

python3 ndrxxx_command_line.py -i 192.168.0.10
>> qtuner id 0
TX: {'cmd': 'qtuner', 'params': {'id': 0}}
RX: {
    "aal": -32.0,
    "aas": -1.0,
    "aat": 1,
    "adl": -48.0,
    "ads": 0.0,
    "adt": 1,
    "all": 0,
    "asp": 0,
    "atten": 0,
    "aul": -40.0,
    "enable": false,
    "fnr": true,
    "freq": 1000000000,
    "id": 0,
    "ifatten": 14,
    "mode": "manual",
    "psmode": "wband",
    "rf1atten": 0,
    "rf2atten": 13
}
>> tuner id 0 freq 1000e6
TX: {'cmd': 'tuner', 'params': {'id': 0, 'freq': 1000000000}}
RX: {"cmd":"tuner","success":true,"msg":282,"rsp":819}

The Tool expects the following format:

There must be a space between and and and

You may place as many pairs on the line as you need

>> tuner id 0 freq 1000e6 enable true mode "manual"

About

NDR JSON Radio Command Line Utility

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •