On 2/15/07, Tim Sailer <[EMAIL PROTECTED]> wrote:
I now have a spare AAG weather station to play with, along with the AAG
hub and BP unit. I see the BP devices but when I cat the 'pressure' file
on either one, I get an error:
[EMAIL PROTECTED]:/1wire# ls
10.8D5155000800 12.0B3032000000 alarm settings statistics system
12.02F331000000 26.695115000000 bus.0 simultaneous structure
uncached
[EMAIL PROTECTED]:/1wire# cd 12.02F331000000/TAI8570/
[EMAIL PROTECTED]:/1wire/12.02F331000000/TAI8570# ls
pressure sibling temperature
[EMAIL PROTECTED]:/1wire/12.02F331000000/TAI8570# cat pressure
cat: pressure: Invalid argument
[EMAIL PROTECTED]:/1wire/12.02F331000000/TAI8570# cat temperature
cat: temperature: Invalid argument
[EMAIL PROTECTED]:/1wire/12.02F331000000/TAI8570# cat sibling
[EMAIL PROTECTED]:/1wire/12.02F331000000/TAI8570#
Fixed. Very very embarassing. As is written in "Code Complete", always use
braces with an "if" -- even if only a single line. Indeed, I added a
debugging line and changed the sense of the statement.
Are there any command line switches I need to use? Also, is there
documentation anywhere for the config file?
Yes. "man 5 owfs" or http://www.owfs.org/index.php?page=configuration-file
Paul Alfille
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers