head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.46 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.44 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.42 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.40 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.38 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.36 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.34 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.32 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.30 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.28 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.26 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.24 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.22 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.20 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.18 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.16 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.14 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.12 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.10 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.8 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.6 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.4 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.2 pkgsrc-2004Q4-base:1.3; locks; strict; comment @# @; 1.3 date 2004.11.29.08.22.27; author martin; state dead; branches; next 1.2; 1.2 date 2004.11.12.19.01.57; author kristerw; state Exp; branches; next 1.1; 1.1 date 2004.11.11.10.19.29; author martin; state Exp; branches; next ; desc @@ 1.3 log @Update to open2300-1.8. This removes a lot of the previous hacks, replacing them with a fixed setup for the serial port. @ text @$NetBSD: patch-ad,v 1.2 2004/11/12 19:01:57 kristerw Exp $ --- rw2300.h.orig Sun Nov 7 12:18:45 2004 +++ rw2300.h Fri Nov 12 19:57:46 2004 @@@@ -20,7 +20,6 @@@@ #include #include #include -#include #include #include #include @@@@ -283,14 +282,16 @@@@ void reset_06(WEATHERSTATION ws2300); int read_data(WEATHERSTATION ws2300, int address, int number, - unsigned char *readdata, unsigned char *commanddata); + unsigned char *readdata, unsigned char *commanddata, + int verify_checksum); int write_data(WEATHERSTATION ws2300, int address, int number, unsigned char encode_constant, unsigned char *writedata, unsigned char *commanddata); int read_safe(WEATHERSTATION ws2300, int address, int number, - unsigned char *readdata, unsigned char *commanddata); + unsigned char *readdata, unsigned char *commanddata, + int verify_checksum); int write_safe(WEATHERSTATION ws2300, int address, int number, unsigned char encode_constant, unsigned char *writedata, @ 1.2 log @The source code does not use bool, so no need to include stdbool.h. Makes this pkg compile on NetBSD 1.6. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Update open2300 to version 1.7 (and implicitly open2300-mysql too): bugfix release to fix a buffer overrun. While there, add a few patches to disable checksum verification on wind direction - this failed for my weather station consistently on some data sets. I'll bring this up with the authors. @ text @d3 11 a13 3 --- rw2300.h.orig 2004-04-14 03:41:10.000000000 +0200 +++ rw2300.h 2004-11-10 23:50:50.000000000 +0100 @@@@ -283,14 +283,16 @@@@ @