Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Classes | Functions
DBTDevice.cxx File Reference
#include "jau_direct_bt_DBTDevice.h"
#include <jau/debug.hpp>
#include "helper_base.hpp"
#include "helper_dbt.hpp"
#include "direct_bt/BTDevice.hpp"
#include "direct_bt/BTAdapter.hpp"
#include "direct_bt/BTManager.hpp"
Include dependency graph for DBTDevice.cxx:

Go to the source code of this file.

Classes

class  JNIGattCharListener
 

Functions

static const std::string _notificationReceivedMethodArgs ("(Lorg/direct_bt/BTGattChar;[BJ)V")
 
static const std::string _indicationReceivedMethodArgs ("(Lorg/direct_bt/BTGattChar;[BJZ)V")
 
void Java_jau_direct_1bt_DBTDevice_initImpl (JNIEnv *env, jobject obj)
 
jstring Java_jau_direct_1bt_DBTDevice_getNameImpl (JNIEnv *env, jobject obj)
 
jstring Java_jau_direct_1bt_DBTDevice_toStringImpl (JNIEnv *env, jobject obj)
 
jboolean Java_jau_direct_1bt_DBTDevice_addCharListener (JNIEnv *env, jobject obj, jobject listener, jobject jAssociatedCharacteristic)
 
jboolean Java_jau_direct_1bt_DBTDevice_removeCharListener (JNIEnv *env, jobject obj, jobject jlistener)
 
jint Java_jau_direct_1bt_DBTDevice_removeAllAssociatedCharListener (JNIEnv *env, jobject obj, jobject jAssociatedCharacteristic)
 
jint Java_jau_direct_1bt_DBTDevice_removeAllCharListener (JNIEnv *env, jobject obj)
 
void Java_jau_direct_1bt_DBTDevice_deleteImpl (JNIEnv *env, jobject obj, jlong nativeInstance)
 
jbyte Java_jau_direct_1bt_DBTDevice_disconnectImpl (JNIEnv *env, jobject obj)
 
jboolean Java_jau_direct_1bt_DBTDevice_removeImpl (JNIEnv *env, jobject obj)
 
jbyte Java_jau_direct_1bt_DBTDevice_connectDefaultImpl (JNIEnv *env, jobject obj)
 
jbyte Java_jau_direct_1bt_DBTDevice_connectLEImpl0 (JNIEnv *env, jobject obj)
 
jbyte Java_jau_direct_1bt_DBTDevice_connectLEImpl1 (JNIEnv *env, jobject obj, jshort interval, jshort window, jshort min_interval, jshort max_interval, jshort latency, jshort timeout)
 
jbyte Java_jau_direct_1bt_DBTDevice_getAvailableSMPKeysImpl (JNIEnv *env, jobject obj, jboolean responder)
 
void Java_jau_direct_1bt_DBTDevice_getLongTermKeyInfoImpl (JNIEnv *env, jobject obj, jboolean responder, jbyteArray jsink)
 
jbyte Java_jau_direct_1bt_DBTDevice_setLongTermKeyInfoImpl (JNIEnv *env, jobject obj, jbyteArray jsource)
 
void Java_jau_direct_1bt_DBTDevice_getSignatureResolvingKeyInfoImpl (JNIEnv *env, jobject obj, jboolean responder, jbyteArray jsink)
 
jbyte Java_jau_direct_1bt_DBTDevice_unpairImpl (JNIEnv *env, jobject obj)
 
jboolean Java_jau_direct_1bt_DBTDevice_setConnSecurityLevelImpl (JNIEnv *env, jobject obj, jbyte jsec_level)
 
jbyte Java_jau_direct_1bt_DBTDevice_getConnSecurityLevelImpl (JNIEnv *env, jobject obj)
 
jboolean Java_jau_direct_1bt_DBTDevice_setConnIOCapabilityImpl (JNIEnv *env, jobject obj, jbyte jio_cap)
 
jboolean Java_jau_direct_1bt_DBTDevice_setConnSecurityImpl (JNIEnv *env, jobject obj, jbyte jsec_level, jbyte jio_cap)
 
jbyte Java_jau_direct_1bt_DBTDevice_getConnIOCapabilityImpl (JNIEnv *env, jobject obj)
 
jbyte Java_jau_direct_1bt_DBTDevice_getPairingModeImpl (JNIEnv *env, jobject obj)
 
jbyte Java_jau_direct_1bt_DBTDevice_getPairingStateImpl (JNIEnv *env, jobject obj)
 
jboolean Java_jau_direct_1bt_DBTDevice_setConnSecurityAutoImpl (JNIEnv *env, jobject obj, jbyte jio_cap)
 
