diff options
author | Sven Gothel <[email protected]> | 2020-09-18 23:56:47 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-09-18 23:56:47 +0200 |
commit | caee23100e294bb8e716966941e128305e3dc6a8 (patch) | |
tree | c2154e4ddfff9cd66a88fc01d30475dcb0bd1bfa /api | |
parent | 55f384a73bf6872cd10ed7bd2355c33bb22eb268 (diff) |
DBTDevice: pingGATT and getGATTServices handle exceptions, hence mark both 'noexcept'
Diffstat (limited to 'api')
-rw-r--r-- | api/direct_bt/DBTDevice.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/direct_bt/DBTDevice.hpp b/api/direct_bt/DBTDevice.hpp index 0f0cb695..af7b94f3 100644 --- a/api/direct_bt/DBTDevice.hpp +++ b/api/direct_bt/DBTDevice.hpp @@ -374,7 +374,7 @@ namespace direct_bt { * In case no GATT connection has been established it will be created via connectGATT(). * </p> */ - std::vector<std::shared_ptr<GATTService>> getGATTServices(); + std::vector<std::shared_ptr<GATTService>> getGATTServices() noexcept; /** * Returns the matching GATTService for the given uuid. @@ -402,7 +402,7 @@ namespace direct_bt { * </p> * @return {@code true} if successful, otherwise false in case no GATT services exists or is not connected .. etc. */ - bool pingGATT(); + bool pingGATT() noexcept; /** * Add the given GATTCharacteristicListener to the listener list if not already present. |