Hi all, I think I discovered a problem with caching in the "alarm" directory. See this transcript:
janskiste:/home/jan # tclsh % package require ow 0.1 % OW::init /dev/i2c-1 % OW::get structure/,bus.7/,bus.6/,bus.5/,bus.4/,bus.3/,bus.2/,bus.1/,bus.0/,uncached/,settings/,system/,statistics/,29.5E4101000000/,29.8F4101000000/,1F.071B05000000/,1F.0F1B05000000/,alarm/ % OW::get alarm --- Put an iButton on the main branch of the DS2409 1F.0F1B05000000, alarm triggered --- % OW::get alarm 1F.0F1B05000000/ % OW::put 1F.0F1B05000000/discharge 1 CACHE GET 3 buffer size=4 stored size=4 % OW::get alarm --- Ok so far. But now again put the iButton on the main branch of the DS2409 1F.0F1B05000000, alarm triggered --- % OW::get alarm 1F.0F1B05000000/ --- Wait ~1m --- % OW::get alarm 1F.0F1B05000000/ % OW::put 1F.0F1B05000000/discharge 1 % OW::get alarm 1F.0F1B05000000/ % --- Huh? Ok, lets check if owfs is caching the alarm or if the chip is still responding --- % exit janskiste:/home/jan # tclsh % package require ow 0.1 % OW::init /dev/i2c-1 % OW::get alarm % Seems to be a problem with caching to me. How do I get rid of the cached alarm? Kind regards Jan -- A Law of Computer Programming: Make it possible for programmers to write in English and you will find the programmers cannot write in English. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers