Okay... try the latest version on chan_echolink.c from SVN now... Thanks for the help. I really appreciate it when people take the time to provide solutions. JIM WB6NIL
Date: Sat, 22 Jan 2011 01:58:15 -0500 From: kb4fxc@inttek.net To: telesistant@hotmail.com Subject: Re: [App_rpt-users] Echolink Link Status
...Actually, one more rounding adjustment is needed...Oops!
...snip...
latb = (lata - floor(lata)) * 60; latd = (latb - floor(latb)) * 100 + 0.5; lonb = (lona - floor(lona)) * 60; lond = (lonb - floor(lonb)) * 100 + 0.5; ...snip...
73, David kb4fxc
On Sat, 22 Jan 2011, David McGough wrote:
Hi Jim,
Here is my hacked version of code for chan_echolink.c....If's small enough I didn't generate a diff.
....snip....
lata = fabs(mylat); lona = fabs(mylon); latb = (lata - floor(lata)) * 60; latd = (latb - floor(latb)) * 100; lonb = (lona - floor(lona)) * 60; lond = (lonb - floor(lonb)) * 100;
sprintf(aprsstr,")EL-%-6.6s!%02d%02d.%02d%cE%03d%02d.%02d%c0PHG%d%d%d%d/%06d/%03d%s",instp->mycall, (int)lata,(int)latb,(int)latd,latc, (int)lona,(int)lonb,(int)lond,lonc,
instp->power,instp->height,instp->gain,instp->dir, (int)((instp->freq * 1000) + 0.5),(int)(instp->tone + 0.05),instp->aprs_display);
....snip....
73, David kb4fxc
On Sat, 22 Jan 2011, David McGough wrote:
Hi Jim,
The lat/lon are a lot closer now, but still off by a bit.
lat=34.165298 ;;; Real Decimal!! lon=-77.944299 ;;; Real Decimal!!
;;;lat=34.0992 ;;; Real GPS... ;;;lon=-77.5666 ;;; Real GPS...
Calulated by chan_echolink:
34.1055 -77.5739
Thanks for you help!
73, David kb4fxc
On Fri, 21 Jan 2011, Jim Duuuude wrote:
All righty... Lets try this again..
Please download the latest version of chan_echolink.c from SVN, and we'll see if this works better.
JIM
Date: Fri, 21 Jan 2011 23:21:20 -0500 From: bdboyle@bdboyle.com To: telesistant@hotmail.com; app_rpt-users@ohnosec.org Subject: Re: [App_rpt-users] Echolink Link Status
On 1/21/2011 11:15 PM, Jim Duuuude wrote:
oh poo!! Ill have to fix it. Its truly meant to be decimal degrees.
JIM WB6NIL
Also....here's a good one...send up the frequency as 224.540...EL displays as 224.539...:) Talk about a little rounding error (or not...)...close enough for small tactical nukes...;).
But, works nice so far.
bryan wb0yle allstar 27294