jboolean Java_jau_direct_1bt_DBTDevice_isConnSecurityAutoEnabled (JNIEnv *env, jobject obj)
 
jbyte Java_jau_direct_1bt_DBTDevice_setPairingPasskeyImpl (JNIEnv *env, jobject obj, jint jpasskey)
 
jbyte Java_jau_direct_1bt_DBTDevice_setPairingPasskeyNegativeImpl (JNIEnv *env, jobject obj)
 
jbyte Java_jau_direct_1bt_DBTDevice_setPairingNumericComparisonImpl (JNIEnv *env, jobject obj, jboolean jequal)
 
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)
 
jboolean Java_jau_direct_1bt_DBTDevice_pingGATTImpl (JNIEnv *env, jobject obj)
 
jshort Java_jau_direct_1bt_DBTDevice_getRSSI (JNIEnv *env, jobject obj)
 
jobject Java_jau_direct_1bt_DBTDevice_getManufacturerData (JNIEnv *env, jobject obj)
 
jshort Java_jau_direct_1bt_DBTDevice_getTxPower (JNIEnv *env, jobject obj)
 

Function Documentation

◆ _indicationReceivedMethodArgs()

static const std::string _indicationReceivedMethodArgs ( "(Lorg/direct_bt/BTGattChar;[BJZ)V"  )
static
Here is the caller graph for this function:

◆ _notificationReceivedMethodArgs()

static const std::string _notificationReceivedMethodArgs ( "(Lorg/direct_bt/BTGattChar;[BJ)V"  )
static
Here is the caller graph for this function:

◆ _serviceClazzCtorArgs()

static const std::string _serviceClazzCtorArgs ( "(JLjau/direct_bt/DBTDevice;ZLjava/lang/String;SS)V"  )
static
Here is the caller graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_addCharListener()

jboolean Java_jau_direct_1bt_DBTDevice_addCharListener ( JNIEnv *  env,
jobject  obj,
jobject  listener,
jobject  jAssociatedCharacteristic 
)

Definition at line 178 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_connectDefaultImpl()

jbyte Java_jau_direct_1bt_DBTDevice_connectDefaultImpl ( JNIEnv *  env,
jobject  obj 
)

Definition at line 340 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_connectLEImpl0()

jbyte Java_jau_direct_1bt_DBTDevice_connectLEImpl0 ( JNIEnv *  env,
jobject  obj 
)

Definition at line 352 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_connectLEImpl1()

jbyte Java_jau_direct_1bt_DBTDevice_connectLEImpl1 ( JNIEnv *  env,
jobject  obj,
jshort  interval,
jshort  window,
jshort  min_interval,
jshort  max_interval,
jshort  latency,
jshort  timeout 
)

Definition at line 365 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_deleteImpl()

void Java_jau_direct_1bt_DBTDevice_deleteImpl ( JNIEnv *  env,
jobject  obj,
jlong  nativeInstance 
)

Definition at line 302 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_disconnectImpl()

jbyte Java_jau_direct_1bt_DBTDevice_disconnectImpl ( JNIEnv *  env,
jobject  obj 
)

Definition at line 316 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_getAvailableSMPKeysImpl()

jbyte Java_jau_direct_1bt_DBTDevice_getAvailableSMPKeysImpl ( JNIEnv *  env,
jobject  obj,
jboolean  responder 
)

Definition at line 381 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_getConnIOCapabilityImpl()

jbyte Java_jau_direct_1bt_DBTDevice_getConnIOCapabilityImpl ( JNIEnv *  env,
jobject  obj 
)

Definition at line 529 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_getConnSecurityLevelImpl()

jbyte Java_jau_direct_1bt_DBTDevice_getConnSecurityLevelImpl ( JNIEnv *  env,
jobject  obj 
)

Definition at line 492 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_getLongTermKeyInfoImpl()

void Java_jau_direct_1bt_DBTDevice_getLongTermKeyInfoImpl ( JNIEnv *  env,
jobject  obj,
jboolean  responder,
jbyteArray  jsink 
)

Definition at line 393 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_getManufacturerData()

jobject Java_jau_direct_1bt_DBTDevice_getManufacturerData ( JNIEnv *  env,
jobject  obj 
)

Definition at line 704 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_getNameImpl()

jstring Java_jau_direct_1bt_DBTDevice_getNameImpl ( JNIEnv *  env,
jobject  obj 
)

Definition at line 156 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_getPairingModeImpl()

jbyte Java_jau_direct_1bt_DBTDevice_getPairingModeImpl ( JNIEnv *  env,
jobject  obj 
)

Definition at line 541 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_getPairingStateImpl()

jbyte Java_jau_direct_1bt_DBTDevice_getPairingStateImpl ( JNIEnv *  env,
jobject  obj 
)

