diff options
author | Sven Gothel <[email protected]> | 2020-05-24 20:24:46 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-05-24 20:24:46 +0200 |
commit | 0b5d5f2f594ba4566b9cdba6a73aebb4c626cf3a (patch) | |
tree | 19019d1459c5f189f5c2103348007f0e0cce1c24 /java | |
parent | 461c54a3212f003cbb5f9a0afaeef5fb80a9f57e (diff) |
Fix listener notice for discovering and connection (enabled and add connected)
Diffstat (limited to 'java')
-rw-r--r-- | java/jni/direct_bt/DBTAdapter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/jni/direct_bt/DBTAdapter.cxx b/java/jni/direct_bt/DBTAdapter.cxx index 6945e72c..390c4839 100644 --- a/java/jni/direct_bt/DBTAdapter.cxx +++ b/java/jni/direct_bt/DBTAdapter.cxx @@ -220,7 +220,7 @@ class JNIAdapterStatusListener : public AdapterStatusListener { JNIEnv *env = *jni_env; try { #ifdef VERBOSE_ON - fprintf(stderr, "****** DBTAdapter Device DISCOVERING: enable %d, keepAlive %d: %s\n", enabled, keepAlive, a.toString().c_str()); + fprintf(stderr, "****** DBTAdapter Device DISCOVERING: enabled %d, keepAlive %d: %s\n", enabled, keepAlive, a.toString().c_str()); fprintf(stderr, "Status DBTAdapter:\n"); fprintf(stderr, "%s\n", device->getAdapter().toString().c_str()); #endif @@ -295,7 +295,7 @@ class JNIAdapterStatusListener : public AdapterStatusListener { JNIEnv *env = *jni_env; try { #ifdef VERBOSE_ON - fprintf(stderr, "****** DBTAdapter Device CONNECTION: %d: %s\n", connected, device->toString().c_str()); + fprintf(stderr, "****** DBTAdapter Device CONNECTION: connected %d: %s\n", connected, device->toString().c_str()); fprintf(stderr, "Status DBTAdapter:\n"); fprintf(stderr, "%s\n", device->getAdapter().toString().c_str()); #endif |