diff options
author | Sven Gothel <[email protected]> | 2021-11-08 01:48:29 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-11-08 01:48:29 +0100 |
commit | b6fcd02611f70d755c4424716fc7c4586846c092 (patch) | |
tree | a63d601cbc4c04630854ee4e13ec9e69bab1119f /java/jni | |
parent | 297fbcf0376522cd38ce919aa324e28cf7f5dcc2 (diff) |
BTDevice.java: Align API functions to C++: getServices() -> getGattServices(); connect() -> connectDefault()
Diffstat (limited to 'java/jni')
-rw-r--r-- | java/jni/direct_bt/DBTDevice.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jni/direct_bt/DBTDevice.cxx b/java/jni/direct_bt/DBTDevice.cxx index 73d26a2d..472e3bfe 100644 --- a/java/jni/direct_bt/DBTDevice.cxx +++ b/java/jni/direct_bt/DBTDevice.cxx @@ -855,7 +855,7 @@ jbyte Java_jau_direct_1bt_DBTDevice_setPairingNumericComparisonImpl(JNIEnv *env, static const std::string _serviceClazzCtorArgs("(JLjau/direct_bt/DBTDevice;ZLjava/lang/String;SS)V"); -jobject Java_jau_direct_1bt_DBTDevice_getServicesImpl(JNIEnv *env, jobject obj) { +jobject Java_jau_direct_1bt_DBTDevice_getGattServicesImpl(JNIEnv *env, jobject obj) { try { BTDevice *device = getJavaUplinkObject<BTDevice>(env, obj); JavaGlobalObj::check(device->getJavaObject(), E_FILE_LINE); |