Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Classes | Functions
DBGattServer.cxx File Reference
#include "org_direct_bt_DBGattDesc.h"
#include "org_direct_bt_DBGattChar.h"
#include "org_direct_bt_DBGattService.h"
#include "org_direct_bt_DBGattServer.h"
#include "org_direct_bt_DBGattServer_Listener.h"
#include <jau/debug.hpp>
#include "helper_base.hpp"
#include "helper_dbt.hpp"
#include "direct_bt/BTDevice.hpp"
#include "direct_bt/DBGattServer.hpp"
Include dependency graph for DBGattServer.cxx:

Go to the source code of this file.

Classes

class  JNIDBGattServerListener
 DBGattServer.Listener and related DBGattServer methods. More...
 

Functions

static jobject _createDBGattValueFromChar (JNIEnv *env_, jclass clazz, jmethodID clazz_ctor, const DBGattCharRef &valueHolder)
 
static jobject _createDBGattValueFromDesc (JNIEnv *env_, jclass clazz, jmethodID clazz_ctor, const DBGattDescRef &valueHolder)
 
static const std::string _dbGattValueClazzCtorArgs ("([BIZ)V")
 
static const std::string _dbGattValueClazzName ("org/direct_bt/DBGattValue")
 DBGattValue. More...
 
void Java_org_direct_1bt_DBGattChar_bzero (JNIEnv *env, jobject obj)
 
jlong Java_org_direct_1bt_DBGattChar_ctorImpl (JNIEnv *env, jobject obj, jstring jtype_, jbyte jproperties, jlongArray jDescriptors, jbyteArray jvalue_, jint jcapacity_, jboolean jvariable_length_)
 private native long ctorImpl(final String type, final byte properties, final long[] descriptors, final byte[] value, final int capacity, boolean variable_length); More...
 
void Java_org_direct_1bt_DBGattChar_dtorImpl (JNIEnv *env, jclass clazz, jlong nativeInstance)
 
jshort Java_org_direct_1bt_DBGattChar_getEndHandle (JNIEnv *env, jobject obj)
 
jshort Java_org_direct_1bt_DBGattChar_getHandle (JNIEnv *env, jobject obj)
 
jobject Java_org_direct_1bt_DBGattChar_getValue (JNIEnv *env, jobject obj)
 DBGattChar. More...
 
jshort Java_org_direct_1bt_DBGattChar_getValueHandle (JNIEnv *env, jobject obj)
 
jboolean Java_org_direct_1bt_DBGattChar_setValue (JNIEnv *env, jobject obj, jbyteArray jsource, jint jsource_pos, jint jsource_len, jint jdest_pos)
 
jstring Java_org_direct_1bt_DBGattChar_toString (JNIEnv *env, jobject obj)
 
void Java_org_direct_1bt_DBGattDesc_bzero (JNIEnv *env, jobject obj)
 
jlong Java_org_direct_1bt_DBGattDesc_ctorImpl (JNIEnv *env, jobject obj, jstring jtype_, jbyteArray jvalue_, jint jcapacity_, jboolean jvariable_length_)
 private native long ctorImpl(final String type, final byte[] value, final int capacity, boolean variable_length); More...
 
void Java_org_direct_1bt_DBGattDesc_dtorImpl (JNIEnv *env, jclass clazz, jlong nativeInstance)
 
jshort Java_org_direct_1bt_DBGattDesc_getHandle (JNIEnv *env, jobject obj)
 
jobject Java_org_direct_1bt_DBGattDesc_getValue (JNIEnv *env, jobject obj)
 DBGattDesc. More...
 
jboolean Java_org_direct_1bt_DBGattDesc_setValue (JNIEnv *env, jobject obj, jbyteArray jsource, jint jsource_pos, jint jsource_len, jint jdest_pos)
 
jstring Java_org_direct_1bt_DBGattDesc_toString (JNIEnv *env, jobject obj)
 
jlong Java_org_direct_1bt_DBGattServer_00024Listener_ctorImpl (JNIEnv *env, jobject obj)
 
void Java_org_direct_1bt_DBGattServer_00024Listener_dtorImpl (JNIEnv *env, jclass clazz, jlong nativeInstance)
 
jboolean Java_org_direct_1bt_DBGattServer_addListenerImpl (JNIEnv *env, jobject obj, jobject jlistener)
 
jlong Java_org_direct_1bt_DBGattServer_ctorImpl (JNIEnv *env, jobject obj, jint jmax_att_mtu, jlongArray jService)
 DBGattServer. More...
 
void Java_org_direct_1bt_DBGattServer_dtorImpl (JNIEnv *env, jclass clazz, jlong nativeInstance)
 
jint Java_org_direct_1bt_DBGattServer_getMaxAttMTU (JNIEnv *env, jobject obj)
 
jboolean Java_org_direct_1bt_DBGattServer_removeListenerImpl (JNIEnv *env, jobject obj, jobject jlistener)
 
void Java_org_direct_1bt_DBGattServer_setMaxAttMTU (JNIEnv *env, jobject obj, jint v)
 
jstring Java_org_direct_1bt_DBGattServer_toString (JNIEnv *env, jobject obj)
 
jlong Java_org_direct_1bt_DBGattService_ctorImpl (JNIEnv *env, jobject obj, jboolean jprimary, jstring jtype_, jlongArray jCharacteristics)
 DBGattService. More...
 
void Java_org_direct_1bt_DBGattService_dtorImpl (JNIEnv *env, jclass clazz, jlong nativeInstance)
 
jshort Java_org_direct_1bt_DBGattService_getEndHandle (JNIEnv *env, jobject obj)
 
jshort Java_org_direct_1bt_DBGattService_getHandle (JNIEnv *env, jobject obj)
 
jstring Java_org_direct_1bt_DBGattService_toString (JNIEnv *env, jobject obj)
 

Function Documentation

◆ _dbGattValueClazzName()

static const std::string _dbGattValueClazzName ( "org/direct_bt/DBGattValue"  )
static

DBGattValue.

Here is the caller graph for this function:

◆ _dbGattValueClazzCtorArgs()

static const std::string _dbGattValueClazzCtorArgs ( "([BIZ)V"  )
static
Here is the caller graph for this function:

◆ _createDBGattValueFromDesc()

static jobject _createDBGattValueFromDesc ( JNIEnv *  env_,
jclass  clazz,
jmethodID  clazz_ctor,
const DBGattDescRef valueHolder 
)
static

Definition at line 55 of file DBGattServer.cxx.

Here is the caller graph for this function:

◆ _createDBGattValueFromChar()

static jobject _createDBGattValueFromChar ( JNIEnv *  env_,
jclass  clazz,
jmethodID  clazz_ctor,
const DBGattCharRef valueHolder 
)
static

Definition at line 69 of file DBGattServer.cxx.

Here is the caller graph for this function:

◆ Java_org_direct_1bt_DBGattDesc_getValue()

jobject Java_org_direct_1bt_DBGattDesc_getValue ( JNIEnv *  env,
jobject  obj 
)

DBGattDesc.

Definition at line 89 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattDesc_setValue()

jboolean Java_org_direct_1bt_DBGattDesc_setValue ( JNIEnv *  env,
jobject  obj,
jbyteArray  jsource,
jint  jsource_pos,
jint  jsource_len,
jint  jdest_pos 
)

Definition at line 100 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattDesc_ctorImpl()

jlong Java_org_direct_1bt_DBGattDesc_ctorImpl ( JNIEnv *  env,
jobject  obj,
jstring  jtype_,
jbyteArray  jvalue_,
jint  jcapacity_,
jboolean  jvariable_length_ 
)

private native long ctorImpl(final String type, final byte[] value, final int capacity, boolean variable_length);

Definition at line 133 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattDesc_dtorImpl()

void Java_org_direct_1bt_DBGattDesc_dtorImpl ( JNIEnv *  env,
jclass  clazz,
jlong  nativeInstance 
)

Definition at line 170 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattDesc_getHandle()

jshort Java_org_direct_1bt_DBGattDesc_getHandle ( JNIEnv *  env,
jobject  obj 
)

Definition at line 188 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattDesc_bzero()

void Java_org_direct_1bt_DBGattDesc_bzero ( JNIEnv *  env,
jobject  obj 
)

Definition at line 200 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattDesc_toString()

jstring Java_org_direct_1bt_DBGattDesc_toString ( JNIEnv *  env,
jobject  obj 
)

Definition at line 210 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattChar_getValue()

jobject Java_org_direct_1bt_DBGattChar_getValue ( JNIEnv *  env,
jobject  obj 
)

DBGattChar.

Definition at line 227 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattChar_setValue()

jboolean Java_org_direct_1bt_DBGattChar_setValue ( JNIEnv *  env,
jobject  obj,
jbyteArray  jsource,
jint  jsource_pos,
jint  jsource_len,
jint  jdest_pos 
)

