Menu

#14 wx200 --aprs invalid format for neg temp

open
nobody
None
5
2008-01-25
2008-01-25
No

wx200 --aprs is incorrectly formating temperature reports between zero and -10 F. Temp data can not be reported to CWOP.

I'm using the wx200 with --aprs switch to send data to
CWOP via Tyler's script.
(http://www.allisonhouse.com/weather/devel/cwop.txt)

Line 280 of wx200.c (wx200.c,v 1.44 Revision 1.44 -
Sat Feb 24 23:43:01 2007)

line reads:
sprintf(tmpbuf,"%+02.0f",unit_temp(wx.temp.out.n,1));

gives:
236/004g000t-1r000p000h47b10324XRSW

Line should read:
sprintf(tmpbuf,"%+03.0f",unit_temp(wx.temp.out.n,1));

and give:
250/004g004t-01r000p000h47b10324XRSW

Discussion


Log in to post a comment.

MongoDB Logo MongoDB