Bluetooth: Mesh: Add prov input_complete cb
Allows the user to pass a provisioning input complete callback to the provisioning module, letting the application stop displaying its output OOB value when the other party finishes their OOB input. Signed-off-by: Trond Einar Snekvik <Trond.Einar.Snekvik@nordicsemi.no>
This commit is contained in:
parent
fddd786dfe
commit
c91d0646a6
2 changed files with 21 additions and 0 deletions
|
@ -128,6 +128,14 @@ struct bt_mesh_prov {
|
|||
*/
|
||||
int (*input)(bt_mesh_input_action_t act, u8_t size);
|
||||
|
||||
/** @brief The other device finished their OOB input.
|
||||
*
|
||||
* This callback notifies the application that it should stop
|
||||
* displaying its output OOB value, as the other party finished their
|
||||
* OOB input.
|
||||
*/
|
||||
void (*input_complete)(void);
|
||||
|
||||
/** @brief Provisioning link has been opened.
|
||||
*
|
||||
* This callback notifies the application that a provisioning
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue