aboutsummaryrefslogtreecommitdiffstats
path: root/api/direct_bt/BTAdapter.hpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-09-18 23:10:34 +0200
committerSven Gothel <[email protected]>2021-09-18 23:10:34 +0200
commitfd721097ccfc230b05f632442ea134dde25f5cdd (patch)
tree31fceeb4f32a81db77d428dedbf1012a8a39e016 /api/direct_bt/BTAdapter.hpp
parent86f86941640214a70f90e6411850137d48c15d79 (diff)
Bump README; Link BTAdapter::isInitialize() in API-doc
Diffstat (limited to 'api/direct_bt/BTAdapter.hpp')
-rw-r--r--api/direct_bt/BTAdapter.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/api/direct_bt/BTAdapter.hpp b/api/direct_bt/BTAdapter.hpp
index 0247beca..99c7dca4 100644
--- a/api/direct_bt/BTAdapter.hpp
+++ b/api/direct_bt/BTAdapter.hpp
@@ -591,6 +591,7 @@ namespace direct_bt {
* </p>
* @param value true will power on this adapter, otherwise this adapter will be powered-off.
* @return true for success
+ * @see isInitialized()
* @see close()
* @see initialize()
*/
@@ -609,6 +610,7 @@ namespace direct_bt {
* </p>
* @param btMode the desired adapter's BTMode, defaults to BTMode::DUAL
* @return HCIStatusCode::SUCCESS or an error state
+ * @see isInitialized()
* @see close()
* @see setPowered()
* @since 2.4.0
@@ -619,6 +621,9 @@ namespace direct_bt {
* Returns true, if this adapter has already been initialize() 'ed. Otherwise false.
*
* This helps avoiding re-initializing, if not so desired.
+ *
+ * @see initialize()
+ * @since 2.4.0
*/
bool isInitialized() const noexcept { return adapter_initialized.load(); }