mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ble_mesh: stack: add send transaction ack befor provisioner send prov failed msg
This commit is contained in:
parent
34841a97a5
commit
8f5c5a3972
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user