Skip to content

Latest commit

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date

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:

>> <cmd> <key> <value> <key> <value>

There must be a space between <cmd> and <key> and <key> and <value>

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

>> tuner id 0 freq 1000e6 enabletrue mode "manual"

About

NDR JSON Radio Command Line Utility

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages