Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
|
#include "jau_direct_bt_DBTDevice.h"
#include "org_direct_bt_BTGattCharListener.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 "direct_bt/BTGattService.hpp"
Go to the source code of this file.
Classes | |
class | JNIGattCharListener |
Functions | |
static const std::string | _indicationReceivedMethodArgs ("(Lorg/direct_bt/BTGattChar;[BJZ)V") |
static const std::string | _notificationReceivedMethodArgs ("(Lorg/direct_bt/BTGattChar;[BJ)V") |
static const std::string | _serviceClazzCtorArgs ("(JLjau/direct_bt/DBTDevice;ZLjava/lang/String;SS)V") |
jboolean | Java_jau_direct_1bt_DBTDevice_addCharListenerImpl (JNIEnv *env, jobject obj, jobject jlistener, jobject jAssociatedCharacteristic) |
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) |
void | Java_jau_direct_1bt_DBTDevice_deleteImpl (JNIEnv *env, jobject obj, jlong nativeInstance) |
jbyte | Java_jau_direct_1bt_DBTDevice_disconnectImpl (JNIEnv *env, jobject obj) |
jbyteArray | Java_jau_direct_1bt_DBTDevice_getAddressImpl (JNIEnv *env, jobject obj) |
jbyte | Java_jau_direct_1bt_DBTDevice_getAddressTypeImpl (JNIEnv *env, jobject obj) |
jbyte | Java_jau_direct_1bt_DBTDevice_getAvailableSMPKeysImpl (JNIEnv *env, jobject obj, jboolean responder) |
jbyte | Java_jau_direct_1bt_DBTDevice_getConnectedLE_1PHYImpl (JNIEnv *env, jobject obj, jbyteArray jresTx, jbyteArray jresRx) |
jbyte | Java_jau_direct_1bt_DBTDevice_getConnIOCapabilityImpl (JNIEnv *env, jobject obj) |
jbyte | Java_jau_direct_1bt_DBTDevice_getConnSecurityLevelImpl (JNIEnv *env, jobject obj) |
void | Java_jau_direct_1bt_DBTDevice_getEIRImpl (JNIEnv *env, jobject obj, jobject jeir_sink) |
void | Java_jau_direct_1bt_DBTDevice_getEIRIndImpl (JNIEnv *env, jobject obj, jobject jeir_sink) |
void | Java_jau_direct_1bt_DBTDevice_getEIRScanRspImpl (JNIEnv *env, jobject obj, jobject jeir_sink) |
jobject | Java_jau_direct_1bt_DBTDevice_getGattServicesImpl (JNIEnv *env, jobject obj) |
void | Java_jau_direct_1bt_DBTDevice_getIdentityResolvingKeyImpl (JNIEnv *env, jobject obj, jboolean responder, jbyteArray jsink) |
void | Java_jau_direct_1bt_DBTDevice_getLinkKeyImpl (JNIEnv *env, jobject obj, jboolean responder, jbyteArray jsink) |
void | Java_jau_direct_1bt_DBTDevice_getLongTermKeyImpl (JNIEnv *env, jobject obj, jboolean responder, jbyteArray jsink) |
jstring | Java_jau_direct_1bt_DBTDevice_getNameImpl (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) |
jint | Java_jau_direct_1bt_DBTDevice_getResponderSMPPassKey (JNIEnv *env, jobject obj) |
jbyte | Java_jau_direct_1bt_DBTDevice_getRoleImpl (JNIEnv *env, jobject obj) |
jshort | Java_jau_direct_1bt_DBTDevice_getRSSI (JNIEnv *env, jobject obj) |
jbyte | Java_jau_direct_1bt_DBTDevice_getRxPhysImpl (JNIEnv *env, jobject obj) |
void | Java_jau_direct_1bt_DBTDevice_getSignatureResolvingKeyImpl (JNIEnv *env, jobject obj, jboolean responder, jbyteArray jsink) |
jbyte | Java_jau_direct_1bt_DBTDevice_getTxPhysImpl (JNIEnv *env, jobject obj) |
jshort | Java_jau_direct_1bt_DBTDevice_getTxPower (JNIEnv *env, jobject obj) |
void | Java_jau_direct_1bt_DBTDevice_initImpl (JNIEnv *env, jobject obj) |
jboolean | Java_jau_direct_1bt_DBTDevice_isConnSecurityAutoEnabled (JNIEnv *env, jobject obj) |
jboolean | Java_jau_direct_1bt_DBTDevice_isPrePaired (JNIEnv *env, jobject obj) |
jboolean | Java_jau_direct_1bt_DBTDevice_pingGATTImpl (JNIEnv *env, jobject obj) |
jint | Java_jau_direct_1bt_DBTDevice_removeAllAssociatedCharListener (JNIEnv *env, jobject obj, jobject jAssociatedCharacteristic) |
jint | Java_jau_direct_1bt_DBTDevice_removeAllCharListener (JNIEnv *env, jobject obj) |
jboolean | Java_jau_direct_1bt_DBTDevice_removeCharListener (JNIEnv *env, jobject obj, jobject jlistener) |
jboolean | Java_jau_direct_1bt_DBTDevice_removeImpl (JNIEnv *env, jobject obj) |
jboolean | Java_jau_direct_1bt_DBTDevice_sendIndication (JNIEnv *env, jobject obj, jshort char_value_handle, jbyteArray jval) |
jboolean | Java_jau_direct_1bt_DBTDevice_sendNotification (JNIEnv *env, jobject obj, jshort char_value_handle, jbyteArray jval) |
jbyte | Java_jau_direct_1bt_DBTDevice_setConnectedLE_1PHYImpl (JNIEnv *env, jobject obj, jbyte jTx, jbyte jRx) |
jboolean | Java_jau_direct_1bt_DBTDevice_setConnSecurityAutoImpl (JNIEnv *env, jobject obj, jbyte jio_cap) |
jboolean | Java_jau_direct_1bt_DBTDevice_setConnSecurityImpl (JNIEnv *env, jobject obj, jbyte jsec_level, jbyte jio_cap) |
void | Java_jau_direct_1bt_DBTDevice_setIdentityResolvingKeyImpl (JNIEnv *env, jobject obj, jbyteArray jsource) |
void | Java_jau_direct_1bt_DBTDevice_setLinkKeyImpl (JNIEnv *env, jobject obj, jbyteArray jsource) |
void | Java_jau_direct_1bt_DBTDevice_setLongTermKeyImpl (JNIEnv *env, jobject obj, jbyteArray jsource) |
jbyte | Java_jau_direct_1bt_DBTDevice_setPairingNumericComparisonImpl (JNIEnv *env, jobject obj, jboolean jequal) |
jbyte | Java_jau_direct_1bt_DBTDevice_setPairingPasskeyImpl (JNIEnv *env, jobject obj, jint jpasskey) |
jbyte | Java_jau_direct_1bt_DBTDevice_setPairingPasskeyNegativeImpl (JNIEnv *env, jobject obj) |
void | Java_jau_direct_1bt_DBTDevice_setSignatureResolvingKeyImpl (JNIEnv *env, jobject obj, jbyteArray jsource) |
jstring | Java_jau_direct_1bt_DBTDevice_toStringImpl (JNIEnv *env, jobject obj) |
jbyte | Java_jau_direct_1bt_DBTDevice_unpairImpl (JNIEnv *env, jobject obj) |
jbyte | Java_jau_direct_1bt_DBTDevice_uploadKeysImpl (JNIEnv *env, jobject obj) |
jlong | Java_org_direct_1bt_BTGattCharListener_ctorImpl (JNIEnv *env, jobject obj) |
void | Java_org_direct_1bt_BTGattCharListener_deleteImpl (JNIEnv *env, jobject obj, jlong nativeInstance) |
|
static |
|
static |
jlong Java_org_direct_1bt_BTGattCharListener_ctorImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 130 of file DBTDevice.cxx.
void Java_org_direct_1bt_BTGattCharListener_deleteImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jlong | nativeInstance | ||
) |
Definition at line 148 of file DBTDevice.cxx.
void Java_jau_direct_1bt_DBTDevice_deleteImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jlong | nativeInstance | ||
) |
Definition at line 161 of file DBTDevice.cxx.
void Java_jau_direct_1bt_DBTDevice_initImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 183 of file DBTDevice.cxx.
jstring Java_jau_direct_1bt_DBTDevice_getNameImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 194 of file DBTDevice.cxx.
jstring Java_jau_direct_1bt_DBTDevice_toStringImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 206 of file DBTDevice.cxx.
jbyteArray Java_jau_direct_1bt_DBTDevice_getAddressImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 218 of file DBTDevice.cxx.
jbyte Java_jau_direct_1bt_DBTDevice_getAddressTypeImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 233 of file DBTDevice.cxx.
jboolean Java_jau_direct_1bt_DBTDevice_addCharListenerImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jobject | jlistener, | ||
jobject | jAssociatedCharacteristic | ||
) |
Definition at line 250 of file DBTDevice.cxx.
jboolean Java_jau_direct_1bt_DBTDevice_removeCharListener | ( | JNIEnv * | env, |
jobject | obj, | ||
jobject | jlistener | ||
) |
Definition at line 287 of file DBTDevice.cxx.
jint Java_jau_direct_1bt_DBTDevice_removeAllAssociatedCharListener | ( | JNIEnv * | env, |
jobject | obj, | ||
jobject | jAssociatedCharacteristic | ||
) |
Definition at line 319 of file DBTDevice.cxx.
jint Java_jau_direct_1bt_DBTDevice_removeAllCharListener | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 347 of file DBTDevice.cxx.
jbyte Java_jau_direct_1bt_DBTDevice_getRoleImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 370 of file DBTDevice.cxx.
jbyte Java_jau_direct_1bt_DBTDevice_getConnectedLE_1PHYImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jbyteArray | jresTx, | ||
jbyteArray | jresRx | ||
) |
Definition at line 383 of file DBTDevice.cxx.
jbyte Java_jau_direct_1bt_DBTDevice_setConnectedLE_1PHYImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jbyte | jTx, | ||
jbyte | jRx | ||
) |
Definition at line 427 of file DBTDevice.cxx.
jbyte Java_jau_direct_1bt_DBTDevice_getTxPhysImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 444 of file DBTDevice.cxx.
jbyte Java_jau_direct_1bt_DBTDevice_getRxPhysImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 457 of file DBTDevice.cxx.
jbyte Java_jau_direct_1bt_DBTDevice_disconnectImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 470 of file DBTDevice.cxx.
jboolean Java_jau_direct_1bt_DBTDevice_isPrePaired | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 483 of file DBTDevice.cxx.
jint Java_jau_direct_1bt_DBTDevice_getResponderSMPPassKey | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 496 of file DBTDevice.cxx.
jboolean Java_jau_direct_1bt_DBTDevice_removeImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 509 of file DBTDevice.cxx.
jbyte Java_jau_direct_1bt_DBTDevice_connectDefaultImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 522 of file DBTDevice.cxx.
jbyte Java_jau_direct_1bt_DBTDevice_connectLEImpl0 | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 535 of file DBTDevice.cxx.
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 549 of file DBTDevice.cxx.
jbyte Java_jau_direct_1bt_DBTDevice_getAvailableSMPKeysImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jboolean | responder | ||
) |
Definition at line 566 of file DBTDevice.cxx.
jbyte Java_jau_direct_1bt_DBTDevice_uploadKeysImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 579 of file DBTDevice.cxx.
void Java_jau_direct_1bt_DBTDevice_getLongTermKeyImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jboolean | responder, | ||
jbyteArray | jsink | ||
) |
Definition at line 592 of file DBTDevice.cxx.
void Java_jau_direct_1bt_DBTDevice_setLongTermKeyImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jbyteArray | jsource | ||
) |
Definition at line 617 of file DBTDevice.cxx.
void Java_jau_direct_1bt_DBTDevice_getIdentityResolvingKeyImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jboolean | responder, | ||
jbyteArray | jsink | ||
) |
Definition at line 643 of file DBTDevice.cxx.
void Java_jau_direct_1bt_DBTDevice_setIdentityResolvingKeyImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jbyteArray | jsource | ||
) |
Definition at line 668 of file DBTDevice.cxx.
void Java_jau_direct_1bt_DBTDevice_getSignatureResolvingKeyImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jboolean | responder, | ||
jbyteArray | jsink | ||
) |
Definition at line 694 of file DBTDevice.cxx.
void Java_jau_direct_1bt_DBTDevice_setSignatureResolvingKeyImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jbyteArray | jsource | ||
) |
Definition at line 719 of file DBTDevice.cxx.
void Java_jau_direct_1bt_DBTDevice_getLinkKeyImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jboolean | responder, | ||
jbyteArray | jsink | ||
) |
Definition at line 745 of file DBTDevice.cxx.
void Java_jau_direct_1bt_DBTDevice_setLinkKeyImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jbyteArray | jsource | ||
) |
Definition at line 770 of file DBTDevice.cxx.
jbyte Java_jau_direct_1bt_DBTDevice_unpairImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 796 of file DBTDevice.cxx.
jbyte Java_jau_direct_1bt_DBTDevice_getConnSecurityLevelImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 809 of file DBTDevice.cxx.
jbyte Java_jau_direct_1bt_DBTDevice_getConnIOCapabilityImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 822 of file DBTDevice.cxx.
jboolean Java_jau_direct_1bt_DBTDevice_setConnSecurityImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jbyte | jsec_level, | ||
jbyte | jio_cap | ||
) |
Definition at line 835 of file DBTDevice.cxx.
jboolean Java_jau_direct_1bt_DBTDevice_setConnSecurityAutoImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jbyte | jio_cap | ||
) |
Definition at line 849 of file DBTDevice.cxx.
jboolean Java_jau_direct_1bt_DBTDevice_isConnSecurityAutoEnabled | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 862 of file DBTDevice.cxx.
jbyte Java_jau_direct_1bt_DBTDevice_getPairingModeImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 875 of file DBTDevice.cxx.
jbyte Java_jau_direct_1bt_DBTDevice_getPairingStateImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 888 of file DBTDevice.cxx.
jbyte Java_jau_direct_1bt_DBTDevice_setPairingPasskeyImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jint | jpasskey | ||
) |
Definition at line 901 of file DBTDevice.cxx.
jbyte Java_jau_direct_1bt_DBTDevice_setPairingPasskeyNegativeImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 914 of file DBTDevice.cxx.
jbyte Java_jau_direct_1bt_DBTDevice_setPairingNumericComparisonImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jboolean | jequal | ||
) |
Definition at line 927 of file DBTDevice.cxx.
|
static |
jobject Java_jau_direct_1bt_DBTDevice_getGattServicesImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 946 of file DBTDevice.cxx.
jboolean Java_jau_direct_1bt_DBTDevice_sendNotification | ( | JNIEnv * | env, |
jobject | obj, | ||
jshort | char_value_handle, | ||
jbyteArray | jval | ||
) |
Definition at line 994 of file DBTDevice.cxx.
jboolean Java_jau_direct_1bt_DBTDevice_sendIndication | ( | JNIEnv * | env, |
jobject | obj, | ||
jshort | char_value_handle, | ||
jbyteArray | jval | ||
) |
Definition at line 1020 of file DBTDevice.cxx.
jboolean Java_jau_direct_1bt_DBTDevice_pingGATTImpl | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 1046 of file DBTDevice.cxx.
jshort Java_jau_direct_1bt_DBTDevice_getRSSI | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 1060 of file DBTDevice.cxx.
void Java_jau_direct_1bt_DBTDevice_getEIRImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jobject | jeir_sink | ||
) |
Definition at line 1073 of file DBTDevice.cxx.
void Java_jau_direct_1bt_DBTDevice_getEIRIndImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jobject | jeir_sink | ||
) |
Definition at line 1089 of file DBTDevice.cxx.
void Java_jau_direct_1bt_DBTDevice_getEIRScanRspImpl | ( | JNIEnv * | env, |
jobject | obj, | ||
jobject | jeir_sink | ||
) |
Definition at line 1105 of file DBTDevice.cxx.
jshort Java_jau_direct_1bt_DBTDevice_getTxPower | ( | JNIEnv * | env, |
jobject | obj | ||
) |
Definition at line 1121 of file DBTDevice.cxx.