public interface Peripheral
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the peripheral name.
|
AsynchronousByteChannel |
newAsynchronousChannel(PeripheralChannelGroup group)
Returns a new AsynchronousChannel for communicating with the peripheral.
|
String getName()
AsynchronousByteChannel newAsynchronousChannel(PeripheralChannelGroup group) throws PeripheralNotFoundException, PeripheralInUseException
group - the channel groupPeripheralNotFoundException - if the comport does not existPeripheralInUseException - if the peripheral is locked by another applicationNullPointerException - if group is nullCopyright © 2011. All Rights Reserved.