Re: Virtual Device
Donald J. Organ IV <dorgan <at> donaldorgan.com>
2008-11-04 16:41:50 GMT
Yes actually as this email came in. I even figured out the -F argument. Next is there a way to change the data
that is returned for a specific test device??
Sorry if I am annoying. I am just trying to get the ball rolling on my project.
----- Original Message -----
From: "Andreas Seidler" <tetzlav <at> leipzig.freifunk.net>
To: owfs-developers <at> lists.sourceforge.net
Sent: Tuesday, November 4, 2008 11:36:34 AM GMT -05:00 US/Canada Eastern
Subject: Re: [Owfs-developers] Virtual Device
Hi Donald,
Donald J. Organ IV schrieb:
> Perfect this is what I was looking for however I believe I am going to go with the tester interface as it has
more predictable data.
>
> How would I use the tester devices with owfs??
the same way (owfs --help):
# mkdir /tmp/owfs
# owfs --tester=01,10,22,29 -m /tmp/owfs
# ls -1 /tmp/owfs/
01.000001FE0000
10.000010EF0100
22.000022DD0200
29.000029D60300
alarm
bus.0
settings
simultaneous
statistics
structure
system
uncached
# cat /tmp/owfs/10.000010EF0100/temperature
1.7
regards
Andreas
> ----- Original Message -----
> From: "Andreas Seider" <tetzlav <at> leipzig.freifunk.net>
> To: owfs-developers <at> lists.sourceforge.net
> Sent: Tuesday, November 4, 2008 4:53:22 AM GMT -05:00 US/Canada Eastern
> Subject: Re: [Owfs-developers] Virtual Device
>
> Donald J. Organ IV schrieb:
>> I posted this on the forums but I will post it here as well.
>>
>> Is there a way to create a virtual device. I am starting work on a new
>> project but dont have any of the 1-wire devices yet but would like to
>> start work on this project, is there a way to do this??
>
>
> please read
> http://owfs.org/index.php?page=fake-adapter
>
> for example
> # owserver --fake=01,10,22,29 -p 9999
>
> # owdir -s 9999
> /01.67C6697351FF
> /10.4AEC29CDBAAB
> /22.F2FBE3467CC2
> /29.54F81BE8E78D
> /bus.0
> /settings
> /system
> /statistics
> /structure
> /simultaneous
> /alarm
>
> # owread -s 9999 10.4AEC29CDBAAB/temperature
> 15.6679
>
>
> regards
> Andreas
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/