|
Treehopper Java API
|
A USB connection to a TreehopperUsb instance. More...
Public Member Functions | |
| boolean | open () |
| void | close () |
| String | getSerialNumber () |
| String | getName () |
| void | sendDataPinConfigChannel (byte[] data) |
| void | sendDataPeripheralChannel (byte[] data) |
| byte [] | readPeripheralResponsePacket (int numBytesToRead) |
| void | setPinReportListener (TreehopperUsb board) |
A USB connection to a TreehopperUsb instance.
| void io.treehopper.interfaces.Connection.close | ( | ) |
Implemented in io.treehopper.UsbConnection, and io.treehopper.UsbConnection.
| String io.treehopper.interfaces.Connection.getName | ( | ) |
Implemented in io.treehopper.UsbConnection, and io.treehopper.UsbConnection.
| String io.treehopper.interfaces.Connection.getSerialNumber | ( | ) |
Implemented in io.treehopper.UsbConnection, and io.treehopper.UsbConnection.
| boolean io.treehopper.interfaces.Connection.open | ( | ) |
Implemented in io.treehopper.UsbConnection, and io.treehopper.UsbConnection.
| byte [] io.treehopper.interfaces.Connection.readPeripheralResponsePacket | ( | int | numBytesToRead | ) |
Implemented in io.treehopper.UsbConnection, and io.treehopper.UsbConnection.
| void io.treehopper.interfaces.Connection.sendDataPeripheralChannel | ( | byte [] | data | ) |
Implemented in io.treehopper.UsbConnection, and io.treehopper.UsbConnection.
| void io.treehopper.interfaces.Connection.sendDataPinConfigChannel | ( | byte [] | data | ) |
Implemented in io.treehopper.UsbConnection, and io.treehopper.UsbConnection.
| void io.treehopper.interfaces.Connection.setPinReportListener | ( | TreehopperUsb | board | ) |
Implemented in io.treehopper.UsbConnection, and io.treehopper.UsbConnection.