"JK" == Jan Kandziora wrote:

 JK> Am Mittwoch, 8. Juni 2005 23:12 schrieb Alfille, Paul H.,M.D.:
 >> 
 >> You are absolutely welcome to participate.
 >> 
 JK> Then I'm happy to go on the bug-hunt.

 JK> Anyway, for my project I need an automation framework (not a GUI, just a 
 JK> library) for 1-wire devices and Linux, with some things owfs itself 
doesn't 
 JK> address, e.g. timers or grouping of 1-wire chips to "devices" - the goal 
here 
 JK> is to uniquely identify "devices" instead of single chips and thus, allow 
 JK> plug'n'work. I want to develop this in Tcl (that's why I'm after the 
 JK> binding). 

 JK> I don't know if you are interested in such a framework - it's a little off 
the 
 JK> scope.

It should support your application, but not OWFS.
Look here it as an example: ftp://oskin.ru/pub/linux/1wire/
It was written before creation owtcl.

 >> 
 >> 1. MIPS works. Christian Magnusson is the wizard at porting.
 >> 
 JK> Great. I'll try out as soon the hardware arrives.


 >> 2. Slaves using owserver is the intended design.
 >> We don't currently implement adding/removing owservers sources while the
 >> owfs (or whatever) process is running, but there is nothing in the
 >> underlying design that would prevent it. We'd just have to ponder what the
 >> communication channel to the master should be for these events.
 >> 
 JK> I'd expect the owtcl client to throw an error if the server is not 
reachable. 
 JK> Am I correct? In that case, the automation framework could try to 
reconnect 
 JK> every 10s or the like.

owtcl transfers almost all mistakes OWFS in to your application. For
reliability I recommend to check presence of any 1wire chip's on the
bus (see my example).

 >> 3. Timing is really 1-wire bus limited. OWFS is straight C code, and TCP/IP
 >> is small single packets. I'll test the timing if you wish -- what devices
 >> where you considering?
 >> 
 JK> ^^; I thought you already have that data, as this is the first question 
I'd 
 JK> expect about any automation system. But Ok, I can measure it myself, too, 
no 
 JK> hassle.


 >> 4. TCL doesn't use SWIG, I believe.
 >> Serg Oskin is the TCL implementer, and has been very active is fixing any
 >> problems.
 >> 
 JK> Ok, I will ask him on Tcl issues. The first thing on my nails is:


 JK> BUGS
 JK> Simultaneous work of several connections is not supported.


 JK> I really need multiple simultaneous connections for my application - who 
 JK> doesn't? Is this a limitation of owlib (global data structures) or simply 
a 
 JK> limitation in the owtcl wrapper? I would start with this bug if someone 
 JK> guides me.

Sorry, this information has become outdated. Fixed.

-- 
        Serg (http://oskin.ru/)
~
~
:q!


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to