Definition at line 238 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattChar_ctorImpl()

jlong Java_org_direct_1bt_DBGattChar_ctorImpl ( JNIEnv *  env,
jobject  obj,
jstring  jtype_,
jbyte  jproperties,
jlongArray  jDescriptors,
jbyteArray  jvalue_,
jint  jcapacity_,
jboolean  jvariable_length_ 
)

private native long ctorImpl(final String type, final byte properties, final long[] descriptors, final byte[] value, final int capacity, boolean variable_length);

Definition at line 272 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattChar_dtorImpl()

void Java_org_direct_1bt_DBGattChar_dtorImpl ( JNIEnv *  env,
jclass  clazz,
jlong  nativeInstance 
)

Definition at line 333 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattChar_getHandle()

jshort Java_org_direct_1bt_DBGattChar_getHandle ( JNIEnv *  env,
jobject  obj 
)

Definition at line 351 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattChar_getEndHandle()

jshort Java_org_direct_1bt_DBGattChar_getEndHandle ( JNIEnv *  env,
jobject  obj 
)

Definition at line 362 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattChar_getValueHandle()

jshort Java_org_direct_1bt_DBGattChar_getValueHandle ( JNIEnv *  env,
jobject  obj 
)

Definition at line 373 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattChar_bzero()

void Java_org_direct_1bt_DBGattChar_bzero ( JNIEnv *  env,
jobject  obj 
)

Definition at line 385 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattChar_toString()

jstring Java_org_direct_1bt_DBGattChar_toString ( JNIEnv *  env,
jobject  obj 
)

Definition at line 395 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattService_ctorImpl()

jlong Java_org_direct_1bt_DBGattService_ctorImpl ( JNIEnv *  env,
jobject  obj,
jboolean  jprimary,
jstring  jtype_,
jlongArray  jCharacteristics 
)

DBGattService.

private native long ctorImpl(final boolean primary, final String type, final long[] characteristics);

Definition at line 415 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattService_dtorImpl()

void Java_org_direct_1bt_DBGattService_dtorImpl ( JNIEnv *  env,
jclass  clazz,
jlong  nativeInstance 
)

Definition at line 456 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattService_getHandle()

jshort Java_org_direct_1bt_DBGattService_getHandle ( JNIEnv *  env,
jobject  obj 
)

Definition at line 474 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattService_getEndHandle()

jshort Java_org_direct_1bt_DBGattService_getEndHandle ( JNIEnv *  env,
jobject  obj 
)

Definition at line 485 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattService_toString()

jstring Java_org_direct_1bt_DBGattService_toString ( JNIEnv *  env,
jobject  obj 
)

Definition at line 496 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattServer_ctorImpl()

jlong Java_org_direct_1bt_DBGattServer_ctorImpl ( JNIEnv *  env,
jobject  obj,
jint  jmax_att_mtu,
jlongArray  jService 
)

DBGattServer.

private native long ctorImpl(final int max_att_mtu, final long[] services);

Definition at line 515 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattServer_dtorImpl()

void Java_org_direct_1bt_DBGattServer_dtorImpl ( JNIEnv *  env,
jclass  clazz,
jlong  nativeInstance 
)

Definition at line 552 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattServer_getMaxAttMTU()

jint Java_org_direct_1bt_DBGattServer_getMaxAttMTU ( JNIEnv *  env,
jobject  obj 
)

Definition at line 570 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattServer_setMaxAttMTU()

void Java_org_direct_1bt_DBGattServer_setMaxAttMTU ( JNIEnv *  env,
jobject  obj,
jint  v 
)

Definition at line 581 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattServer_toString()

jstring Java_org_direct_1bt_DBGattServer_toString ( JNIEnv *  env,
jobject  obj 
)

Definition at line 591 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattServer_addListenerImpl()

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

Definition at line 760 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattServer_removeListenerImpl()

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

Definition at line 777 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattServer_00024Listener_ctorImpl()

jlong Java_org_direct_1bt_DBGattServer_00024Listener_ctorImpl ( JNIEnv *  env,
jobject  obj 
)

Definition at line 795 of file DBGattServer.cxx.

◆ Java_org_direct_1bt_DBGattServer_00024Listener_dtorImpl()

void Java_org_direct_1bt_DBGattServer_00024Listener_dtorImpl ( JNIEnv *  env,
jclass  clazz,
jlong  nativeInstance 
)

Definition at line 813 of file DBGattServer.cxx.