[Hamlib-developer] Re: Fun with Hamlib
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Francois R. <fgr...@su...> - 2002-02-27 12:04:56
|
Hello Chuck, Chuck Hemker wrote: > > I've been writing a satellite track program and using hamlib for doing the > frequency setting and doppler correction for the radios. In doing this I've > run across a few things with hamlib that I was wondering about: > > 1. I've been using an Icom R7000 receiver for testing. It's a fairly simple > radio to computer control because it allows the computer to control so few > things. :) It was not supported yet so I quickly copied and modified the > entry for the icr8500. It works for set_freq and get_freq, but I haven't > tested it for anything else. Either I'll look into it further and clean it > up, or if someone who understands the structures better wants to do something, > I'll be happy to test it. > > Also, I ran across a pdf file that explained CI-V for the older radios: > http://www.chasque.net/franky/ci5.pdf Cool > 2. In my testing of the ic-r7000, I noticed that the radios using the new icom > routines didn't support setting the CI-V address. I was using this to play > with the ic-r7000 with rigctl to talk to the ic-r7000 before I created the > entry for it. Just wondering if anyone noticed. If I get a chance, I'll try > to figure out what needs to be done and send in a patch. The set_conf()/get_conf() functions is what you need. Add the following lines to the rig structure: cfgparams: icom_cfg_params, set_conf: icom_set_conf, get_conf: icom_get_conf, Now to set the CIV address to 0x42, issue: rig_set_conf(rig, TOK_CIVADDR, 0x42); Please note, that these two functions is not added to all the Icom rigs. Still have to be done ;-) > 3. One of these days I was going to try testing my software over at a friend's > house who has an Icom 910 and an AOR 5000 which are also not currently > supported. If anyone wants me to try something, I'll be happy to. Otherwise > I'll have to try to come up with descriptions of the radios myself. > I have partially completed support for the Icom 910. Our radio is currently in use, so I cannot test the code. Will finish the IC-910 code and commit it some time tonight or tomorrow. Cheers Francois Retief -- --------------------------------------------------------------------- Electronic Systems Laboratory (ESL) University of Stellenbosch South Africa Tel. +27-21-808-4472 ** Developers of the SUNSAT micro-satellite ** http://sunsat.ee.sun.ac.za |