diff options
author | Sven Gothel <[email protected]> | 2020-05-25 21:34:38 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-05-25 21:34:38 +0200 |
commit | 3021035aa42a8d8075615e5159e9ebd2d70b58ae (patch) | |
tree | c67a827f4e10229665d793ebd93378ca023fdd74 /java/jni/direct_bt/DBTAdapter.cxx | |
parent | 589e2718189a4501c3611cbceffc3a90d2ff7ef5 (diff) |
DBTDevice/HCIComm: More 'snappy' connect method names and drop unused LE min/max ce_len,filter params
Show device on connection failure.
Diffstat (limited to 'java/jni/direct_bt/DBTAdapter.cxx')
-rw-r--r-- | java/jni/direct_bt/DBTAdapter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jni/direct_bt/DBTAdapter.cxx b/java/jni/direct_bt/DBTAdapter.cxx index cdca300d..73cf8534 100644 --- a/java/jni/direct_bt/DBTAdapter.cxx +++ b/java/jni/direct_bt/DBTAdapter.cxx @@ -586,7 +586,7 @@ jobject Java_direct_1bt_tinyb_DBTAdapter_connectDevice(JNIEnv *env, jobject obj, std::shared_ptr<JavaAnonObj> jDeviceRef = device->getJavaObject(); JavaGlobalObj::check(jDeviceRef, E_FILE_LINE); - device->connectHCIDefault(); + device->connectDefault(); return JavaGlobalObj::GetObject(jDeviceRef); } } catch(...) { |