public interface SlaveConnection
| Modifier and Type | Method and Description |
|---|---|
void |
onSlaveConnected(int slaveID)
This method is called when new device is connected.
|
void |
onSlaveDisconnected(int slaveID,
boolean overCurrent)
This method is call when device is disconnected or communication is not possible.
|
void onSlaveConnected(int slaveID)
slaveID - slave identifier.void onSlaveDisconnected(int slaveID,
boolean overCurrent)
slaveID - slave identifier.overCurrent - when overcurrent condition is detected on USB slave and it
is temporary disabled.