BUG: Big values reported by mysql2300

When the station lose commmunication with external captors, it displays '---' on the screen. In this case, mysql2300 return really big values (ex : 25 m/s for wind, 80°C for external temperature, ...).

It may be a good idear to return null values instead.

Test case

Break communication with external captors, and see.

Environment

Open2300 version: 1.10
Shared libraries: mysql
Server OS: Slackware 7.0

-- CyrilMennessier - 17 Apr 2006

Follow up

See my attachment. mysqlhistlog2300 skips all records with humidity > 100%. Most wrong measurements are prevented by this. Setting to ZERO or NULL would tackle statistics so I decided better to skip the whole record. Can be extended for temp or airspeed on request.

Regards -- OschenLars - 25 Mar 2007

Fix record

For my own record. I have taken this version of mysqlhistlog.c into my 1.11 sources.

-- KennethLavrsen - 19 Jul 2006

BugReportForm edit

TopicTitle Big values reported by mysql2300
BugStatus Resolved
AssignedBugTo
SubmittedBy CyrilMennessier?
Topic attachments
I Attachment Action Size Date Who Comment
mysqlhistlog2300.cc mysqlhistlog2300.c manage 8.0 K 10 Jun 2006 - 15:19 OschenLars Read WS2300 memory and skips datasets with humidity > 100%.
Topic revision: r4 - 25 Mar 2007 - 18:56:09 - OschenLars
 
Open2300 - Bug Report 2006x 04x 17x 075310
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback