org.bluemelon.bluesense
Class UnknownDevice
java.lang.Object
org.bluemelon.bluesense.Device
org.bluemelon.bluesense.UnknownDevice
public class UnknownDevice
- extends Device
A device of this class is returned when either:
1. the identifier points to a non existent device
2. the device type was not registered with the master.
At the start of you application you should always register
the types of devices you want to use. @see org.bluemelon.bluesense.AdcInputDevice#register(Master)
|
Method Summary |
boolean |
detect(int timeOut)
Do not use. |
int |
getType()
In case of an unknown device, getType returns the
found hardware type. |
boolean |
isAccessible()
Do not use. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_ID
public static final int TYPE_ID
detect
public boolean detect(int timeOut)
- Do not use.
- Overrides:
detect in class Device
- Parameters:
timeOut -
- Returns:
- false
isAccessible
public boolean isAccessible()
- Do not use.
- Overrides:
isAccessible in class Device
- Returns:
- false
getType
public int getType()
- In case of an unknown device, getType returns the
found hardware type.
- Overrides:
getType in class Device
- Returns:
- type id.