From: Prathyusha N <prathyusha.n@xxxxxxxxxxx> Send input complete when user completes input operation. --- mesh/prov-acceptor.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mesh/prov-acceptor.c b/mesh/prov-acceptor.c index 03972c227..20a2ce4be 100644 --- a/mesh/prov-acceptor.c +++ b/mesh/prov-acceptor.c @@ -272,6 +272,12 @@ static void static_cb(void *user_data, int err, uint8_t *key, uint32_t len) memcpy(prov->rand_auth_workspace + 16, key, 16); memcpy(prov->rand_auth_workspace + 32, key, 16); prov->material |= MAT_RAND_AUTH; + + if (prov->conf_inputs.start.auth_action == + PROV_ACTION_IN_ALPHA) { + msg.opcode = PROV_INP_CMPLT; + prov->trans_tx(prov->trans_data, &msg.opcode, 1); + } } static void priv_key_cb(void *user_data, int err, uint8_t *key, uint32_t len) -- 2.17.1