Re: [Hamlib-developer] ts870 and rig_get_func
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Joop S. <pa...@de...> - 2002-01-08 07:44:38
|
On Tue, 8 Jan 2002 01:21:02 +0100 Stephane Fillod <f4...@fr...> wrote: > On Mon, Jan 07, 2002, Joop Stakenborg wrote: > > I have tested the ts870 with a couple of buttons (notch, vox, beat, > > proc, nb, nr, agc and lock) and the rig_get_func function. > > Tests were done with minicom and a small c program, linked with > > hamlib. > > I still have to code in kenwood_set_func... > Maybe I can give you a hand here. I'll have a look at it. > > RIG_FUNC_FAGC is bit weird on the ts-870. > > With most kenwood rigs this would be a button (I am guessing), > > which would return status 0/1 if the fourth character is a '4' > > (see kenwood.c, line 585). > > NB: part of the protocol documentation I have comes from the TS2000 manual. > There may be some differences between rig models.. > > > With the ts870 it is not a button, but a knob, which returns a > > value between 0 and 255. Should I write a private function for > > this in ts870s.c? > > Not exactly. There's a RIG_FUNC_FAGC, and a RIG_LEVEL_AGC. > This is because some rigs only have on/off FAGC, and some others have > different levels (e.g. fast/medium/slow), or even AGC delay settable in > milliseconds. > I'm wondering if GT0 on the TS870S is for FAGC disabled. > So the way to go for this rig is disable FAGC in FUNCTIONS and write a get_level for the agc level. I'll have a look into this. > > I think the problems with the hamlib headers, which > > I described in an earlier mail, are appearing after running > > automake. > > yep, I noticed you have automake-1.4-p4, and Hamlib requires automake-1.5 > at least. > Ah, I see. debian sid seems to support both automake 1.4 (automake package) and automake 1.5 (automake1.5 package). I will install the newer one. Hopefully I won't suffer from compatiblility problems. > > Thanks for the patch and report! > Glad to help out. I must say that hamlib is nicely written! > Cheers, > Stephane F8CFE > Joop PA4TU |