Sorry. I have inaccuratly copied it by mouse. :)

% ::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
01.62EA41020000/ 09.9B3099010000/
# Disconnected iButton device
% ::OW::get
01.62EA41020000/ 09.9B3099010000/
% ::OW::get uncached/
09.9B3099010000/
% ::OW::get
09.9B3099010000/

Serg.


"PHA" == Paul H Alfille wrote:

 PHA> -----Original Message-----
 PHA> From: [EMAIL PROTECTED]
 PHA> [mailto:[EMAIL PROTECTED] Behalf Of Serg
 PHA> Oskin
 PHA> Sent: Tuesday, June 14, 2005 2:21 AM
 PHA> To: [email protected]
 PHA> Subject: Re: [Owfs-developers] owtcl and forcing bus rescan.


 PHA> Has checked up - works correctly:
 PHA> $ tclsh
 PHA> % package require owtcl
 PHA> 0.1
 PHA> % ::OW::init /dev/ttyS0
 PHA> % ::OW::get
 PHA> 09.9B3099010000/
 PHA> % ::OW::get uncached/
 PHA> 09.9B3099010000/
 >> Connected new iButton device
 PHA> % ::OW::get
 PHA> 09.9B3099010000/
 PHA> % ::OW::get uncached/
 PHA> 01.62EA41020000/ 09.9B3099010000/
 PHA> % ::OW::get
 PHA> 09.9B3099010000/ 09.9B3099010000/

 >>>> that doesn't look right!

 >> Disconnected iButton device
 PHA> % ::OW::get
 PHA> 09.9B3099010000/ 09.9B3099010000/
 PHA> % ::OW::get uncached/
 PHA> 01.62EA41020000/
 PHA> % ::OW::get
 PHA> 09.9B3099010000/

 PHA> In the future there will be an option "-uncached", examples:

 PHA> ::OW::get -uncached
 PHA> ::OW::get -uncached 12.123456000000
 PHA> ::OW::get -uncached 1F.654321000000/aux/12.123456000000

 PHA> Serg.

 PHA> "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
 PHA> 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
 PHA> shotput
 JK> a projector? How fast can you ride your desk chair down the office luge
 PHA> 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



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


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


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

Reply via email to