summaryrefslogtreecommitdiff
path: root/lib/bluetooth.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-04-29 13:16:56 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-05-18 14:16:28 +0300
commitbf370f3bd6b00af545cb6f3d5a9b8e37a3642d3f (patch)
tree8741f52b8e0f9bfd2c1024c4fb4a9ff97235e6a8 /lib/bluetooth.h
parent8357f17deb7a52f071ce612528f73159954f26ca (diff)
downloadbluez-bf370f3bd6b00af545cb6f3d5a9b8e37a3642d3f.tar.gz
doc/gatt-api: Add secure flags
This add secure-{read,write} which shall be used by servers that want to restrict attribute access to secure connection only (BT_SECURITY_FIPS)
Diffstat (limited to 'lib/bluetooth.h')
-rw-r--r--lib/bluetooth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bluetooth.h b/lib/bluetooth.h
index 852a6b23a..eb279260e 100644
--- a/lib/bluetooth.h
+++ b/lib/bluetooth.h
@@ -69,6 +69,7 @@ struct bt_security {
#define BT_SECURITY_LOW 1
#define BT_SECURITY_MEDIUM 2
#define BT_SECURITY_HIGH 3
+#define BT_SECURITY_FIPS 4
#define BT_DEFER_SETUP 7