diff options
author | Sven Gothel <[email protected]> | 2020-11-08 03:22:00 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-11-08 03:22:00 +0100 |
commit | 834b16b199163dffab02e9077a45b9d243b59665 (patch) | |
tree | 6a08246d313f108a960261969b51bdeda808d7f9 /java/tinyb | |
parent | 0cec438fb5a1ca07111df38eb32878523656ec56 (diff) |
BluetoothDevice::connectLE(..): Renamed from connect(..) for clarity, update default values and use default if any param < 0
Diffstat (limited to 'java/tinyb')
-rw-r--r-- | java/tinyb/dbus/DBusDevice.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/tinyb/dbus/DBusDevice.java b/java/tinyb/dbus/DBusDevice.java index 070e71d3..81580585 100644 --- a/java/tinyb/dbus/DBusDevice.java +++ b/java/tinyb/dbus/DBusDevice.java @@ -92,9 +92,9 @@ public class DBusDevice extends DBusObject implements BluetoothDevice private native boolean connectImpl() throws BluetoothException; @Override - public HCIStatusCode connect(final short interval, final short window, - final short min_interval, final short max_interval, - final short latency, final short timeout) { + public HCIStatusCode connectLE(final short interval, final short window, + final short min_interval, final short max_interval, + final short latency, final short timeout) { return connect(); // FIXME connection params ... } |