Re: [Hamlib-developer] Re: [Groundstation-developer] Gnome RIG 0.2
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Stephane F. <f8...@fr...> - 2002-09-11 21:29:21
|
> > You'll see, one day you'll be able to rotate your 32x moon melter array from emacs! > > > > I think you can already do that but you might need some Emacs/Lisp > bindings for Hamlib ;-) Actually, that was not joke, because I've started using swig. SWIG is a compiler that integrates C and C++ with languages including Perl, Python, Tcl, Guile, Mzscheme, Java, Ruby, PHP, and Ocaml. Just that. In other words, it can processe rig.h and generate (almost) automatically the code of the binding of your choice. Yes, you read it right! Finding swig is like finding a swag.. In a matter of a rainy afternoon, I've been able to regenerate the perl and tcl bindings, complete with access to capabilities! Maintainance is going to be smooth, I love it! My initial work is in bindings/ subdir, you will need swig 1.3.14 (available in Debian unstable). perl/ and tcl/ subdir have not long to live. More info on the holly grail at http://www.swig.org Kudos to these brillant guys. Note: swig just misses kylix support. But who knows, one day.. > I have tried to compile grig on Debian 3.0r0 which comes with Gnome 1.4, > but I have no experience with Debian/unstable. Grig compiled okay on my Debian 3.0r0, but hamlib-1.1.2 has some trouble in the dummy backend. There's no initial set_freq done, so Grig tries to tune in X-ray wavelengths.. This is fixed in hamlib-1.1.3 though. > Question: Can you have more than one rpc.rigd's running on the same host > but controlling different rigs? If not, can it be done? hehe, good question. The answer is in the man page rpc.rigd(8), in the BUGS section. To make it short, the rpcrig.x protocol does not support it, but you can run rpc.rigd on a different port. I'm just realizing some code is missing to accept the port number. This has to be done before 1.1.4 releases. What do you think about the different port solution? If the rig n+1 has port number 0x20000099+n+1, we can even autodetect the different rigs. The same applies for rpcrot, off course. Any thoughts? Stephane |