public interface ReadWriteCallbackServer
Modifier and Type | Method and Description |
---|---|
void |
onReadRequest(ej.bluetooth.BluetoothDevice device)
Called back when a read request is received.
|
void |
onWriteRequest(ej.bluetooth.BluetoothDevice device,
byte[] value)
Called back when a write request is received.
|
void onReadRequest(ej.bluetooth.BluetoothDevice device)
device
- the device doing the read request.void onWriteRequest(ej.bluetooth.BluetoothDevice device, byte[] value)
device
- the device doing the write request.value
- the value to write.