summaryrefslogtreecommitdiffstats
path: root/java/jau
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-10-27 07:26:31 +0200
committerSven Gothel <[email protected]>2021-10-27 07:26:31 +0200
commitdfec6813cd970049c7baf7c31d40e91fd56111ca (patch)
treeb770981fc056951e07f370f2d7baf5b8b81de024 /java/jau
parent7991e4ad41e7e3baf21cf499bfc04380ec4f4206 (diff)
Add BTAdapter::setSecureConnections(bool) (C++/Java): Allow testing peripheral with legacy mode
Diffstat (limited to 'java/jau')
-rw-r--r--java/jau/direct_bt/DBTAdapter.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/java/jau/direct_bt/DBTAdapter.java b/java/jau/direct_bt/DBTAdapter.java
index eeb6e845..c1301733 100644
--- a/java/jau/direct_bt/DBTAdapter.java
+++ b/java/jau/direct_bt/DBTAdapter.java
@@ -265,7 +265,10 @@ public class DBTAdapter extends DBTObject implements BTAdapter
private native String toStringImpl();
@Override
- public native boolean setPowered(boolean power_on);
+ public native boolean setPowered(final boolean power_on);
+
+ @Override
+ public native boolean setSecureConnections(final boolean enable);
@Override
public final HCIStatusCode initialize() {