BTW: Does this timeout and ping packets take care of read/write commands that take long time to execute?
For example, ow_2433.c:OW_w_mem() will call BUSLOCK()/BUSUNLOCK() three times during the write progress (+ BUSLOCK in bus_reset). This will probably delay the execution length since it could take several seconds between each BUSLOCK() if the 1-wire bus is busy with other commands. Just a quick thought about possible errors without reading the source with the latest changes. /Christian -----Ursprungligt meddelande----- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Paul Alfille Skickat: den 19 februari 2006 07:44 Till: [email protected] Ämne: Re: [Owfs-developers] Timeout again On Monday 13 February 2006 05:22 pm, Christian Magnusson wrote: > Nope... 2 seconds isn't enough... Can't tell you why, but it's not > working for me at least.. > > /Christian Fixed! Added some smarts (and fixed some inefficiencies) in the network protocol. owserver will now respond within 1.5 seconds to a request, either with a "null ping" or with data. The "null ping" is ignored by the client, but prevents the 2 second timeout. If the 2 second timeout occurs, there is probably a network issue, and we should investigate reconnection or some other handling. I will make a release tomorrow. Paul Alfille ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
