I've made a new release 2.5p3 that has a new set of programs:

owdir
owread
owwrite
owpresent

Collectively I call these the "owshell" programs. Basically they ask a single question from owserver and exit.

Examples:

# OWSERVER:
owserver -u -p 3000

# Get a directory listing
owdir -s 3000

#get the list of error statistics
owdir -s 3000 /statistics/errors

#get the temperature from a specific chip
owread -s 3000 /10.00235345967/temperature

# set the high temperature limit
owwrite -s 3000 /10.00235345967/temperature 57

# Is the chip present?
owpresent -s 3000 1F.003311432234

More data at: http://www.owfs.org/index.php?page=owshell

The idea is to create a light-weight way to access OWFS from a script without the filesystem. The owshell programs skip local caching, multiple threads and multiple adapters. The programs should also be easier to port to other operating systems (?Windows).

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
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to