summaryrefslogtreecommitdiff
path: root/mesh/prov.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2017-09-13 11:28:44 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2017-09-14 11:22:24 +0300
commita446569b866591ba071564e9222eef6453edfc05 (patch)
tree0914857c54cd141b38e3e7dcc97a8a4b39753896 /mesh/prov.h
parent9e009647b14e810e06626dde7f1bb9ea3c375d09 (diff)
downloadbluez-a446569b866591ba071564e9222eef6453edfc05.tar.gz
mesh: Add 'security' command
This adds 'security' command which can be used to display and change the provision security level: [meshctl]# security Provision Security Level set to 1 (medium) [meshctl]# security 2 Provision Security Level set to 2 (high) Note: This doesn't change the default which is still medium.
Diffstat (limited to 'mesh/prov.h')
-rw-r--r--mesh/prov.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesh/prov.h b/mesh/prov.h
index 94ce7a1b5..2587df8fb 100644
--- a/mesh/prov.h
+++ b/mesh/prov.h
@@ -29,3 +29,5 @@ bool prov_open(struct mesh_node *node, GDBusProxy *prov_in, uint16_t net_idx,
provision_done_cb cb, void *user_data);
bool prov_data_ready(struct mesh_node *node, uint8_t *buf, uint8_t len);
bool prov_complete(struct mesh_node *node, uint8_t status);
+bool prov_set_sec_level(uint8_t level);
+uint8_t prov_get_sec_level(void);