xlog-discussion
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xlog-discussion] xlog export to adif format.


From: Joop Stakenborg
Subject: Re: [Xlog-discussion] xlog export to adif format.
Date: Sun, 26 Sep 2004 11:02:00 +0200

Op zo 26-09-2004, om 04:13 schreef Morten Arnesen:
> > 
> where can i do the corrections? :)

Sorry for not sharing this, I did not know you compiled from source.

In src/logfile/adif.l replace the following code segment:
---------------------------------------------------------
/* adif doesn't know about THROB1, THROB2, THROB4, BPSK31, QPSK31 and
FELDHELL */
else if (fld == MODE && strlen(q[MODE]) > 5)
{
   if (!strncmp (q[MODE], "THROB", 5)) qfield = "THRB";
   else if (!strcmp (q[MODE], "QPSK31") || !strcmp (q[MODE], "BPSK31"))
qfield = "PSK31";
   else if (!strcmp (q[MODE], "FELDHELL")) qfield =
"HELL";                        else qfield = q[fld];
}
---------------------------------------------------------

by the following code segment:
---------------------------------------------------------
/* adif doesn't know about THROB1, THROB2, THROB4, BPSK31, QPSK31 and
FELDHELL */
else if (fld == MODE && strlen(q[MODE]) > 5)
{
  if (!strncmp (q[MODE], "THROB", 5))
  {
     qfield = "THRB";
     qfield_len = 4;
  }
  else if (!strcmp (q[MODE], "QPSK31") || !strcmp (q[MODE], "BPSK31"))
  {
     qfield = "PSK31";
     qfield_len = 5;
  }
  else if (!strcmp (q[MODE], "FELDHELL"))
  {
     qfield = "HELL";
     qfield_len = 4;
  }
  else qfield = q[fld];
}
----------------------------------------------------------------

Regards,
Joop





reply via email to

[Prev in Thread] Current Thread [Next in Thread]