diff options
author | Sven Gothel <[email protected]> | 2021-11-08 11:40:20 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-11-08 11:40:20 +0100 |
commit | 3812a3373a38891e3f02e0e3351e221a4fb36092 (patch) | |
tree | 904f07bf7e85975c83f5f75c8256235eb4dc3ade /api | |
parent | 42b768bd938394426463bc8b3e2d71ebb4b79b67 (diff) |
DBGattServer::Listener: Fix API doc
Diffstat (limited to 'api')
-rw-r--r-- | api/direct_bt/DBGattServer.hpp | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/api/direct_bt/DBGattServer.hpp b/api/direct_bt/DBGattServer.hpp index 231707b2..b98e17d1 100644 --- a/api/direct_bt/DBGattServer.hpp +++ b/api/direct_bt/DBGattServer.hpp @@ -511,9 +511,8 @@ namespace direct_bt { * * Convenient user entry, allowing to setup resources. * - * @param device - * @param initialMTU - * @return + * @param device the connected device + * @param initialMTU initial used minimum MTU until negotiated. */ virtual void connected(std::shared_ptr<BTDevice> device, const uint16_t initialMTU) = 0; @@ -522,19 +521,15 @@ namespace direct_bt { * * Convenient user entry, allowing to clean up resources. * - * @param device - * @return + * @param device the disconnected device. */ virtual void disconnected(std::shared_ptr<BTDevice> device) = 0; /** - * Notification that device got connected. + * Notification that the MTU has changed. * - * Convenient user entry, allowing to setup resources. - * - * @param device - * @param mtu - * @return + * @param device the device for which the MTU has changed + * @param mtu the new negotiated MTU */ virtual void mtuChanged(std::shared_ptr<BTDevice> device, const uint16_t mtu) = 0; |