aboutsummaryrefslogtreecommitdiffstats
path: root/api/direct_bt/GATTHandler.hpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-09-24 16:55:29 +0200
committerSven Gothel <[email protected]>2020-09-24 16:55:29 +0200
commita173e5203ed7dcc183a84c7af888afec3656c267 (patch)
treecd5fbf49612d7cd898322ae4070fd1abdf7087ee /api/direct_bt/GATTHandler.hpp
parent148c4a901c1d69e47364ba78465e25386be5cf97 (diff)
GATTNumbers: Concluding review: API doc, better naming, have optional data and erroneous missing data handle nicely (no crash)
Diffstat (limited to 'api/direct_bt/GATTHandler.hpp')
-rw-r--r--api/direct_bt/GATTHandler.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/api/direct_bt/GATTHandler.hpp b/api/direct_bt/GATTHandler.hpp
index b9c76d86..87412f7b 100644
--- a/api/direct_bt/GATTHandler.hpp
+++ b/api/direct_bt/GATTHandler.hpp
@@ -504,11 +504,11 @@ namespace direct_bt {
/** Higher level semantic functionality **/
/*****************************************************/
- std::shared_ptr<GenericAccess> getGenericAccess(std::vector<GATTServiceRef> & primServices);
- std::shared_ptr<GenericAccess> getGenericAccess(std::vector<GATTCharacteristicRef> & genericAccessCharDeclList);
+ std::shared_ptr<GattGenericAccessSvc> getGenericAccess(std::vector<GATTServiceRef> & primServices);
+ std::shared_ptr<GattGenericAccessSvc> getGenericAccess(std::vector<GATTCharacteristicRef> & genericAccessCharDeclList);
- std::shared_ptr<DeviceInformation> getDeviceInformation(std::vector<GATTServiceRef> & primServices);
- std::shared_ptr<DeviceInformation> getDeviceInformation(std::vector<GATTCharacteristicRef> & deviceInfoCharDeclList);
+ std::shared_ptr<GattDeviceInformationSvc> getDeviceInformation(std::vector<GATTServiceRef> & primServices);
+ std::shared_ptr<GattDeviceInformationSvc> getDeviceInformation(std::vector<GATTCharacteristicRef> & deviceInfoCharDeclList);
/**
* Issues a ping to the device, validating whether it is still reachable.