I made a fix to owserver, where some code was limiting 1 request per 200ms!
when persistent connections were used. (Eg. Owserver-owserver or Owfs
-owserver configurations)
I added a timed semaphore which should fix the unnecessary delay between two
requests within the same persistant
I'm using linkUSB and T-sense on Ubuntu 9.04 - using latest updates.I don't
use digitemp, I use /opt/owfs/bin/owserver --link=/dev/ttyUSB0 -p 4304 to
run the server
and I use owread to get temperatures. I have been reading on 90-second
periods for many days and has been very robust.
One
Here is some comparison between the performance before and after the latest
changes.
# /opt/owfs/bin/owserver --foreground --error_level=3 --fake=10 -p 5000
# /opt/owfs/bin/owfs --foreground --error_level=3 -s 5000 /tmp/2
Old code. It takes 2.37 seconds to read 6 fake devices!
# time cat
From what I read about the passive adapters, the serial port should
operate at 115.2 kbps and the character size should be 6 bits. This
presents the best timing for the 1-wire bus. I took a quick read
through the XT-Micro documentation and I see different models with
different
Nice discussion, Paul.
OWFS uses 6-bit communication with the DS9097 by default, but will use 8-bit
with a command line parameter (this issue has come up with some embedded
computers that can't support 6-bit serial communication).
I believe the BAUD rate is changed to 9600 baud briefly