ble_mesh: stack: add send transaction ack befor provisioner send prov failed msg

This commit is contained in:
luoxu 2022-12-30 16:15:37 +08:00 committed by BOT
parent 34841a97a5
commit 8f5c5a3972

View File

@ -2871,6 +2871,12 @@ static void prov_msg_recv(const uint8_t idx)
return;
fail:
/**
* FOR the case MESH/PVNR/PROV/BV-10-C and MESH/PVNR/PROV/BI-14-C
* Provisioner should send transaction ack before closing the link
*/
gen_prov_ack_send(idx, link[idx].rx.trans_id);
close_link(idx, CLOSE_REASON_FAILED);
return;
}