public interface OneWireDriver extends Driver
PythonClient is working.| Modifier and Type | Field and Description |
|---|---|
static String |
INVALID
The invalid string.
|
static int |
OK
Return code on issue for okay.
|
static String |
VALID
The valid string.
|
| Modifier and Type | Method and Description |
|---|---|
int |
issue(String address,
String command)
Issues the command to the driver and returns the result as an int.
|
String |
retrieve(String address)
Issues the command to the driver and returns the result as a string.
|
close, getDriverName, isOpen, openinitstatic final int OK
static final String INVALID
static final String VALID
String retrieve(String address)
address - The path to the one-wire sensor.int issue(String address, String command)
address - The path to the one-wire sensor.command - The command to send to the one-wire sensor.