summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-11-21 10:09:53 +0100
committerSven Gothel <[email protected]>2020-11-21 10:09:53 +0100
commit711137c549ea55547e6daa773c020d95acb77015 (patch)
tree809c41e7f8b89fed7155b4831088663014bada68 /api
parent844e84fb4ecdc069f34910280911ebfb82c1d591 (diff)
BTSecurityLevel: Refine API doc
Diffstat (limited to 'api')
-rw-r--r--api/direct_bt/BTTypes.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/api/direct_bt/BTTypes.hpp b/api/direct_bt/BTTypes.hpp
index 09ca7683..f788bdd5 100644
--- a/api/direct_bt/BTTypes.hpp
+++ b/api/direct_bt/BTTypes.hpp
@@ -116,15 +116,15 @@ namespace direct_bt {
* </p>
*/
enum class BTSecurityLevel : uint8_t {
- /** Security Level not set. */
+ /** Security Level not set, value 0. */
UNSET = 0,
- /** No encryption and no authentication. Also known as BT_SECURITY_LOW 1. */
+ /** No encryption and no authentication. Also known as BT_SECURITY_LOW, value 1. */
NONE = 1,
- /** Encryption and no authentication (no MITM). Also known as BT_SECURITY_MEDIUM 2. */
+ /** Encryption and no authentication (no MITM). Also known as BT_SECURITY_MEDIUM, value 2. */
ENC_ONLY = 2,
- /** Encryption and authentication (MITM). Also known as BT_SECURITY_HIGH 3. */
+ /** Encryption and authentication (MITM). Also known as BT_SECURITY_HIGH, value 3. */
ENC_AUTH = 3,
- /** Authenticated Secure Connections. Also known as BT_SECURITY_FIPS 4. */
+ /** Authenticated Secure Connections. Also known as BT_SECURITY_FIPS, value 4. */
ENC_AUTH_FIPS = 4
};
constexpr uint8_t number(const BTSecurityLevel rhs) noexcept {