summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-01-02 17:11:21 +0100
committerSven Gothel <[email protected]>2022-01-02 17:11:21 +0100
commitc051c0ff64d42b671140b266f4fd8cc4405e31a9 (patch)
treee9670d9288af37191594f60de408d5c2a270396d
parent4dcfab02f67f97de111f8817086431d083fe45a7 (diff)
ATTPDUTypes.hpp: Fix double ';;' and API doc of AttElementList::setElementCount() and AttFindInfoRsp ctor
-rw-r--r--api/direct_bt/ATTPDUTypes.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/api/direct_bt/ATTPDUTypes.hpp b/api/direct_bt/ATTPDUTypes.hpp
index ed4a6211..9b26e257 100644
--- a/api/direct_bt/ATTPDUTypes.hpp
+++ b/api/direct_bt/ATTPDUTypes.hpp
@@ -947,7 +947,7 @@ namespace direct_bt {
protected:
std::string valueString() const noexcept override {
- return "handle "+jau::to_hexstring(getHandle())+", data "+view.toString();;
+ return "handle "+jau::to_hexstring(getHandle())+", data "+view.toString();
}
};
@@ -1024,7 +1024,7 @@ namespace direct_bt {
protected:
std::string valueString() const noexcept override {
- return "handle "+jau::to_hexstring(getHandle())+", data "+view.toString();;
+ return "handle "+jau::to_hexstring(getHandle())+", data "+view.toString();
}
};
@@ -1094,7 +1094,7 @@ namespace direct_bt {
protected:
std::string valueString() const noexcept override {
- return "handle "+jau::to_hexstring(getHandle())+", offset "+std::to_string(getValueOffset())+", data "+view.toString();;
+ return "handle "+jau::to_hexstring(getHandle())+", offset "+std::to_string(getValueOffset())+", data "+view.toString();
}
};
@@ -1313,8 +1313,7 @@ namespace direct_bt {
}
/**
- * Fixate element length and element count
- * @param element_length
+ * Fixate element count
* @param count
*/
void setElementCount(const jau::nsize_t count) {
@@ -1817,7 +1816,7 @@ namespace direct_bt {
* Create an incomplete response with maximal (MTU) length.
*
* User shall set all elements via the set*() methods
- * and finally use setElementSize() to fixate element length and element count.
+ * and finally use setElementSize() to fixate element length and setElementCount() to set element count.
*
* @param total_length maximum
*/
@@ -1859,7 +1858,8 @@ namespace direct_bt {
", uuid "+e.uuid.get()->toString();
}
};
-}
+
+} // namespace direct_bt
/** \example dbt_scanner10.cpp
* This _dbt_scanner10_ C++ scanner ::BTRole::Master example uses the Direct-BT fully event driven workflow