|
||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of TIOPeripheral in com.stollmann.terminalIO |
---|
Methods in com.stollmann.terminalIO that return TIOPeripheral | |
---|---|
static TIOPeripheral |
TIOPeripheral.createFromBluetoothDevice(BluetoothDevice device)
// * @deprecated (exclude for javadoc documentation generation) Internal method to be called by TIOManager only; do not call from application code. |
static TIOPeripheral |
TIOPeripheral.createFromScanResult(BluetoothDevice device,
TIOAdvertisement advertisement)
// * @deprecated (exclude for javadoc documentation generation) Internal method to be called by TIOManager only; do not call from application code. |
TIOPeripheral |
TIOManager.findPeripheralByAddress(java.lang.String address)
Retrieves the TIOPeripheral instance with the specified address. |
TIOPeripheral[] |
TIOManager.getPeripherals()
Gets all TIOPeripheral instances representing the currently known TerminalIO peripherals. |
Methods in com.stollmann.terminalIO with parameters of type TIOPeripheral | |
---|---|
void |
TIOManager.removePeripheral(TIOPeripheral peripheral)
Removes the specified peripheral from the TIOManager's peripheral list. |
void |
TIOManagerCallback.tioManagerDidDiscoverPeripheral(TIOPeripheral peripheral)
Invoked when a TerminalIO peripheral has been newly discovered. |
void |
TIOManagerCallback.tioManagerDidUpdatePeripheral(TIOPeripheral peripheral)
Invoked when an update of a TerminalIO peripheral's advertisement has been detected. |
void |
TIOPeripheralCallback.tioPeripheralDidConnect(TIOPeripheral peripheral)
Invoked when a TerminalIO connection has been successfully established. |
void |
TIOPeripheralCallback.tioPeripheralDidDisconnect(TIOPeripheral peripheral,
java.lang.String errorMessage)
Invoked when an established TerminalIO connection is disconnected. |
void |
TIOPeripheralCallback.tioPeripheralDidFailToConnect(TIOPeripheral peripheral,
java.lang.String errorMessage)
Invoked when a TerminalIO connection establishment has failed. |
void |
TIOPeripheralCallback.tioPeripheralDidReceiveUARTData(TIOPeripheral peripheral,
byte[] data)
Invoked when UART data transmitted by the remote peripheral have been received. |
void |
TIOPeripheralCallback.tioPeripheralDidUpdateAdvertisement(TIOPeripheral peripheral)
Invoked when an updated advertisement for a known peripheral has been detected after calling TIOManager.startScan() . |
void |
TIOPeripheralCallback.tioPeripheralDidUpdateLocalUARTCreditsCount(TIOPeripheral peripheral,
int creditsCount)
Invoked when the number of local UART credits has changed due to received data or new credits granted to the remote peripheral. |
void |
TIOPeripheralCallback.tioPeripheralDidUpdateRemoteUARTCreditsCount(TIOPeripheral peripheral,
int creditsCount)
Invoked when the number of remote UART credits has changed due to sent data or new credits granted by the remote peripheral. |
void |
TIOPeripheralCallback.tioPeripheralDidUpdateRSSI(TIOPeripheral peripheral,
int rssi)
Invoked when an RSSI value is reported as a response to calling TIOPeripheral.readRSSI() . |
void |
TIOPeripheralCallback.tioPeripheralDidWriteNumberOfUARTBytes(TIOPeripheral peripheral,
int bytesWritten)
Invoked when a UART data block has been written to the remote device. |
void |
TIOPeripheralCallback.tioPeripheralUARTWriteBufferEmpty(TIOPeripheral peripheral)
Invoked when all available UART data have been written to the remote device. |
|
||||||||
PREV NEXT | FRAMES NO FRAMES |