I'll have to look at your structure. 

For mine, i was planning on just having 2 or 4 commands: readmem(), writemem(), 
readbyte(byte#), writebyte(byte#) 

if yours is similar, i don't see any reason not to. 

-tmk 

----- Original Message ----- 
From: "Pascal Baerten" <[email protected]> 
To: "OWFS (One-wire file system) discussion and help" 
<[email protected]> 
Sent: Sunday, February 14, 2010 1:29:01 AM GMT -08:00 US/Canada Pacific 
Subject: Re: [Owfs-developers] How can i get a slave serial number allocated? 

Hi tmk, 

Well, I'm nearly sure that maxim-dallas will not accept to assign family id to 
others. Instead of facing an explicit no way, I just count on maxim-dallas 
tolerance and selected an unassigned familly id near the end of the range... 
To avoid consuming anarchically multiple family id, chips support a simple 
command (read type 0x12) to identify chip model. 

There are still enhancement needed to have OWFS supporting dynamic property 
assignement but the idea is to have within the same 0xfc family multiple device 
types corresponding to a separate directory. 

If you could conform to the simple set of 0xfc commands, why not share this 
family id? 

Pascal 



2010/2/14 < [email protected] > 




Hi folks, 

This one's probably mostly for Paul, but Pascal might know too :) 

I'm doing some solar heat collection automation, and i was going to try and 
hook an arduino (well, actually just an AVR, but close enough) up to the 1-wire 
bus, so i could have all my info in the same place. 

I'd have to write some code to emulate a 1-wire slave device, and i was 
wondering if I can just pick any slave ID/serial #/family ID or if there is a 
special experimental range. 

Hope someone on here knows the answer. 

Cheers 
-tmk 

------------------------------------------------------------------------------ 
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, 
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW 
http://p.sf.net/sfu/solaris-dev2dev 
_______________________________________________ 
Owfs-developers mailing list 
[email protected] 
https://lists.sourceforge.net/lists/listinfo/owfs-developers 




-- 
Pascal 

------------------------------------------------------------------------------ 
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, 
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW 
http://p.sf.net/sfu/solaris-dev2dev 
_______________________________________________ Owfs-developers mailing list 
[email protected] 
https://lists.sourceforge.net/lists/listinfo/owfs-developers 
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to