Programs Written to Test the 1-Wire Network


Reading from 1-Wire Devices


In these functions, errors are reported by negative return values. Whenever an error is returned, the function prints not only the cause of the error, but a message such as "One-wire bit read/write failed," indicating which function was returning the error, and thus implementing something like a stack trace. The function that handles the error writes a blank line to stderr.

Low-level diagnostic tools

Most of these programs simply call a specific function in ow-functions.c.

Simple conversion routines

Single-use test programs

Older programs using the 1-Wire Public Domain Kit

(1-Wire Public Domain Kit build for Linux / USB / libusb / GNU C)

Return to index