[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tlf-devel] hamlib in v1.2.0
From: |
Thomas Beierlein |
Subject: |
Re: [Tlf-devel] hamlib in v1.2.0 |
Date: |
Wed, 26 Mar 2014 21:25:09 +0100 |
Hi Ervin,
Am Wed, 26 Mar 2014 08:43:14 +0100
schrieb Ervin Hegedüs <address@hidden>:
> Hi Thomas,
>
> welcome back :)
>
thanks :).
> On Wed, Mar 26, 2014 at 07:17:16AM +0100, Thomas Beierlein wrote:
> > Hi Fred and others,
> >
> > sorry for being late on this. I was away for some weeks and after
> > coming back, there was some pile on my desk at QRL (you know how it
> > is).
> >
> > Am Sun, 16 Mar 2014 14:29:35 +0100 schrieb address@hidden:
> >
> > > I compiled now from the github master, this works as usual.
> > >
> > > 73 Fred
> > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Ed
> > > > Gesendet: So. 16.03.2014 14:04
> > > > An: FS , , address@hidden
> > > > Betreff: Re: [Tlf-devel] hamlib in v1.2.0
> > > >
> > > > On 03/16/2014 07:24 AM, FS wrote:
> > > >> Hi everybody, was there any change
> > > > calling the hamlib with the new
> > > >> version? I compiled with
> > > > --enable-hamlib but it doesnt work anymore...
> >
> > Yes, we dropped the old code for supporting the native rig
> > implementation for the ORION. Normally it should not change anything
> > for your rig number, but we will double check.
>
> I think that's not the cause of the problem (ORION code).
>
> I think the problem is we started to use the rig_get_vfo() in
> gettxinfo.c (as you remember, there was a bug: if you started the
> Tlf with VFO-A, and switch to VFO-B, Tlf didn't follow - using of
> rig_get_vfo() had fixed that).
>
That may be but I just wonder why the problem stopped after the switch
to the github code . If Fred uses your code that would fix it, but let
us wait for an answer from him.
In meantime I will try to look up the hamlib code for his rig. Maybe I
see the problem you mention there.
73, de Tom DL1JBE
> But not all RIG support this feature - in that case, the
> rig_get_vfo() returns a speciel value, which wasn't handle.
>
> See this file for the fixup:
>
> https://github.com/airween/tlf/blob/warc/src/gettxinfo.c
>
> 66 retval = rig_get_vfo(my_rig, &vfo); /* initialize
> RIG_VFO_CURR */ 67 if (retval == RIG_OK || abs(retval) ==
> RIG_ENIMPL || abs(retval) == RIG_ENAVAIL) 68 retval =
> rig_get_freq(my_rig, RIG_VFO_CURR, &rigfreq);
>
> There is in my github repo, in WARC branch - please review that.
>
>
> Zilvinas helped to test it - thanks again.
>
>
>
> GL, 73:
>
> Ervin
> HA2OS
--
"Do what is needful!"
Ursula LeGuin: Earthsea
--