remove constants from the enumeration of SecurityMode_t
This commit is contained in:
parent
8eba398fd8
commit
6580e463c0
1 changed files with 6 additions and 5 deletions
11
public/Gap.h
11
public/Gap.h
|
@ -65,11 +65,12 @@ public:
|
|||
} ConnectionParams_t;
|
||||
|
||||
enum SecurityMode_t {
|
||||
SECURITY_MODE_ENCRYPTION_OPEN_LINK = 0x00, /**< Set security mode to require no protection, open link. */
|
||||
SECURITY_MODE_ENCRYPTION_NO_MITM = 0x01, /**< Set security mode to require encryption, but no MITM protection. */
|
||||
SECURITY_MODE_ENCRYPTION_WITH_MITM = 0x02, /**< Set security mode to require encryption and MITM protection. */
|
||||
SECURITY_MODE_SIGNED_NO_MITM = 0x04, /**< Set security mode to require signing or encryption, but no MITM protection. */
|
||||
SECURITY_MODE_SIGNED_WITH_MITM = 0x08, /**< Set security mode to require signing or encryption, and MITM protection. */
|
||||
SECURITY_MODE_NO_ACCESS,
|
||||
SECURITY_MODE_ENCRYPTION_OPEN_LINK, /**< Set security mode to require no protection, open link. */
|
||||
SECURITY_MODE_ENCRYPTION_NO_MITM, /**< Set security mode to require encryption, but no MITM protection. */
|
||||
SECURITY_MODE_ENCRYPTION_WITH_MITM, /**< Set security mode to require encryption and MITM protection. */
|
||||
SECURITY_MODE_SIGNED_NO_MITM, /**< Set security mode to require signing or encryption, but no MITM protection. */
|
||||
SECURITY_MODE_SIGNED_WITH_MITM, /**< Set security mode to require signing or encryption, and MITM protection. */
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue