Hello,
I found a problem (at least for me) with owfs' cache a while ago I'd like to
fix. Tried with owtcl:
% OW::get uncached
29.E53401000000/,bus.0/,bus.1/,bus.2/,bus.3/,bus.4/,bus.5/,bus.6/,bus.7/,settings/,system/,statistics/,structure/,alarm/
% OW::put 29.E53401000000/PIO.BYTE 161
% OW::put 29.E53401000000/PIO.BYTE 161
Ok, now I wait a long while...
% OW::put 29.E53401000000/PIO.BYTE 161
invalid argument
% OW::get uncached/29.E53401000000
LCD_H/,LCD_M/,PIO.BYTE,PIO.ALL,PIO.0,PIO.1,PIO.2,PIO.3,PIO.4,PIO.5,PIO.6,PIO.7,address,crc8,family,id,latch.BYTE,latch.ALL,latch.0,latch.1,latch.2,latch.3,latch.4,latch.5,latch.6,latch.7,locator,por,power,present,r_address,r_id,r_locator,sensed.BYTE,sensed.ALL,sensed.0,sensed.1,sensed.2,sensed.3,sensed.4,sensed.5,sensed.6,sensed.7,set_alarm,strobe,type
% OW::put 29.E53401000000/PIO.BYTE 161
invalid argument
% OW::put uncached/29.E53401000000/PIO.BYTE 161
invalid argument
% OW::get uncached/29.E53401000000/PIO.ALL
invalid argument
% OW::get uncached
29.E53401000000/,bus.0/,bus.1/,bus.2/,bus.3/,bus.4/,bus.5/,bus.6/,bus.7/,settings/,system/,statistics/,structure/,alarm/
% OW::put 29.E53401000000/PIO.BYTE 161
% OW::get uncached/29.E53401000000/PIO.ALL
1,0,0,0,0,1,0,1
%
Hmm. It seems it's neccessary to issue OW::get uncached once in a while.
That's not good, as I have a DS2482 adapter here and scanning the bus takes a
couple of seconds with even only a few chips connected.
I'd like to have it the way OWFS never "forgets" which chips are on the bus.
Which setting do I have to tune? I tried
Kind regards
Jan
--
I will never trust someone called GATES that sells WINDOWS.
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers