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