aboutsummaryrefslogtreecommitdiffstats
path: root/java/jni
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-10-10 04:58:44 +0200
committerSven Gothel <[email protected]>2021-10-10 04:58:44 +0200
commit9a816f9747ea178f1db7dff56a92fe5d42676017 (patch)
tree66216d7e1da5fed9647da2ae42bbb6432af11570 /java/jni
parent5dbcb526dc47723b584317e60cf0343beb84d626 (diff)
DBGattServer.hpp: Add and use DBGattServer, a complete list of Gatt Service objects for the Gatt Server database
Diffstat (limited to 'java/jni')
-rw-r--r--java/jni/direct_bt/DBTAdapter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jni/direct_bt/DBTAdapter.cxx b/java/jni/direct_bt/DBTAdapter.cxx
index 11710f7c..09c8f666 100644
--- a/java/jni/direct_bt/DBTAdapter.cxx
+++ b/java/jni/direct_bt/DBTAdapter.cxx
@@ -1055,7 +1055,7 @@ jbyte Java_jau_direct_1bt_DBTAdapter_startAdvertisingImpl(JNIEnv *env, jobject o
BTAdapter *adapter = jau::getJavaUplinkObject<BTAdapter>(env, obj);
jau::JavaGlobalObj::check(adapter->getJavaObject(), E_FILE_LINE);
const AD_PDU_Type adv_type = static_cast<AD_PDU_Type>(jadv_type);
- HCIStatusCode res = adapter->startAdvertising(adv_interval_min, adv_interval_max, adv_type, adv_chan_map, filter_policy);
+ HCIStatusCode res = adapter->startAdvertising(nullptr /* FIXME */, adv_interval_min, adv_interval_max, adv_type, adv_chan_map, filter_policy);
return (jbyte) number(res);
} catch(...) {
rethrow_and_raise_java_exception(env);