Has checked up - works correctly: $ tclsh % package require owtcl 0.1 % ::OW::init /dev/ttyS0 % ::OW::get 09.9B3099010000/ % ::OW::get uncached/ 09.9B3099010000/ # Connected new iButton device % ::OW::get 09.9B3099010000/ % ::OW::get uncached/ 01.62EA41020000/ 09.9B3099010000/ % ::OW::get 09.9B3099010000/ 09.9B3099010000/ # Disconnected iButton device % ::OW::get 09.9B3099010000/ 09.9B3099010000/ % ::OW::get uncached/ 01.62EA41020000/ % ::OW::get 09.9B3099010000/
In the future there will be an option "-uncached", examples: ::OW::get -uncached ::OW::get -uncached 12.123456000000 ::OW::get -uncached 1F.654321000000/aux/12.123456000000 Serg. "JK" == Jan Kandziora wrote: JK> Am Montag, 13. Juni 2005 21:50 schrieb Alfille, Paul H.,M.D.: >> read the "uncached" directory. >> JK> That does not work with owtcl, as an "OW::get" does only return the cached JK> 1Wire node directories and the "alarm" directory. All other directories are JK> invisible and I get an error if I want to access them (by "OW::get uncached" JK> e.g.) JK> Kind regards JK> Jan >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] Behalf Of Jan >> Kandziora >> Sent: Monday, June 13, 2005 3:38 PM >> To: [email protected] >> Subject: [Owfs-developers] owtcl and forcing bus rescan. >> >> >> Serg, and anybody else who's into this, >> >> I want to use iButton keys with my vending machine. They just appear on the >> 1-Wire wire bus when connected, disappear when disconnected (but only on >> bus rescan). >> >> With owfs, I can always touch the "uncached" directory to force a rescan of >> the bus, and thus, get all the keys connected - but with owtcl, this is not >> possible. Am I right? Or how to achieve a bus rescan with owtcl? >> JK> ------------------------------------------------------- JK> This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput JK> a projector? How fast can you ride your desk chair down the office luge track? JK> If you want to score the big prize, get to know the little guy. JK> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 JK> _______________________________________________ JK> Owfs-developers mailing list JK> [email protected] JK> https://lists.sourceforge.net/lists/listinfo/owfs-developers -- 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
