summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-11-10 04:06:49 +0100
committerSven Gothel <[email protected]>2020-11-10 04:06:49 +0100
commit749c37cdff0675f77a5e6872d56fce69a4b586a5 (patch)
treea9ca6bdb01ebb17c9314b4e3a5eb1bc914348199 /api
parent012d373d55052857456bfd073cf0568eb260968a (diff)
BTIoctl.hpp: Add API doc for BT_SECURITY_* macro values
Diffstat (limited to 'api')
-rw-r--r--api/direct_bt/BTIoctl.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/api/direct_bt/BTIoctl.hpp b/api/direct_bt/BTIoctl.hpp
index e877cca5..27f9e196 100644
--- a/api/direct_bt/BTIoctl.hpp
+++ b/api/direct_bt/BTIoctl.hpp
@@ -120,10 +120,15 @@ struct bt_security {
__u8 level;
__u8 key_size;
};
+/** Only for BR/EDR special cases, like SDP */
#define BT_SECURITY_SDP 0
+/** No encryption and no authentication. */
#define BT_SECURITY_LOW 1
+/** Encryption and no authentication (no MITM). */
#define BT_SECURITY_MEDIUM 2
+/** Encryption and authentication (MITM). */
#define BT_SECURITY_HIGH 3
+/** Authenticated Secure Connections */
#define BT_SECURITY_FIPS 4
#define BT_DEFER_SETUP 7