BUG: DTR and RTS reset when a second program attempts to access WS

When one of the weather programs is already accessing the serial port of the weather station and you attempt to run another program you get the error "Serial device is locked by other program" which is good. However, this second attempt as a side effect of resetting DTR and RTS so the first program is now unable to get a response from the weather station any more. For a work around I put in the code to set the DTR and RTS up as it should be before closing and returning the lock error.

Test case

Environment

Open2300 version: 1.11
Shared libraries:  
Server OS: 2.6.39-ARCH
-- GatorY - 16 Jul 2011

Follow up

Fix record

BugReportForm edit

TopicTitle DTR and RTS reset when a second program attempts to access WS
BugStatus New
AssignedBugTo
SubmittedBy GatorY
Topic revision: r1 - 16 Jul 2011, GatorY
 
Open2300 - Bug Report 2011x 07x 16x 194859
Copyright 1999-2014 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.