public class SpeedDetector extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
SpeedDetector.Range |
| Constructor and Description |
|---|
SpeedDetector() |
SpeedDetector(long waitMillis,
int testLength,
int maxCount) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRange(byte b) |
void |
addRange(byte start,
byte end) |
void |
addSpeed(SerialChannel.Speed speed)
Adds configuration candidate
|
void |
addSpeeds(Collection<? extends SerialChannel.Speed> all) |
Map<String,SerialChannel.Speed> |
configure(List<String> ports,
long timeout,
TimeUnit unit) |
public SpeedDetector()
public SpeedDetector(long waitMillis,
int testLength,
int maxCount)
public void addRange(byte b)
public void addRange(byte start,
byte end)
public void addSpeed(SerialChannel.Speed speed)
config - public void addSpeeds(Collection<? extends SerialChannel.Speed> all)
public Map<String,SerialChannel.Speed> configure(List<String> ports, long timeout, TimeUnit unit) throws IOException
IOExceptionCopyright © 2015. All rights reserved.