From 749c37cdff0675f77a5e6872d56fce69a4b586a5 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 10 Nov 2020 04:06:49 +0100 Subject: BTIoctl.hpp: Add API doc for BT_SECURITY_* macro values --- api/direct_bt/BTIoctl.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'api') 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 -- cgit v1.2.3