summaryrefslogtreecommitdiffstats
path: root/java/org/tinyb
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-05-03 04:05:08 +0200
committerSven Gothel <[email protected]>2020-05-03 04:05:08 +0200
commit646e8a02d3572569dc889e2162d1c900ca0d40b2 (patch)
tree329fd6b4cab47934e2a4ae84b23c4f023b1e9420 /java/org/tinyb
parentc57fd196538a3035cc465d33cd307e8b2a734639 (diff)
Java: Utilize new EIRDataType in BluetoothDeviceStatusListener; ...
- Utilize new EIRDataType in BluetoothDeviceStatusListener - DBTAdapter: Add null checks for java callbacks - JNI: Adapt to EIRDataType on deviceUpdated. - DBTManager: Implement getAdapterListImpl(), supporting multiple adapter. JNI Implementation uses proper lambda for java-object ctor and fixed 'convert_vector_to_jobject'. - JNI: Fix 'convert_vector_to_jobject' using vector<unique_ptr<..>> as we cannot escape from a shared_ptr, i.e. no release() of ownership. - Working ScannerTinyB01 (discovery + connect using multiple adapter)
Diffstat (limited to 'java/org/tinyb')
-rw-r--r--java/org/tinyb/BluetoothDeviceStatusListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/org/tinyb/BluetoothDeviceStatusListener.java b/java/org/tinyb/BluetoothDeviceStatusListener.java
index 184392ea..3220d106 100644
--- a/java/org/tinyb/BluetoothDeviceStatusListener.java
+++ b/java/org/tinyb/BluetoothDeviceStatusListener.java
@@ -36,7 +36,7 @@ public interface BluetoothDeviceStatusListener {
/** A {@link BluetoothDevice} has been newly discovered. */
public void deviceFound(final BluetoothAdapter adapter, final BluetoothDevice device, final long timestamp);
/** An already discovered {@link BluetoothDevice} has been updated. */
- public void deviceUpdated(final BluetoothAdapter adapter, final BluetoothDevice device, final long timestamp);
+ public void deviceUpdated(final BluetoothAdapter adapter, final BluetoothDevice device, final long timestamp, final EIRDataType updateMask);
/** {@link BluetoothDevice} has been connected. */
public void deviceConnected(final BluetoothAdapter adapter, final BluetoothDevice device, final long timestamp);
/** {@link BluetoothDevice} has been disconnected. */