aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-05-24 20:24:46 +0200
committerSven Gothel <[email protected]>2020-05-24 20:24:46 +0200
commit0b5d5f2f594ba4566b9cdba6a73aebb4c626cf3a (patch)
tree19019d1459c5f189f5c2103348007f0e0cce1c24 /java
parent461c54a3212f003cbb5f9a0afaeef5fb80a9f57e (diff)
Fix listener notice for discovering and connection (enabled and add connected)
Diffstat (limited to 'java')
-rw-r--r--java/jni/direct_bt/DBTAdapter.cxx4
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