[Xastir] [aprssig] Fwd: wx200d (fwd)

Curt, WE7U archer at eskimo.com
Mon Jan 29 10:22:59 EST 2007


The below forward is FYI.

I'd be interested in hearing if Xastir does the proper thing with
negative temps for those using the wx200 daemon.  This is a good
time of year to check your negative temps against findu or
AprsWorld.

--
Curt, WE7U.   APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"

---------- Forwarded message ----------
From: Ryan Tourge <k2rrt.lists at gmail.com>
Date: Jan 26, 2007 9:23 PM
Subject: wx200d
To: APRS SIG <aprssig at lists.tapr.org.>


I found a slight bug in the APRS output of the linux wx200d weather application.

As it comes when the temp dips below zero it outputs the temperature
parameter as "-7". This may have caused the temperature not to decode
properly in some applications. I found this using FINDU but it may be
the case with others as well...

so here was a quick fix:

on line 270 of wx200.c change:

       sprintf(tmpbuf,"%+02.0f",unit_temp(wx.temp.out.n,1));
to
       sprintf(tmpbuf,"%+03.0f",unit_temp(wx.temp.out.n,1));

then:
make
make install

This will out put the temp as "-07" and seems to make FINDU happy.

Just for the record I'm not picking on findu It's just the only app I
had access to at that moment.

--
Ryan Tourge - K2RRT


-- 
Ryan Tourge - K2RRT




More information about the Xastir mailing list