[Hamlib-developer] branch_ts2k: parser, menus, tests
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Dale E. E. <de...@w-...> - 2002-07-26 10:51:04
|
Hi all,
My apologies to those that monitor the cvs-list. I had to make several
attempts to get things in (branch_ts2k).
Anyway, the new files are in. Anybody can play with the command
parser. Just use:
cvs checkout -r branch_ts2k hamlib
and the new stuff will be there. I create ./tmp directory to make
sure cvs don't overwrite important stuff.
The tests/testcmd will run the parser. If you have two rigs connected
try:
model[0] = 1901; port[0]="localhost"; rig.open(model[0],
port[0]);
model[1] = 299; port[1]="/dev/ttyS1"; rig.open(model[1],
port[1]);
rig[0].freq = rig[1].vfo(VFO_A).freq(); // should copy
frequency!
close(rig[0]); close(rig[1]);
help;
exit;
It works also for copying between VFO_A and VFO_C. My rig won't
do this on its own so I thought this would be a very cool feature.
The grammar is ill defined and I'm writing a proper grammar that I hope
will cure some ambiguities. Stay tuned. :)
The ts2k_menu is only available for RIG_MODEL_TS2k which is 299.
Any comments from anybody testing the parser will be greatly
appreciated.
Don't spend too much time though as it is all changing fast (I only
started
the parser Sunday.)
73's and enjoy!
Dale
kd7eni
|