Definition at line 553 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_getRSSI()

jshort Java_jau_direct_1bt_DBTDevice_getRSSI ( JNIEnv *  env,
jobject  obj 
)

Definition at line 692 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_getServicesImpl()

jobject Java_jau_direct_1bt_DBTDevice_getServicesImpl ( JNIEnv *  env,
jobject  obj 
)

Definition at line 631 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_getSignatureResolvingKeyInfoImpl()

void Java_jau_direct_1bt_DBTDevice_getSignatureResolvingKeyInfoImpl ( JNIEnv *  env,
jobject  obj,
jboolean  responder,
jbyteArray  jsink 
)

Definition at line 444 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_getTxPower()

jshort Java_jau_direct_1bt_DBTDevice_getTxPower ( JNIEnv *  env,
jobject  obj 
)

Definition at line 741 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_initImpl()

void Java_jau_direct_1bt_DBTDevice_initImpl ( JNIEnv *  env,
jobject  obj 
)

Definition at line 146 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_isConnSecurityAutoEnabled()

jboolean Java_jau_direct_1bt_DBTDevice_isConnSecurityAutoEnabled ( JNIEnv *  env,
jobject  obj 
)

Definition at line 577 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_pingGATTImpl()

jboolean Java_jau_direct_1bt_DBTDevice_pingGATTImpl ( JNIEnv *  env,
jobject  obj 
)

Definition at line 679 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_removeAllAssociatedCharListener()

jint Java_jau_direct_1bt_DBTDevice_removeAllAssociatedCharListener ( JNIEnv *  env,
jobject  obj,
jobject  jAssociatedCharacteristic 
)

Definition at line 253 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_removeAllCharListener()

jint Java_jau_direct_1bt_DBTDevice_removeAllCharListener ( JNIEnv *  env,
jobject  obj 
)

Definition at line 281 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_removeCharListener()

jboolean Java_jau_direct_1bt_DBTDevice_removeCharListener ( JNIEnv *  env,
jobject  obj,
jobject  jlistener 
)

Definition at line 216 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_removeImpl()

jboolean Java_jau_direct_1bt_DBTDevice_removeImpl ( JNIEnv *  env,
jobject  obj 
)

Definition at line 328 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_setConnIOCapabilityImpl()

jboolean Java_jau_direct_1bt_DBTDevice_setConnIOCapabilityImpl ( JNIEnv *  env,
jobject  obj,
jbyte  jio_cap 
)

Definition at line 504 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_setConnSecurityAutoImpl()

jboolean Java_jau_direct_1bt_DBTDevice_setConnSecurityAutoImpl ( JNIEnv *  env,
jobject  obj,
jbyte  jio_cap 
)

Definition at line 565 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_setConnSecurityImpl()

jboolean Java_jau_direct_1bt_DBTDevice_setConnSecurityImpl ( JNIEnv *  env,
jobject  obj,
jbyte  jsec_level,
jbyte  jio_cap 
)

Definition at line 516 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_setConnSecurityLevelImpl()

jboolean Java_jau_direct_1bt_DBTDevice_setConnSecurityLevelImpl ( JNIEnv *  env,
jobject  obj,
jbyte  jsec_level 
)

Definition at line 480 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_setLongTermKeyInfoImpl()

jbyte Java_jau_direct_1bt_DBTDevice_setLongTermKeyInfoImpl ( JNIEnv *  env,
jobject  obj,
jbyteArray  jsource 
)

Definition at line 417 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_setPairingNumericComparisonImpl()

jbyte Java_jau_direct_1bt_DBTDevice_setPairingNumericComparisonImpl ( JNIEnv *  env,
jobject  obj,
jboolean  jequal 
)

Definition at line 613 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_setPairingPasskeyImpl()

jbyte Java_jau_direct_1bt_DBTDevice_setPairingPasskeyImpl ( JNIEnv *  env,
jobject  obj,
jint  jpasskey 
)

Definition at line 589 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_setPairingPasskeyNegativeImpl()

jbyte Java_jau_direct_1bt_DBTDevice_setPairingPasskeyNegativeImpl ( JNIEnv *  env,
jobject  obj 
)

Definition at line 601 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_toStringImpl()

jstring Java_jau_direct_1bt_DBTDevice_toStringImpl ( JNIEnv *  env,
jobject  obj 
)

Definition at line 167 of file DBTDevice.cxx.

Here is the call graph for this function:

◆ Java_jau_direct_1bt_DBTDevice_unpairImpl()

jbyte Java_jau_direct_1bt_DBTDevice_unpairImpl ( JNIEnv *  env,
jobject  obj 
)

Definition at line 468 of file DBTDevice.cxx.

Here is the call graph for this function: