From 34f9eab8a3a155b5d5f7fb5a66417166ecc5abbf Mon Sep 17 00:00:00 2001 From: "matthias.ringwald@gmail.com" Date: Thu, 16 Jan 2014 18:18:58 +0000 Subject: [PATCH] list gap security rqeuirements --- src/gap.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/gap.h b/src/gap.h index e8356ea77..1837b8b9c 100644 --- a/src/gap.h +++ b/src/gap.h @@ -68,6 +68,13 @@ typedef enum { LEVEL_4, } gap_security_level_t; +typedef enum { + GAP_SECURITY_NONE, + GAP_SECUIRTY_ENCRYPTED, // SSP: JUST WORKS + GAP_SECURITY_AUTHENTICATED, // SSP: numeric comparison, passkey, OOB + // GAP_SECURITY_AUTHORIZED +} gap_security_requirement_t; + /** * @bbrief enable/disable bonding. default is enabled * @praram enabled