summaryrefslogtreecommitdiff
path: root/mesh/agent.h
diff options
context:
space:
mode:
authorBrian Gix <brian.gix@intel.com>2019-11-15 14:52:09 -0800
committerBrian Gix <brian.gix@intel.com>2019-11-19 15:22:18 -0800
commit4853937eddf0b6dd66e73a69ce2a6c241a5f74fa (patch)
tree373b8db35b9ccce1830540e2f7404674812caf7e /mesh/agent.h
parent53a81750db14187e80e378a11c21a9b6240ac9c9 (diff)
downloadbluez-4853937eddf0b6dd66e73a69ce2a6c241a5f74fa.tar.gz
mesh: Fix inOOB and outOOB agent handling on prov initiate
This code fixes the Provisioner Initiator role so that the following Out-of-Band agent calls are made correctly, and their results handled properly: "push", "twist", "blink", "beep", "vibrate", "in-numeric", "out-numeric", "in-alpha", "out-alpha"
Diffstat (limited to 'mesh/agent.h')
-rw-r--r--mesh/agent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesh/agent.h b/mesh/agent.h
index 0a499d2d5..80333acd5 100644
--- a/mesh/agent.h
+++ b/mesh/agent.h
@@ -54,8 +54,8 @@ int mesh_agent_display_number(struct mesh_agent *agent, bool initiator,
int mesh_agent_prompt_number(struct mesh_agent *agent, bool initiator,
uint8_t action, mesh_agent_number_cb_t cb,
void *user_data);
-int mesh_agent_prompt_alpha(struct mesh_agent *agent, mesh_agent_key_cb_t cb,
- void *user_data);
+int mesh_agent_prompt_alpha(struct mesh_agent *agent, bool initiator,
+ mesh_agent_key_cb_t cb, void *user_data);
int mesh_agent_request_static(struct mesh_agent *agent, mesh_agent_key_cb_t cb,
void *user_data);
int mesh_agent_request_private_key(struct mesh_agent *agent,