aboutsummaryrefslogtreecommitdiffstats
path: root/api/direct_bt
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-10-10 05:16:05 +0200
committerSven Gothel <[email protected]>2021-10-10 05:16:05 +0200
commit57819d5aa74d6ab6e93e570f2c67c781f52f186d (patch)
tree3d3608edb22fbba0c67185c6d3a8c9a483eee397 /api/direct_bt
parent9a816f9747ea178f1db7dff56a92fe5d42676017 (diff)
Prelim add DBGatt[Server, Service, Char, Desc] Java classes (WIP)
Diffstat (limited to 'api/direct_bt')
-rw-r--r--api/direct_bt/DBGattServer.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/api/direct_bt/DBGattServer.hpp b/api/direct_bt/DBGattServer.hpp
index 20f85eb1..08802d3f 100644
--- a/api/direct_bt/DBGattServer.hpp
+++ b/api/direct_bt/DBGattServer.hpp
@@ -332,7 +332,7 @@ namespace direct_bt {
: services(initlist)
{ }
- DBGattService* findService(const jau::uuid_t& type) noexcept {
+ DBGattService* findGattService(const jau::uuid_t& type) noexcept {
for(DBGattService& s : services) {
if( type.equivalent( *s.type ) ) {
return &s;
@@ -341,7 +341,7 @@ namespace direct_bt {
return nullptr;
}
DBGattChar* findGattChar(const jau::uuid_t& service_uuid, const jau::uuid_t& char_uuid) noexcept {
- DBGattService* service = findService(service_uuid);
+ DBGattService* service = findGattService(service_uuid);
if( nullptr == service ) {
return nullptr;
}
@@ -349,7 +349,7 @@ namespace direct_bt {
}
bool addService(DBGattService& s) noexcept {
- if( nullptr != findService(*s.type) ) {
+ if( nullptr != findGattService(*s.type) ) {
// already shared
return false;
}