Open2300 - Bug Report 2005x 09x 22x 163424

BUG: If external sensor data is not available, garbage is returned (eventually)

Occasionally the WS2300 will lose communication with the external sensors. In this case, a large number of retries is performed. According to the source there are 20 retries with 10 seconds between retries. This is per function returning external data.

There are two problems with this:

1. If a program is running as a cron job things can get messy if a second instance is started before the first has finished.

2. Eventually the retries will be exhausted, and if valid data is still not available gerbage data is returned.

Test case

Run fetch2300 with the outside sensor batteries removed.

Environment

Open2300 version: 1.10
Shared libraries: mysql, postgresql
Server OS: Debian sarge

-- SteveSouth - 22 Sep 2005

Follow up

Fix record

BugReportForm edit

TopicTitle If external sensor data is not available, garbage is returned (eventually)
BugStatus New
AssignedBugTo
SubmittedBy SteveSouth
Topic revision: r1 - 22 Sep 2005, SteveSouth
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.