diff options
author | Sven Gothel <[email protected]> | 2020-05-11 06:22:30 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-05-11 06:22:30 +0200 |
commit | c542adbf2bb50b39e859a91d1515ee593ccc7671 (patch) | |
tree | 338791b558a20cbbc285f69f7e31dd51d2c2df3d /java/jni | |
parent | 68710f85d7e5dbcb4ba7afbba026a576ef274c8b (diff) |
GATT: GATTPrimaryService -> GATTServiceDecl (-> GATTTypes.hpp) ; Add JavaUplink base to GATTCharacterisicsDecl + GATTServiceDecl
Diffstat (limited to 'java/jni')
-rw-r--r-- | java/jni/direct_bt/DBTDevice.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jni/direct_bt/DBTDevice.cxx b/java/jni/direct_bt/DBTDevice.cxx index d0d4c4a1..1ea3e016 100644 --- a/java/jni/direct_bt/DBTDevice.cxx +++ b/java/jni/direct_bt/DBTDevice.cxx @@ -100,7 +100,7 @@ jboolean Java_direct_1bt_tinyb_DBTDevice_connectImpl(JNIEnv *env, jobject obj) std::shared_ptr<GATTHandler> gatt = device->connectGATT(); if( nullptr != gatt ) { // FIXME: Split up - may offload to other thread - std::vector<GATTPrimaryServiceRef> & primServices = gatt->discoverCompletePrimaryServices(); + std::vector<GATTServiceDeclRef> & primServices = gatt->discoverCompletePrimaryServices(); std::shared_ptr<GenericAccess> ga = gatt->getGenericAccess(primServices); if( nullptr != ga ) { |